[Asterisk-Dev] Calling Reload Remotely

Jeremy McNamara jj at nufone.net
Wed Jun 30 12:34:13 MST 2004


James Dutton wrote:

> Does anyone have a workaround for this. Would I be better off calling a 
> Perl script or something similar?


Why not use the asterisk manager?


[root at 2x-devel root]# telnet localhost 5038
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Asterisk Call Manager/1.0
action: login
username: someuser_configured_in_manger_dot_conf
secret: somesecret_configured_in_manger_dot_conf

Response: Success
Message: Authentication accepted

action: command
command: reload


Surely anyone with a clue could script this using any operating system, 
even windows or possibly even via the web.



Jeremy McNamara






More information about the asterisk-dev mailing list