Re: [asterisk-users] How to know the IP of "manager show connected" in dialplan

2018-07-25 Thread David Duffett
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"? I'm not in front of a machine, so cannot test this out... On Wed, 25 Jul 2018, 15:42 Ludovic Gasc, wrote: > Maybe I'm wrong, but, with

Re: [asterisk-users] How to know the IP of "manager show connected" in dialplan

2018-07-25 Thread Ludovic Gasc
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. 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

Re: [asterisk-users] How to know the IP of "manager show connected" in dialplan

2018-07-25 Thread Antony Stone
On Wednesday 25 July 2018 at 19:53:47, Saint Michael wrote: > ​I need to launch a remote process at the machine that has the dialer. I > could 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

[asterisk-users] How to know the IP of "manager show connected" in dialplan

2018-07-25 Thread Saint Michael
​I need to launch a remote process at the machine that has the dialer. I could 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 "manager-->connected". ​ --

Re: [asterisk-users] How to know the IP of "manager show connected" in dialplan

2018-07-25 Thread Ludovic Gasc
Hi, Could you give us more details what you are trying to do ? Your request seems special for me. Regards. -- Ludovic Gasc (GMLudo) Le mer. 25 juil. 2018 à 00:35, Saint Michael a écrit : > ​How can I in my dialplan read the IP address that​ shows in "manager show >> connected". Is this

[asterisk-users] How to know the IP of "manager show connected" in dialplan

2018-07-24 Thread Saint Michael
> > ​How can I in my dialplan read the IP address that​ shows in "manager show > connected". Is this possible? > -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community