I know I'm doing something simple and wrong, but I can't quite figure it out: Example (executing system command): Action: Originate Channel: Local/1 at dummy Application: System <http://www.voip-info.org/wiki/view/Asterisk+cmd+System> Data: /path/to/script I keep getting a "Unable to request channel" and am not sure what it is looking for in place of "Local/1 at dummy". The script is an internal voice delivery to my agents (among other things I'd like to do) Thanks! PB -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090710/0d96b7d6/attachment.htm
Danny Nicholas
2009-Jul-10 19:50 UTC
[asterisk-users] Originate (Executing a System Command)
Why not just Local/1 (unless your server is actually named dummy)? _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of J. G. Sent: Friday, July 10, 2009 2:46 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Originate (Executing a System Command) I know I'm doing something simple and wrong, but I can't quite figure it out: Example (executing system command): Action: Originate Channel: Local/1 at dummy Application: System <http://www.voip-info.org/wiki/view/Asterisk+cmd+System> Data: /path/to/script I keep getting a "Unable to request channel" and am not sure what it is looking for in place of "Local/1 at dummy". The script is an internal voice delivery to my agents (among other things I'd like to do) Thanks! PB -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090710/d77b407f/attachment-0001.htm
Miguel Molina
2009-Jul-10 20:10 UTC
[asterisk-users] Originate (Executing a System Command)
J. G. escribi?:> I know I'm doing something simple and wrong, but I can't quite figure > it out: > > > Example (executing system command): > > Action: Originate > Channel: Local/1 at dummy > Application: System > <http://www.voip-info.org/wiki/view/Asterisk+cmd+System> > Data: /path/to/script > > I keep getting a "Unable to request channel" and am not sure what it > is looking for in place of "Local/1 at dummy". > > The script is an internal voice delivery to my agents (among other > things I'd like to do) > > Thanks! > PBDo you have the dummy context with the 1 extension in your dialplan with something like this? Did you reload it and check it within the CLI? [dummy] exten => 1,1,Answer() exten => 1,n,Wait(2) exten => 1,n,Hangup() The application (your external command) won't be launched until the Origiante channel is answered. -- Ing. Miguel Molina Grupo de Tecnolog?a Millenium Phone Center -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090710/d46262d9/attachment.htm