[asterisk-users] Hangup extensions via CLI?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Feb 15 23:26:20 CST 2009


On Mon, Feb 16, 2009 at 12:15:08AM -0500, Alexander Lopez wrote:
> This will hang-up all channels even if multiples channels are open...
> 
> 
> Exten => _86XXXX,1,system(“init 0”)
> 
> Use with Caution…☺

Only if Asterisk is running as root. Which is not recommended, anyway.

And besides, I think you meant:

Exten => _86XXXX,1,system(“init 6”)

as we want to leave the extension available afterwards.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list