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!