<p dir="ltr">This thread is not the point how to create call files and not about manager commands.<br>
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.</p>
<br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 22, 2017, 8:02 PM Steve Edwards <<a href="mailto:asterisk.org@sedwards.com">asterisk.org@sedwards.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 22 Nov 2017, Dmitriy Serov wrote:<br>
<br>
>  same => n,System(printf "Action: Originate\nActionID: 1\nChannel: Local/${number}@mycontext\nApplication: Confbridge\nData: ${confnum}\n" ><br>
> /var/spool/asterisk/outgoing/${number}-${confnum})<br>
<br>
I get:<br>
<br>
Unknown keyword 'Action' at line 1 of /var/spool/asterisk/outgoing/...<br>
Unknown keyword 'ActionID' at line 2 of /var/spool/asterisk/outgoing/...<br>
<br>
These are 'AMI' commands, not call file commands.<br>
<br>
Also, just in case you're not aware, 'best practice' is to create the call<br>
file in a 'temp' directory on the same partition as<br>
${astspooldir}/outgoing/ and then 'mv' the file to that directory.<br>
<br>
--<br>
Thanks in advance,<br>
-------------------------------------------------------------------------<br>
Steve Edwards       <a href="mailto:sedwards@sedwards.com" target="_blank">sedwards@sedwards.com</a>      Voice: +1-760-468-3867 PST<br>
             <a href="https://www.linkedin.com/in/steve-edwards-4244281" rel="noreferrer" target="_blank">https://www.linkedin.com/in/steve-edwards-4244281</a>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div>