PJSIP and CHAN_SIP at the same time - Total failure

Got it. Anything else to look out for ? This is the exact steps i’ve been trying but before i was using 5060 for chan_sip and 5061 for chan_pjsip.

Like i said this is the oddity

[2018-01-02 22:32:22] NOTICE[6725]: res_pjsip/pjsip_distributor.c:649 log_failed_request: Request ‘SUBSCRIBE’ from ‘“6260” sip:[email protected]’ failed for ‘10.60.0.79:5060’ (callid: 953929b83c69ec43) - No matching endpoint found

Why is res_pjsip trying to take requests for port 5060? Thats the only thing wrong with this setup utilizing both chan_sip and pjsip simultaneously. I did change pjsip to 39123 as dicko suggested

Ok so last week got dedicated to another project but i am back at enabling chan_sip and chan_pjsip on this server.

Anyone else have any suggestions? The oddest thing of them all is that like i said a clone of that VM works just fine but again there ins’t 189 extensions trying to register to that server over chan_sip after enabing chan_pjsip. Asterisk should be seeing the reg port as 5060 and then it should be registering just fine but i’m worried that its listening on a specific IP when i restart asterisk instead of listing on *:5060.

Well that didn’t work again.

Same results phones that were setup 5060 ChanSIP try to register on 5060 but for some reason asterisk is throwing PJSIP registrations at the phone and no endpoint is the error.

I’m not reading back to the beginning, so this may be covered. If you are changing port bindings in Asterisk SIP settings, you need to restart asterisk. Once restarted, you can confirm bindings with:

asterisk -x "pjsip show transports" | grep -i udp
asterisk -x "pjsip show transports" | grep -i udp

Pretty much every system I touch has both drivers enabled, and as long as you are disciplined about which port to use when registering SIP clients, they work fine.

1 Like

Yes i do not change chansip port it is already 5060 and phones area already setup to register on 5060. Aastra and Yealink.

I change sip driver to both.

I set the pjsip port to 5160

submit

apply

Then i am fwconsole restart

All hell breaks loose all of the phones that are already setup for 5060 are being seen as no endpoint found pjsip.

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