<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><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 <<a href="mailto:sms@icefire.qza.net.au">sms@icefire.qza.net.au</a>> 於 2013/12/23 20:31 寫道:<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 <action application="set"
data="inherit_codec=true"/> in diaplan
(inbound-late-negotiation is true)<br>
2) add <action application="export"
data="nolocal:absolute_codec_string=G729,H264"/> in diaplan
B.<br>
3) add {absolute_codec_string='G729,H264'} in callcenter
application, syntax error<br>
<br>
Here is the diaplan.<br>
<extension name="Test Call Center"><br>
<condition field="destination_number"
expression="^555$"><br>
<action application="sleep" data="1000"/><br>
<action application="callcenter"
data="555@default"/><br>
</condition><br>
</extension><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:"Calibri","Verdana","Arial","Helvetica";
font-size:12pt;"> 由於 <a moz-do-not-send="true" href="http://www.avast.com/">avast! 防毒軟體</a>
已開啟防護,所以此封電子郵件將不受病毒及惡意軟體的侵害。 </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>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a 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 href="http://www.cudatel.com">http://www.cudatel.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>