Yaron Nachum
2014-Mar-11 13:24 UTC
[asterisk-users] PJSIP - Using multiple AOR contacts when dialing through an endpoint
Hello everyone, I have started testing the PJSIP stack. I saw that it is possible to setup statically multiple AOR contacts, setup qualify_timeout and attach it to an endpoint, and then dial using this endpoint. When I setup the configuration I used the cli in order to see the status of the contacts, and it worked fine - whenever a contact is unreachable, the status is updated to Unavailable. However, when I dial through this endpoint the asterisk doesn't use other contacts which are available in this endpoint. Is it a known issue? Are you planning to solve it? Below is my pjsip.conf: [transport-udp] type=transport protocol=udp bind=172.16.60.160:5060 ;SIPP [sipp] type=endpoint transport=transport-udp context=from-external disallow=all allow=alaw 100rel=required aors=sipp [sipp] type=aor contact=sip:172.16.60.160:5080 contact=sip:10.25.153.150:5060 qualify_frequency=10 [sipp] type=identify endpoint=sipp match=10.25.153.150 match=172.16.60.160 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140311/fdd681a4/attachment.html>
Joshua Colp
2014-Mar-11 13:27 UTC
[asterisk-users] PJSIP - Using multiple AOR contacts when dialing through an endpoint
Yaron Nachum wrote:> Hello everyone, > I have started testing the PJSIP stack. > > I saw that it is possible to setup statically multiple AOR contacts, > setup qualify_timeout and attach it to an endpoint, and then dial using > this endpoint. > > When I setup the configuration I used the cli in order to see the status > of the contacts, and it worked fine - whenever a contact is unreachable, > the status is updated to Unavailable. > > However, when I dial through this endpoint the asterisk doesn't use > other contacts which are available in this endpoint. > > Is it a known issue? Are you planning to solve it?Due to limitations within the Asterisk core you have to use the PJSIP_DIAL_CONTACTS dialplan function[1]. [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Function_PJSIP_DIAL_CONTACTS -- 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
Apparently Analagous Threads
- PJSIP - dtmf mode is not updated when the far end doesn't support rfc2833
- Dial(${PJSIP_DIAL_CONTACTS(Alice)} & ${PJSIP_DIAL_CONTACTS(Bob)}) how not to fail if one endpoint has no registered AOR?
- Confused by concepts behind pjsip: endpoint, aor, contact
- PJSIP does not qualify contacts after starting Asterisk
- PJSIP does not qualify contacts after starting Asterisk