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

Yaron Nachum nachum.yaron at gmail.com
Tue Mar 11 08:35:32 CDT 2014


Thanks Joshua,
I tried it already. That would generate a call to both AORs which is not
what I was looking for.

Isn't there a way to retrieve the AOR status from the dialplan?


On Tue, Mar 11, 2014 at 3:27 PM, Joshua Colp <jcolp at digium.com> wrote:

> 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
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140311/b5be04e9/attachment.html>


More information about the asterisk-users mailing list