[asterisk-users] PJSIP Dial via IP fails
CDR
venefax at gmail.com
Wed Jun 25 23:57:12 CDT 2014
Dear friends
This is my simple dialplan
[demopjsip]
exten => _X.,1,Dial(PJSIP/${EXTEN}@10.10.10.2)
exten => _X.,n,Hangup()
I need to dial out via an IP address, not using an endpoint, as shown above.
It fails with
Executing [19544447408 at demopjsip:3] Dial("PJSIP/federico-00000002",
"PJSIP/195XXX7408 at 10.10.10.2") in new stack
[Jun 26 00:39:00] ERROR[10136]: chan_pjsip.c:1722 request: Unable to
create PJSIP channel - endpoint '10.10.10.2' was not found
[Jun 26 00:39:00] WARNING[10167][C-00000002]: app_dial.c:2421
dial_exec_full: Unable to create channel of type 'PJSIP' (cause 3 - No
route to destination)
I remember that this Dial format was possible with regular SIP. The IP
address is routable, so there is no specific network issue.
In my pjsip.coonf I defined a default outbound endpoint
[global]
default_outbound_endpoint=default_outbound_endpoint
In that default endpoint defined, I did not add any IP address,
because I want to keep it generic and dial any IP address with the
same settings,
Is this possible?
More information about the asterisk-users
mailing list