<div dir="ltr">Thanks Joshua,<div>I tried it already. That would generate a call to both AORs which is not what I was looking for.</div><div><br></div><div>Isn't there a way to retrieve the AOR status from the dialplan? </div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 3:27 PM, Joshua Colp <span dir="ltr"><<a href="mailto:jcolp@digium.com" target="_blank">jcolp@digium.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">Yaron Nachum wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello everyone,<br>
I have started testing the PJSIP stack.<br>
<br>
I saw that it is possible to setup statically multiple AOR contacts,<br>
setup qualify_timeout and attach it to an endpoint, and then dial using<br>
this endpoint.<br>
<br>
When I setup the configuration I used the cli in order to see the status<br>
of the contacts, and it worked fine - whenever a contact is unreachable,<br>
the status is updated to Unavailable.<br>
<br>
However, when I dial through this endpoint the asterisk doesn't use<br>
other contacts which are available in this endpoint.<br>
<br>
Is it a known issue?  Are you planning to solve it?<br>
</blockquote>
<br></div>
Due to limitations within the Asterisk core you have to use the PJSIP_DIAL_CONTACTS dialplan function[1].<br>
<br>
[1] <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Function_PJSIP_DIAL_CONTACTS" target="_blank">https://wiki.asterisk.org/<u></u>wiki/display/AST/Asterisk+12+<u></u>Function_PJSIP_DIAL_CONTACTS</a><span class="HOEnZb"><font color="#888888"><br>

<br>
-- <br>
Joshua Colp<br>
Digium, Inc. | Senior Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
Check us out at: <a href="http://www.digium.com" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br>
<br>
-- <br>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
              <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</font></span></blockquote></div><br></div>