Mirgrating a Trunk from chan_sip to pjsip

(Mmgg) #1

I’m trying to migrate a SIP trunk to PJSIP and I’m having trouble getting incoming calls to work. On the legacy CHAN_SIP trunk there is an Incoming tab and I have a register string and a user context configured. The user context is the phone number I got from my provider and it makes the trunk appear as [XXXXXXX] in the sip.conf.

The PJSIP trunk doesn’t seem to have these options. What is the equivalent of these two settings in PJSIP?

Best regards,

(Simon Telephonics) #2

For registration:

You might need to put your phone number into the Contact User field in the Advanced tab.

(Jared Busch) #3

Also ports.

If you have both channel drivers enabled, my money is on your SIP provider still sending in on 5060 and you have PJSIP on 5160.

(Simon Telephonics) #4

He’s registering.

(Jared Busch) #5

seen more than one example of a provider doing it wrong

(Mmgg) #6

That was it! Turns out the legacy sip provider was also running. Thanks very much!

(system) closed #7

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