[asterisk-users] Chan Local, Originate and slin
Steve Edwards
asterisk.org at sedwards.com
Wed Nov 22 10:56:14 CST 2017
On Wed, 22 Nov 2017, Dmitriy Serov wrote:
> same => n,System(printf "Action: Originate\nActionID: 1\nChannel: Local/${number}@mycontext\nApplication: Confbridge\nData: ${confnum}\n" >
> /var/spool/asterisk/outgoing/${number}-${confnum})
I get:
Unknown keyword 'Action' at line 1 of /var/spool/asterisk/outgoing/...
Unknown keyword 'ActionID' at line 2 of /var/spool/asterisk/outgoing/...
These are 'AMI' commands, not call file commands.
Also, just in case you're not aware, 'best practice' is to create the call
file in a 'temp' directory on the same partition as
${astspooldir}/outgoing/ and then 'mv' the file to that directory.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
https://www.linkedin.com/in/steve-edwards-4244281
More information about the asterisk-users
mailing list