<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">We also have same issue with AMR codec.</div><div class=""><br class=""></div><div class="">Does anyone knows how to do this?</div><div class=""><br class=""></div><div class="">There is no documents available regarding the AMR codec as passthrough mode.</div><div class=""><br class=""></div><div class="">BR,</div><div class=""><br class=""></div><div class="">Bob<br class="">
<br class=""><div><blockquote type="cite" class=""><div class="">On Aug 15, 2017, at 6:30 PM, <a href="mailto:freeswitch-users-request@lists.freeswitch.org" class="">freeswitch-users-request@lists.freeswitch.org</a> wrote:</div><br class="Apple-interchange-newline"><div class="">Send FreeSWITCH-users mailing list submissions to<br class=""><span class="Apple-tab-span" style="white-space:pre">     </span><a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a><br class=""><br class="">To subscribe or unsubscribe via the World Wide Web, visit<br class=""><span class="Apple-tab-span" style="white-space:pre">   </span>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">or, via email, send a message with subject or body 'help' to<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>freeswitch-users-request@lists.freeswitch.org<br class=""><br class="">You can reach the person managing the list at<br class=""><span class="Apple-tab-span" style="white-space:pre">   </span>freeswitch-users-owner@lists.freeswitch.org<br class=""><br class="">When replying, please edit your Subject line so it is more specific<br class="">than "Re: Contents of FreeSWITCH-users digest..."<br class="">Today's Topics:<br class=""><br class="">   1.  AMR Codec for A-leg and GSM Codec for B-leg (Ron)<br class="">   2. Re: Answer a phone remotely via API (Peter Steinbach)<br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Ron <ron.menez@entropysolution.com><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">[Freeswitch-users]  AMR Codec for A-leg and GSM Codec for B-leg</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">August 15, 2017 at 2:58:08 PM GMT+8<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">"freeswitch-users@lists.freeswitch.org" <freeswitch-users@lists.freeswitch.org><br class=""></span></div><br class=""><br class="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">

<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi All,
<div class=""><br class="">
</div>
<div class="">Is it possible to use AMR Codec to A-leg and GSM Codec for B-leg or vice versa?</div>
<div class=""><br class="">
</div>
<div class="">Tried the following configuration in sip profiles:</div>
<div class=""><br class="">
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">
<div class="">
<div class=""><param name="inherit_codec" value="true"/></div>
<div class=""><param name="inbound-late-negotiation" value="true”/></div>
</div>
<div class=""><param name="disable-transcoding" value="false”/></div>
<div class=""><br class="">
</div>
</blockquote>
<div class="">We received an error in the logs:</div>
<div class=""><br class="">
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">
<div class="">
<div class="">e178024a-8180-11e7-9d17-e38b940a41a7 2017-08-15 06:13:45.955687 [DEBUG] switch_ivr_originate.c:3833 Originate Resulted in Error Cause: 88 [INCOMPATIBLE_DESTINATION]</div>
<div class="">e178024a-8180-11e7-9d17-e38b940a41a7 2017-08-15 06:13:45.955687 [INFO] mod_dptools.c:3418 Originate Failed.  Cause: INCOMPATIBLE_DESTINATION</div>
<div class="">e178024a-8180-11e7-9d17-e38b940a41a7 2017-08-15 06:13:45.955687 [NOTICE] switch_channel.c:4822 Hangup
<a href="mailto:sofia/internal/09589999999@10.1.0.5" class="">sofia/internal/09589999999@10.1.0.5</a> [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]</div>
</div>
</blockquote>
<div class=""><br class="">
</div>
We also tried to use the absolute_codec_string configuration in dialplan:
<div class=""><br class="">
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">
<div class=""><action application="bridge" data="{absolute_codec_string=GSM}sofia/internal/${destination_number}@10.1.0.4:5080"/></div>
</blockquote>
<div class="">
<div class=""><br class="webkit-block-placeholder">
</div>
<div class="">The error we received on this is:</div>
<div class=""><br class="">
</div>
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">
<div class="">
<div class="">
<div class="">2017-08-15 06:17:29.755700 [ERR] mod_amr.c:338 This codec is only usable in passthrough mode!</div>
<div class="">2017-08-15 06:17:29.755700 [ERR] switch_core_io.c:1434 Codec AMR encoder error!</div>
</div>
</div>
</blockquote>
<div class="">
<div class=""><br class="webkit-block-placeholder">
</div>
<div class="">For your kind advice please.</div>
<div class=""><br class="">
</div>
<div class="">TIA.</div>
<div class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br class="Apple-interchange-newline">
Best Regard,</div>
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br class="">
</div>
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
Ron Menez</div>
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="mailto:ron.menez@entropysolution.com" class="">ron.menez@entropysolution.com</a></div>
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br class="">
</div>
<br class="Apple-interchange-newline" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<br class="Apple-interchange-newline">
</div>
<br class="">
</div>
</div>

