This thread is not the point how to create call files and not about manager commands. I am asking why naive codec is different for channel Local with cmd Originate when comparing to the same action in a call file. Call files work for me in this way. If it doesn't work for you, maybe you have a different OS or Asterisk version.
On Wed, Nov 22, 2017, 8:02 PM Steve Edwards <[email protected]> wrote: > 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
-- _____________________________________________________________________ -- 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
