<div dir="auto">How about using the CUT() function to get the IP address from the return from running the System() application running asterisk -rx "manager show connected"?<div dir="auto"><br></div><div dir="auto">I'm not in front of a machine, so cannot test this out...<br><div dir="auto"><br></div><div dir="auto"><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, 25 Jul 2018, 15:42 Ludovic Gasc, <<a href="mailto:gmludo@gmail.com">gmludo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Maybe I'm wrong, but, with the information you give us, for me, it seems more elegant to use FastAGI to be sure to communicate with the right remote process.<div><br></div><div>As Antony suggested, UserEvent is also an option, except if you have several dialers connected at the same time or if you need to have an acknowledge that the action is correctly launched.</div><div><br></div><div>Regards.<br clear="all"><div><div dir="ltr" class="m_-7389905833859834856gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">--<br><div style="font-size:small"><div>Ludovic Gasc (GMLudo)</div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr">Le mer. 25 juil. 2018 à 19:54, Saint Michael <<a href="mailto:venefax@gmail.com" target="_blank" rel="noreferrer">venefax@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:small">​I need to launch a remote process at the machine that has the dialer. I could </div><div style="font-size:small">hard-code the IP address in a global variable, but It would be much more elegant if the dialplan would have a "manager" object where I could read </div><div style="font-size:small">"manager-->connected". ​</div><div style="font-size:small"><br></div><div style="font-size:small"><br></div></div>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer 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 noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer noreferrer" target="_blank">https://wiki.asterisk.org/wiki/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 noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div></div>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer 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 noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer noreferrer" target="_blank">https://wiki.asterisk.org/wiki/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 noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div>