<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    It is strange behavior. If all necessary codecs are enabled, then
    negotiation should traverse all codecs until a match is found, but
    it seems that in your case, it stops with the first. As a way of
    isolating the issue, try routing calls direct to a call group and
    have both clients make calls. If you can recieve calls from both,
    then the issue is probably in the agent. I've never played with call
    centre before so unfortunately, I've got no idea what might be the
    issue there.<br>
    <br>
    Francis<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 24/12/2013 5:38 PM, Jimmy Chang
      wrote:<br>
    </div>
    <blockquote cite="mid:52B939E1.4020706@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Hi,<br>
        <br>
      </div>
      <blockquote cite="mid:52B92BE4.9050106@icefire.qza.net.au"
        type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        I see. <br>
        <br>
        inbound_late_negotiation should *just work* without setting the
        other options, try removing them and leaving
        inbound_late_negotiation set to true.<br>
      </blockquote>
      ya, I know, this was the default setting in my env, it didn't
      work.<br>
      <br>
      <blockquote cite="mid:52B92BE4.9050106@icefire.qza.net.au"
        type="cite"> However, I've found that negotiation and
        transcoding will fail if inbound_zrtp_passthru is set to true.
        If you are using this option, set it to false in all sip
        profiles. Of course, any proxy_media or bypass_media options
        should also be set to false.<br>
      </blockquote>
      I set inbound_zrtp_passthru=false in all sip profiles, still
      didn't work.<br>
      <br>
      <blockquote cite="mid:52B92BE4.9050106@icefire.qza.net.au"
        type="cite"> As a last resort, try setting
        inbound_late_negotiation to false, which will force transcoding
        if codecs mismatch. Your G729 channels must be licensed or this
        will fail too :)<br>
        <br>
      </blockquote>
      Yes, it is the last resort. <br>
      Do these settings about codec negotiation not take effect when it
      comes to callcenter application?<br>
      <br>
      Thanks.<br>
      Jimmy<br>
      <br>
      <blockquote cite="mid:52B92BE4.9050106@icefire.qza.net.au"
        type="cite"> <br>
        <div class="moz-cite-prefix">On 23/12/2013 11:21 PM, Jimmy
          wrote:<br>
        </div>
        <blockquote
          cite="mid:B534C82C-28C4-4B48-ACD5-EC77FFBA0A22@gmail.com"
          type="cite">
          <meta http-equiv="content-type" content="text/html;
            charset=ISO-8859-1">
          <div>Hi,</div>
          <div>Agent and FS are both in LAN and agent register to FS.</div>
          <div>Client A and B are both in internet.</div>
          <div>Thanks.<br>
            <br>
          </div>
          <div><br>
            Francis &lt;<a moz-do-not-send="true"
              href="mailto:sms@icefire.qza.net.au">sms@icefire.qza.net.au</a>&gt;


            &#26044; 2013/12/23 20:31 &#23531;&#36947;&#65306;<br>
            <br>
          </div>
          <blockquote type="cite">
            <div>
              <meta content="text/html; charset=ISO-8859-1"
                http-equiv="Content-Type">
              Am I right in assuming that inbound calls are coming from
              the outside world to your agent, then to A and B?<br>
              <br>
              Francis<br>
              <br>
              <div class="moz-cite-prefix">On 23/12/2013 9:53 PM, Jimmy
                Chang wrote:<br>
              </div>
              <blockquote cite="mid:52B82437.2070704@gmail.com"
                type="cite">
                <meta http-equiv="content-type" content="text/html;
                  charset=ISO-8859-1">
                <font face="Arial">Hi,<br>
                  <br>
                  I have two clients using different codecs.<br>
                  Client A: PCMA, H264<br>
                  Client B: G729, H264<br>
                  Agent: PCMA,G729,H264<br>
                  FS:PCMA,G729,H264<br>
                  <br>
                  Now agent could only accept calls of client A but not
                  from client B. <br>
                  When I change the codec order of FS to G729,PCMA,H264,
                  then agent could accept client B but not from client
                  A.<br>
                  I have tried these settings below and all in vain.<br>
                  1) add &lt;action application="set"
                  data="inherit_codec=true"/&gt; in diaplan
                  (inbound-late-negotiation is true)<br>
                  2) add &lt;action application="export"
                  data="nolocal:absolute_codec_string=G729,H264"/&gt; in
                  diaplan B.<br>
                  3) add {absolute_codec_string='G729,H264'} in
                  callcenter application, syntax error<br>
                  <br>
                  Here is the diaplan.<br>
                  &lt;extension name="Test Call Center"&gt;<br>
                  &nbsp;&nbsp; &nbsp;&lt;condition field="destination_number"
                  expression="^555$"&gt;<br>
                  &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;action application="sleep"
                  data="1000"/&gt;<br>
                  &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;action application="callcenter"
                  data="555@default"/&gt;<br>
                  &nbsp;&nbsp; &nbsp;&lt;/condition&gt;<br>
                  &lt;/extension&gt;<br>
                  <br>
                  How can I configure to accept both clients?<br>
                  Any advice would be appreciated.<br>
                  <br>
                  Jimmy</font> <br>
                <br>
                <hr style="border:none; color:#909090;
                  background-color:#B0B0B0; height: 1px; width: 99%;">
                <table style="border-collapse:collapse;border:none;">
                  <tbody>
                    <tr>
                      <td style="border:none;padding:0px 15px 0px 8px">
                        <a moz-do-not-send="true"
                          href="http://www.avast.com/"> <img
                            moz-do-not-send="true"
                            src="http://static.avast.com/emails/avast-mail-stamp.png"
                            border="0"> </a> </td>
                      <td>
                        <p style="color:#3d4d5a;
                          font-family:&quot;Calibri&quot;,&quot;Verdana&quot;,&quot;Arial&quot;,&quot;Helvetica&quot;;



                          font-size:12pt;"> &#30001;&#26044; <a
                            moz-do-not-send="true"
                            href="http://www.avast.com/">avast! &#38450;&#27602;&#36575;&#39636;</a>
                          &#24050;&#38283;&#21855;&#38450;&#35703;&#65292;&#25152;&#20197;&#27492;&#23553;&#38651;&#23376;&#37109;&#20214;&#23559;&#19981;&#21463;&#30149;&#27602;&#21450;&#24801;&#24847;&#36575;&#39636;&#30340;&#20405;&#23475;&#12290; </p>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <br>
                <br>
                <fieldset class="mimeAttachmentHeader"></fieldset>
                <br>
                <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

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

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

FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
              </blockquote>
              <br>
            </div>
          </blockquote>
          <blockquote type="cite">
            <div><span>_________________________________________________________________________</span><br>
              <span>Professional FreeSWITCH Consulting Services:</span><br>
              <span><a moz-do-not-send="true"
                  href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br>
              <span><a moz-do-not-send="true"
                  href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br>
              <span></span><br>
              <span>FreeSWITCH-powered IP PBX: The CudaTel Communication
                Server</span><br>
              <span><a moz-do-not-send="true"
                  href="http://www.cudatel.com">http://www.cudatel.com</a></span><br>
              <span></span><br>
              <span>Official FreeSWITCH Sites</span><br>
              <span><a moz-do-not-send="true"
                  href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br>
              <span><a moz-do-not-send="true"
                  href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></span><br>
              <span><a moz-do-not-send="true"
                  href="http://www.cluecon.com">http://www.cluecon.com</a></span><br>
              <span></span><br>
              <span>FreeSWITCH-users mailing list</span><br>
              <span><a moz-do-not-send="true"
                  href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br>
              <span><a moz-do-not-send="true"
                  href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br>
              <span>UNSUBSCRIBE:<a moz-do-not-send="true"
                  class="moz-txt-link-freetext" href="http://">http://</a><a
                  moz-do-not-send="true"
                  href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br>
              <span><a moz-do-not-send="true"
                  href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br>
            </div>
          </blockquote>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

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

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

FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
        </blockquote>
        <br>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

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

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

FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
      </blockquote>
      <br>
      <br>
      <br>
      <hr style="border:none; color:#909090; background-color:#B0B0B0;
        height: 1px; width: 99%;">
      <table style="border-collapse:collapse;border:none;">
        <tbody>
          <tr>
            <td style="border:none;padding:0px 15px 0px 8px"> <a
                moz-do-not-send="true" href="http://www.avast.com/"> <img
                  moz-do-not-send="true"
                  src="http://static.avast.com/emails/avast-mail-stamp.png"
                  border="0"> </a> </td>
            <td>
              <p style="color:#3d4d5a;
                font-family:&quot;Calibri&quot;,&quot;Verdana&quot;,&quot;Arial&quot;,&quot;Helvetica&quot;;
                font-size:12pt;"> &#30001;&#26044; <a moz-do-not-send="true"
                  href="http://www.avast.com/">avast! &#38450;&#27602;&#36575;&#39636;</a>
                &#24050;&#38283;&#21855;&#38450;&#35703;&#65292;&#25152;&#20197;&#27492;&#23553;&#38651;&#23376;&#37109;&#20214;&#23559;&#19981;&#21463;&#30149;&#27602;&#21450;&#24801;&#24847;&#36575;&#39636;&#30340;&#20405;&#23475;&#12290; </p>
            </td>
          </tr>
        </tbody>
      </table>
      <br>
      <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>