<div dir="ltr"><div>Hi Jacek,<br><br></div>Thank you very much for the suggestion. Using SetVar and CONNECTEDLINE(number) works.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 12 December 2016 at 18:31, Jacek Konieczny <span dir="ltr"><<a href="mailto:jajcus@jajcus.net" target="_blank">jajcus@jajcus.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2016-12-12 02:21, David Cunningham wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is there any equivalent of the CONNECTEDLINE function which can be<br>
called from an application using the AMI?<br>
</blockquote>
<br></span>
You can use dialplan functions from AMI using GetVar, so this should work:<br>
<br>
Action: GetVar<br>
Variable: CONNECTEDLINE(num)<span class="HOEnZb"><font color="#888888"><br>
<br>
Jacek<br>
<br>
-- <br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org<wbr>/</a><br>
<br>
New to Asterisk? Start here:<br>
     <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wik<wbr>i/display/AST/Getting+Started</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" rel="noreferrer" target="_blank">http://lists.digium.com/mailma<wbr>n/listinfo/asterisk-users</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>David Cunningham, Voisonics<br><a href="http://voisonics.com/" target="_blank">http://voisonics.com/</a><br>USA: +1 213 221 1092<br>Australia: +61 (0) 2 8063 9019<br></div></div></div>
</div>