PJSIP Dial via IP fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Asterisk Announcements]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite News]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]