Mirgrating a Trunk from chan_sip to pjsip

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,
Michael

For registration:

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

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.

He’s registering.

seen more than one example of a provider doing it wrong

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

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