[asterisk-users] Executing shell commands via AMI

Matt Riddell lists at venturevoip.com
Wed Mar 16 16:18:09 CDT 2011


On 17/03/11 9:53 AM, Vinícius Fontes wrote:
> No increased security, lots of hassle, all because there's an
> undocumented "feature" that is supposed to increase security but just
> takes functionality away.

If you really want to you could add some dialplan like:

[dangerous]
exten => s,1,System(${somecommand})

and use the manager to set the somecommand variable on a call you send 
to the "dangerous" context.

Up to you.

-- 
Cheers,

Matt Riddell
_______________________________________________

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/cc.php (Call Centre Solutions)



More information about the asterisk-users mailing list