Quantcast
Channel: FreePBX Community Forums - Latest posts
Viewing all articles
Browse latest Browse all 227779

Chan_sip vs pjsip

$
0
0

I have been experimenting with pjsip on both freepbx 12 and 13 with various success and failure.

From the point of extensions there seems to be no difference, chan_sip and pjsip have worked well for me, the benefit of multiple end points on pjsip is useful.

As regards trunks I have had a lot more problems. I have a sipgate (UK Supplier) account setup with pjsip, it registers fine, will receive calls fine but refuses to let me dial out.

I have another trunk with orbtalk (UK Supplier) that requires an out bound proxy, that also registers fine with pjsip, calls can be made in and out but I only get audio in, no outbound audio on external calls.

My problems with these trunks remain as I haven’t had time to investigate further.

A trunk between two Freepbx 13 systems is working fine.

My biggest problem has been dealing with dynamic IP addresses. With chan_sip a change of IP at any location can quickly be recovered from with all trunks, service providers and internal links back up and working in less than five minutes without any need for user intervention.

However on pjsip this has proved a nightmare. Firstly the on pbx behind the IP change the pjsip channel collapses completely, no trunks are available and interestingly even pjsip extensions become unavailable and only recover after restarting the asterisk service.

Remote pbx’s only make a partial recovery, they update the dns name fine and can call into the pbx again on the new IP but fail to update the match field to allow calls from the new IP to come in. Interestingly I tried to set the match field to allow all IP’s and this caused the whole pjsip channel, all trunks and extensions to stop working. The match field only seems to update on an asterisk service restart.

One other strange thing I have noticed is I have two pbx’s (one and two) with a pjsip trunk working fine between them . A user at location one has a iPhone app that logs into a pjsip extension to check voice mail, this works fine from any location except location two when the registration is matched with the trunk “match” IP field, sent to the trunk not the extension to register and fails. With chan_sip this setup works fine, although a little inefficiently.

In general chan_sip seems a very robust and reliable technology that can recover easily from any network disturbance, pjsip quite the opposite, I really don’t look forward to the day when there is only one choice, and that is pjsip.

For now I have been forced to stick with chan_sip.


Viewing all articles
Browse latest Browse all 227779

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>