[asterisk-users] Executing shell commands via AMI

Vinícius Fontes vinicius at canall.com.br
Wed Mar 16 16:59:37 CDT 2011


----- Mensagem original -----


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 
Very clever! Thanks for sharing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110316/a6633be4/attachment.htm>


More information about the asterisk-users mailing list