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

Matthew Jordan mjordan at digium.com
Tue Mar 11 10:38:19 CDT 2014


On Tue, Mar 11, 2014 at 8:45 AM, Yaron Nachum <nachum.yaron at gmail.com> wrote:
>
> Thanks for the response anyway.
>
> I think that it would be great if someone would make it happen. It seems to me trivial that once you enable to setup multiple AORs you would use them :-)
>
> Yaron.
>
>
> On Tue, Mar 11, 2014 at 3:38 PM, Joshua Colp <jcolp at digium.com> wrote:
>>
>> Yaron Nachum wrote:
>>>
>>> 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?
>>
>>
>> Not currently.
>>

We're still adding dialplan functions and CLI commands to the PJSIP
stack. Right now there's a way to drill down into endpoint
configuration via the PJSIP_ENDPOINT function, but we haven't yet
expanded that to AORs. Doing so is a pretty natural next step.

There's some discussion of this on the following JIRA issue, where
Josh mentions we could query down into the contacts for some of the
information:

https://issues.asterisk.org/jira/browse/ASTERISK-23173

We'd probably have something similar to PJSIP_ENDPOINT, such as
PJSIP_AOR or PJSIP_CONTACT (or something like that), that lets you get
at the run-time information of an AOR.

-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-users mailing list