[Freeswitch-users] Freeswitch not putting external IP in SDP and From Header when dialing out SIPURI by external profile

Brian West brian at freeswitch.org
Tue Feb 11 16:51:12 MSK 2014


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 at 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 at 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
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140211/a866cd01/attachment.bin 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list