Freepbx 17, PJSIP and sipgate.co.uk

I found this post regarding freepbx, pjsip and sipgate:

I’ve been running with Freepbx 16 and the chan_sip driver for a while. Since chan_sip has now been depreciated I have attempted to convert this to pjsip a couple of times on the Freepbx 16 system and failed. As Freepbx 17 needs a fresh install, I spun up a new VM and followed the link above to try and get pjsip working. It didn’t initially, but after some playing around and debugging I’ve finally managed it and switched the old Freepbx 16 VM off.

I have two SIP trunks on the Freepbx VM - one to Sipgate and one to a legacy Cisco Callmanager. I need the inbound calls to go to Callmanager and this wasn’t working due to the DID that was presented. I was getting “1234567e0” and I couldn’t write an inbound route to catch the ‘e0’ part. Changing the ‘Contact User’ on the pjsip advanced page solved this for me. I think it effectively changes the register string to “1234567e0:[email protected]/1234567”.

These are the settings I am using:

Tab General:
TrunkName: sipgate.co.uk (or whatever you want to call it)
Outbound caller ID: e.g. “<441234123456>”
Tab pjsip Settings - General
Username: sipgate acount ID, e.g. “1234567e0”
Secret: sipgate account PW
SIP Server: sipgate.co.uk
SIP Server Port: 5060
Context: from-pstn (default)
Tab pjsip Settings - Advanced
DTMF Mode:RFC 4733
Expiration: 600
Contact User: sipgate accound ID, minus the last two characters, e.g. “1234567”
From User: sipgate acount ID, e.g. “1234567e0”

I hope this helps other people using sipgate.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.