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 [email protected] Voice: +1-760-468-3867 PST
https://www.linkedin.com/in/steve-edwards-4244281--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users