<br class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Peter Steinbach <lists@telefaks.de><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [Freeswitch-users] Answer a phone remotely via API</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">August 15, 2017 at 6:30:19 PM GMT+8<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org><br class=""></span></div><br class=""><br class="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
  
  <div bgcolor="#FFFFFF" text="#000000" class="">
    <div class="moz-cite-prefix">Thanks Brian,<br class="">
      <br class="">
      that worked for me.<br class="">
      <br class="">
      <tt class="">uuid_phone_event <uuid> talk</tt><br class="">
      <br class="">
      on the Freeswitch CLI answered the tested phones (Yealink, Sangoma
      and Grandstream).<br class="">
      <br class="">
      Best regards<br class="">
      Peter<br class="">
      <br class="">
      On 08/14/17 22:02, Brian West wrote:<br class="">
    </div>
    <blockquote cite="mid:CAEJMVkD_4KQin3Mn6_mwAw_e9oTMvTUNDycGf_REu__1OkQT2Q@mail.gmail.com" type="cite" class="">
      <div dir="ltr" class="">depends on phone, see uuid_phone_event</div>
      <div class="gmail_extra"><br class="">
        <div class="gmail_quote">On Mon, Aug 14, 2017 at 2:36 PM, Peter
          Steinbach <span dir="ltr" class=""><<a moz-do-not-send="true" href="mailto:lists@telefaks.de" target="_blank" class="">lists@telefaks.de</a>></span>
          wrote:<br class="">
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br class="">
            <br class="">
            does there exist a command to answer a phone remotely? E.g.
            send a<br class="">
            command via ESL to Freeswitch and then to the Phone?<br class="">
            I am not looking for some kind of autoanswer. I just want to
            let the<br class="">
            phone ring, then send some kind of event to the phone and
            then the phone<br class="">
            answers.<br class="">
            <br class="">
            --<br class="">
            With kind regards<br class="">
            Peter Steinbach<br class="">
            <br class="">
            Telefaks Services GmbH<br class="">
            mailto:<a moz-do-not-send="true" href="mailto:lists" class="">lists</a>
            (att) <a moz-do-not-send="true" href="http://telefaks.de/" rel="noreferrer" target="_blank" class="">telefaks.de</a><br class="">
            Internet: <a moz-do-not-send="true" href="http://www.telefaks.de/" rel="noreferrer" target="_blank" class="">www.telefaks.de</a><br class="">
            <br class="">
            <br class="">
            ______________________________<wbr class="">______________________________<wbr class="">_____________<br class="">
            Professional FreeSWITCH Consulting Services:<br class="">
            <a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">
            <a moz-do-not-send="true" href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.<wbr class="">freeswitchsolutions.com</a><br class="">
            <br class="">
            Official FreeSWITCH Sites<br class="">
            <a moz-do-not-send="true" href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
            <a moz-do-not-send="true" href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.<wbr class="">org</a><br class="">
            <a moz-do-not-send="true" href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
            <br class="">
            FreeSWITCH-users mailing list<br class="">
            <a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.<wbr class="">freeswitch.org</a><br class="">
            <a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/<wbr class="">mailman/listinfo/freeswitch-<wbr class="">users</a><br class="">
            UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.<wbr class="">freeswitch.org/mailman/<wbr class="">options/freeswitch-users</a><br class="">
            <a moz-do-not-send="true" href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a></blockquote>
        </div>
        <br class="">
        <br clear="all" class="">
        <div class=""><br class="">
        </div>
        -- <br class="">
        <div class="gmail_signature" data-smartmail="gmail_signature">
          <div dir="ltr" class="">
            <div class="">
              <div dir="ltr" class="">
                <div class="">
                  <div dir="ltr" class="">
                    <div dir="ltr" class="">
                      <div dir="ltr" class="">
                        <div dir="ltr" class="">
                          <div dir="ltr" class="">
                            <div dir="ltr" class="">
                              <div dir="ltr" class="">
                                <div dir="ltr" class="">
                                  <div dir="ltr" class="">
                                    <div dir="ltr" class="">
                                      <div dir="ltr" class="">
                                        <div dir="ltr" class=""><p class=""><font face="courier new,
                                              monospace" class=""><b class=""><i class=""><font size="4" class="">Brian West</font></i></b><br class="">
                                              <span style="font-size:x-small" class=""><a moz-do-not-send="true" href="mailto:brian@freeswitch.org" target="_blank" class="">brian@freeswitch.org</a></span></font></p><p class=""><b style="font-family:monospace,monospace;font-size:small" class=""><i class="">Twitter:
                                                @FreeSWITCH ,
                                                @briankwest</i></b></p><p class=""><font face="monospace,
                                              monospace" size="2" class=""><a moz-do-not-send="true" href="http://www.freeswitchbook.com/" target="_blank" class="">http://www.freeswitchbook.com</a> <br class="">
                                              <a moz-do-not-send="true" href="http://www.freeswitchcookbook.com/" target="_blank" class="">http://www.freeswitchcookbook.com</a></font></p><p class=""><font face="monospace,
                                              monospace" size="2" class=""><a moz-do-not-send="true" href="https://freeswitch.com/appointment" target="_blank" class="">Book a
                                                phone call (CST)</a><br class="">
                                              <br class="">
                                              Allison prompts for
                                              FreeSWITCH:</font></p>
                                          <table style="font-size:12.8px" cellpadding="0" cellspacing="0" class="">
                                            <tbody class="">
                                              <tr class="">
                                                <td valign="baseline" class=""><p class=""><span class=""><a moz-do-not-send="true" href="https://www.gofundme.com/allison-prompts-for-freeswitch" target="_blank" class=""><b class="">https://www.gofundme.com/allison-prompts-for-freeswitch</b></a></span></p>
                                                </td>
                                              </tr>
                                            </tbody>
                                          </table><p class=""><span style="font-family:monospace,monospace;font-size:12.8px" class="">Got
                                              Bugs? Report them </span><a moz-do-not-send="true" href="https://freeswitch.org/jira" style="font-family:monospace,monospace;font-size:12.8px" target="_blank" class="">here</a><span style="font-family:monospace,monospace;font-size:12.8px" class="">! | Reddit: </span><a moz-do-not-send="true" href="https://www.reddit.com/r/freeswitch" style="font-family:monospace,monospace;font-size:12.8px" target="_blank" class="">/r/freeswitch</a><br class="">
                                          </p><p class=""><font face="monospace,
                                              monospace" size="2" class=""><b class="">T:</b>+19184209001
                                              | <b class="">F:</b>+19184209002 |
                                              <b class="">M:</b>+1918424WEST
                                              (9378)<br class="">
                                              <b class="">Skype:</b>briankwest<br class="">
                                            </font></p>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br class="">
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br class="">
      <pre wrap="" class="">_________________________________________________________________________
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>

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://confluence.freeswitch.org/">http://confluence.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 class="">
    <br class="">
    <pre class="moz-signature" cols="72">-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
<a class="moz-txt-link-freetext" href="mailto:lists">mailto:lists</a> (att) telefaks.de
Internet: <a class="moz-txt-link-abbreviated" href="http://www.telefaks.de/">www.telefaks.de</a>

</pre>
  </div>

<br class=""><br class="">_______________________________________________<br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org<br class=""></div></blockquote></div><br class=""></div></body></html>