Redhat Sangoma Linux release 7.5.1805 (Core)
14.0.13.23
I installed FreePBX on a VmWare server and registered our two Lifesize Icon 600 video conferencing units to it. I am able to make calls between the video conferencing units through the FreePBX server, but I am not able to receive anonymous, unauthenticated, calls.
I tested this by unregistering one of the units, removing the credentials, and trying to call the other unit. The call would fail without any ringing, and in the Asterisk logs I would see āauthentication failedā.
I do have āAllow Anonymous Inbound SIP Callsā and āAllow SIP Guestsā enabled.
I read some forum posts that indicated fixes involving a Chan SIP trunk, but Iām using Chan PJSIP, since my understanding is thatās the preferred protocol. I also read something about setting up trunks for each incoming number, is that what I need to do?
What is the right way to set these units up so that I can accept external calls from anonymous unauthenticated sources?
I feel like I must be missing something pretty simple, but I havenāt been able to solve my problem through documentation or old posts so far. Thanks in advance for the help.
Is the Lifesize unit still configured with the same username / caller ID information? If so, it is probably still matching the endpoint configured in FreePBX. You would have to remove that endpointās configuration from FreePBX (or change it in some way so that it cannot match) ā not just unregister and remove the credentials from the endpoint.
Allow SIP Guests with PJSIP sets up the anonymous endpoint which should allow calls from anywhere, as long as they donāt match some other identifier (see above). Allow Anonymous SIP Calls directs those calls to the Inbound Routes section of FreePBX. Itās not documented clearly, but extensions can be direct-dialed in this way also, without setting up explicit Inbound Routes for them.
I should have stated that I also changed the username/caller ID to an extension that doesnāt exist; āPotatoā.
Sounds like it should have worked. Maybe I needed to restart the Lifesize unit or something. Iāll give this another try and post the error if I get one.
I agree; it does not sound like a complicated setup. If youāre stuck, post Asterisk logs (/var/log/asterisk/full) and maybe SIP in a pastebin (http://pastebin.freepbx.org/) for help reviewing.
Iām not getting an authentication error, like I was seeing last time. This is the only thing that comes up in the asterisk logs when I try to dial from the āoutsideā video conferencing unit;
[2019-12-30 15:38:16] ERROR[17602] res_pjsip.c: Unable to retrieve PJSIP transport āudp,tcp,ws,wssā
Youāll see a endpoint registered on ā3ā, thatās just my cell phone (voip) that I put on there for giggles. The two video conferencing devices are usually on ā1ā and ā2ā.
On the asterisk console (asterisk -r from an ssh session) you can get more verbosity real-time by using core set verbose 9 and you can get SIP traces real-time with pjsip set logger on. Try these to see if you can get more insight.
Thatās a helpful tool for sure, unfortunately itās still not really telling me whatās going on. Presumably I broke something while trying to get this to work so I suppose Iāll reinstall the server from scratch and give it another go.
Before you tear it apart, I would like to call on expert @jcolp to comment on what that error might mean. That looks funny, as though it was a line from a chan_sip configuration that FreePBX attempted to apply to a pjsip configuration.
The ātransportā option in chan_sip specifies the technologies that are allowed. The option in chan_pjsip specifies an explicitly configured transport. It looks like FreePBX logic isnāt correct in that scenario when writing the configuration and is treating it as a chan_sip one.
I thought I just downloaded whatever image was on the site under āstable releasesā. It was a few weeks ago, maybe I clicked on the wrong thing.
Iāll go ahead and run updates instead of reinstalling, thanks for getting back to me!
I ran updates on the current version and that did fix the issue I was having, though FreePBX was just immediately hanging up on the caller. So instead of calling anonymously I added a trunk, since I didnāt really want to do anonymous calls anyway, I was just doing it for testing.
That worked, but now itās always connecting with āG.711 (µ-Law)ā instead H264, so Iām only getting audio, and I didnāt see any way to enable video codecs on a trunk. Is there some place to turn this on or am I approaching this the wrong way?
where āZoomā (a trunk I have setup with that video provider) would be replaced with the name of your trunk (āTrunk Nameā in the first tab of trunk settings).
Then run fwconsole r at the ssh command line to apply the setting.
Great! Iām 99% sure Iām up and running. The web console on my video conferencing units are saying theyāre connecting with H264 now, Iām just going to test with my eyes.
Thanks again for all the help!