<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Find the following line (if it exists) in your SIP profiles and set
    it to false:<br>
    <br>
    &lt;param name="inbound-zrtp-passthru" value="false"/&gt;<br>
    <br>
    This will allow transcoding to work, assuming that you also have the
    appropriate codecs compiled, loaded and enabled.&nbsp; The companion
    setting to this is:<br>
    <br>
    &lt;param name="inbound-late-negotiation" value="true"/&gt;<br>
    <br>
    Which will first attempt to find a matching codec between the two
    endpoints, and fall back to transcoding if a match cannot be found.<br>
    <br>
    Obviously, G729 will only transcode if you have a license for each
    channel, but if I understand your question correctly, that's what
    you're trying to work around. Ideally, the phones should offer a
    list of codecs in order of preference, not just a single codec,
    which is a good way to drop calls and irritate users.<br>
    <br>
    Francis<br>
    <br>
    <div class="moz-cite-prefix">On 9/01/2014 1:13 AM, Shahzad Bhatti
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAN+NqUaWuTk=egiJWf9HDpsVsYihLScGey4_YdQxRD8oFPvOrw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div>
                      <div><span style="font-family:courier
                          new,monospace">i have a case that <br>
                          freeswitch receive calls from different sip
                          phones supporting different codecs <br>
                          i want to trans code and then pass to leg b in
                          a way that<br>
                        </span></div>
                      <span style="font-family:courier new,monospace">every
                        codec is trans code to PCMA / PCMU <br>
                      </span></div>
                    <span style="font-family:courier new,monospace">like
                      <br>
                      iLBC -&gt; PCMU<br>
                    </span></div>
                  <span style="font-family:courier new,monospace">Speex
                    -&gt; PCMA<br>
                  </span></div>
                <span style="font-family:courier new,monospace">Silk
                  -&gt; PCMU<br>
                  <br>
                </span></div>
              <span style="font-family:courier new,monospace">but if leg
                A offer G729 then it passes to leg B with out trans
                coding<br>
                <br>
              </span></div>
            <span style="font-family:courier new,monospace">what is the
              best way to do that<br>
              <br>
            </span></div>
          <span style="font-family:courier new,monospace">regards<br>
            <br>
          </span></div>
        <span style="font-family:courier new,monospace">Shahzad Bhatti<br>
          <br>
        </span>
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div><span style="font-family:courier new,monospace"><br>
                    </span></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>