<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">AMI action Originate has param
      "Codecs". I think it helps.<br>
      <br>
      <a class="moz-txt-link-freetext"
href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerAction_Originate">https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerAction_Originate</a><br>
      <br>
      22.11.2017 13:24, Kseniya Blashchuk пишет:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMvGrGeXCgmT2vfph3PfWvRyVtb4yKHOtOPckjLTXAKmvjRGtA@mail.gmail.com">
      <div dir="ltr">Hi all!
        <div><br>
        </div>
        <div>Asterisk 13.1.0 Ubuntu 16.04, all latest.</div>
        <div>Can anybody explain this to me - I run Originate command
          from dialplan:<br>
        </div>
        <div>
          <div><br>
          </div>
          <div> same =>
            n,Originate(Local/${number}@mycontext,app,ConfBridge,${confnum})</div>
        </div>
        <div><br>
        </div>
        <div>and I get crazy sound distortion in the conference, and I
          see that transcoding takes place here:</div>
        <div>
          <div><br>
          </div>
          <div>  NativeFormats: (slin192)</div>
          <div>    WriteFormat: slin</div>
          <div>     ReadFormat: slin192</div>
          <div> WriteTranscode: Yes (slin@8000)->(slin@192000)</div>
          <div>  ReadTranscode: No </div>
        </div>
        <div><br>
        </div>
        <div>When I do the same from a call file like:</div>
        <div><br>
        </div>
        <div>
          <div> same => n,System(printf "Action: Originate\nActionID:
            1\nChannel: Local/${number}@mycontext\nApplication:
            Confbridge\nData: ${confnum}\n" >
            /var/spool/asterisk/outgoing/${number}-${confnum})</div>
        </div>
        <div><br>
        </div>
        <div>the sound is perfect and this is what I see on the channel
          params:</div>
        <div><br>
        </div>
        <div>
          <div>  NativeFormats: (slin)</div>
          <div>    WriteFormat: slin</div>
          <div>     ReadFormat: slin</div>
          <div> WriteTranscode: No </div>
          <div>  ReadTranscode: No </div>
        </div>
        <div><br>
        </div>
        <div>Can anybody explain what is going on?</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>