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

Antony Stone Antony.Stone at asterisk.open.source.it
Wed Jul 25 12:58:14 CDT 2018


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 "manager-->connected". ​

If the dialer is connected to Asterisk using AMI, how about issuing a 
UserEvent in the dialplan, which will then be seen by the logged-in dialer 
process (assuming it's looking at the event stream) and can be acted upon to 
launch the (now local) process?


Antony.

-- 
I think broken pencils are pointless.

                                                   Please reply to the list;
                                                         please *don't* CC me.



More information about the asterisk-users mailing list