[asterisk-users] PJSIP - Using multiple AOR contacts when dialing through an endpoint

Joshua Colp jcolp at digium.com
Tue Mar 11 08:27:24 CDT 2014


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



More information about the asterisk-users mailing list