I’m trying to update some server from chan_sip to pjsip, and I’m looking to replicate/replace some functionality in our dialplan. In the chan_sip dialplan, we would use
Dial(SIPfirstname.lastname@example.org) and that would dial outbound without a SIP Peer. Trying to do the same with pjsip,
Dial(PJSIPemail@example.com) give me the below logs and errors. From the pjsip troubleshooting wiki, it sound like I need to create an endpoint. Is there a way to dial without an endpoint or have a generic endpoint? Also would there be issue with an Asterisk server running chan_sip dialing an Asterisk server running pjsip?
Executing [100@testing:3] Dial(“PJSIP/6001-00000005”, “PJSIPfirstname.lastname@example.org”) in new stack
[Oct 15 00:38:53] ERROR: chan_pjsip.c:2645 request: Unable to create PJSIP channel - endpoint ‘10.5.21.104’ was not found
[Oct 15 00:38:53] WARNING[C-00000006]: app_dial.c:2578 dial_exec_full: Unable to create channel of type ‘PJSIP’ (cause 3 - No route to destination)
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [100@testing:4] Hangup(“PJSIP/6001-00000005”, “”) in new stack