Bug reports belong at http://jira.freeswitch.org, Please file one with all the details, I can’t seem to get the same behavior you’re getting. For auto-nat to work you need to set local-network-acl, Have you done so. Either way please file a JIRA -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Feb 9, 2014, at 9:00 PM, Andrew Paul <andrew.paul85@gmail.com> wrote:
Hai Brian ,
I tried in Profile by ext-rtp-ip=autonat:x.x.x.x. But this method also didnt work.
Can you tell me is there any configuration for setting the outbound IP(realm address) in dialplan ?
The issue is freeswitch not able to find the Remote IP for checking the NAT. Since NAT checking failed freeswitch putting the profile rtp ip instead of profile extern ip.
* Check if NAT is detected */
if (!zstr(smh->mparams->remote_
ip) && switch_core_media_check_nat(smh, smh->mparams->remote_ip)) {
/* Yes, map the port through switch_nat */ /* Code */ } else {
/* No NAT traversal required, use the profile's rtp ip */ use_ip = smh->mparams->rtpip } Regards
Andrew