PJSIP converting from chan_sip

I have mostly converted from chan_sip to PJSIP asterisk 22.5.0. All my SIP devices are connected and working.

Last thing: I am trying to make a call over a SIP trunk from my new PJSIP to an old chan_sip server

I get this error:
[Jul 28 12:13:26] ERROR[864597]: res_pjsip.c:993 ast_sip_create_dialog_uac: Endpoint ‘mybox’: Could not create dialog to invalid URI ‘913175061111’. Is endpoint registered and reachable?

on mybox I get:
Contact: mybox/sip:192.168.1.2 4717e3c740 NonQual nan

and my wizard definition is:
[mybox]
type=wizard
accepts_registrations=no
sends_registrations=yes
accepts_auth=no
sends_auth=yes
outbound_auth/username=mybox
outbound_auth/password=mybox
remote_hosts=192.168.1.201
endpoint/context=mybox
endpoint/allow=!all,ulaw,alaw,gsm
endpoint/callerid=Example <1001>
remote_hosts=192.168.1.201
endpoint/rtp_timeout=60
endpoint/rtp_timeout_hold=60
endpoint/rtp_keepalive=60
max_channels=10
aor/max_contacts=10

so mybox (new PJsip) is talking SIP trunk to my OLDbox (chan_sip). It does show registered on chan_sip server.
mybox 192.168.1.200 D Auto (No) No 5060 Unmonitored

When I make the call from Mybox - to old chan_sip server - nothing shows on the CLI there.

This is the channel in my call file:
Channel: PJSIP/mybox/913175061111

I just can make calls out.

What have I not converted to work?
Thanks

Jerry

This is invalid for chan_pjsip[1]. The correct would be PJSIP/913175061111@mybox

[1] Dialing PJSIP Channels - Asterisk Documentation

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