<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <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>
          &lt;condition field="destination_number"
      expression="^555$"&gt;<br>
              &lt;action application="sleep" data="1000"/&gt;<br>
              &lt;action application="callcenter"
      data="555@default"/&gt;<br>
          &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;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="http://www.avast.com/">
                                <img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                由於 <a href="http://www.avast.com/">avast! 防毒軟體</a> 已開啟防護,所以此封電子郵件將不受病毒及惡意軟體的侵害。
                        </p>
                </td>
        </tr>
</table>
<br />
</body>
</html>