VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
venefax at gmail.com Guest
|
Posted: Wed Jun 25, 2014 11:57 pm Post subject: [asterisk-users] PJSIP Dial via IP fails |
|
|
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@demopjsip:3] Dial("PJSIP/federico-00000002",
"PJSIP/195XXX7408@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?
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
jcolp at digium.com Guest
|
Posted: Thu Jun 26, 2014 5:48 am Post subject: [asterisk-users] PJSIP Dial via IP fails |
|
|
CDR wrote:
Quote: | Dear friends
This is my simple dialplan
[demopjsip]
exten => _X.,1,Dial(PJSIP/${EXTEN}@10.10.10.2)
exten => _X.,n,Hangup()
|
Currently the default outbound endpoint is only used for messaging. This
may change in the future but as of right now it is not used for
sessions. You will therefore have to explicitly specify it:
Dial(PJSIP/default_outbound_endpoint/sip:${EXTEN}@10.10.10.2)
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|