<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    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 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>