Yes, problem was the firewall of the softphone pc.

I also found another problem.
When I used linphone for the softphone client, the agent could't hear voice from linphone.
I have set "Direct connection to the Internet" of the linphone but still got the one way audio.

Thank you all.

JImmy


於 2013/3/28 上午 12:10, Steven Ayre 提到:
That will have no effect. That's for setting the port range, and those are already the defaults.

You may find opening that port range on your router's firewall may help though.

-Steve




On 27 March 2013 15:11, johnthan123 <johnthan123@gmail.com> wrote:

    <param name="rtp-start-port" value="16384"/>

    <param name="rtp-end-port" value="32768"/>


 
uncomment this in switch.conf.xml


Thanks
JT

On Wed, Mar 27, 2013 at 12:04 AM, Jimmy Chang <chang33.tw@gmail.com> wrote:
Hi,

I could make a call within NAT without any problem.
When I made a call from internet, I got no audio.
I have read the document

http://wiki.freeswitch.org/wiki/NAT_Traversal

and set the parameters.
vars.xml
<X-PRE-PROCESS cmd="set" data="bind_server_ip=my.server.ip"/>
<X-PRE-PROCESS cmd="set" data="external_sip_ip=my.server.ip"/>
<X-PRE-PROCESS cmd="set" data="external_rtp_ip=my.server.ip"/>
internal.xml
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
external.xml
<param name="ext-sip-ip" value="$${external_sip_ip}"/>
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>

Any advice?
Thanks.
Jimmy


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org