On Tue, Mar 11, 2014 at 8:45 AM, Yaron Nachum <nachum.ya...@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 <jc...@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 -- _____________________________________________________________________ -- 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