[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 21:17:07 MSK 2014


I’ve had hints of this behavior but no real way to replicate it, If you can get all the details on the 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 11, 2014, at 11:17 AM, Andrew Paul <andrew.paul85 at gmail.com> wrote:

> Hi Brian,
> 
> I tried auonat and local-network-acl. 
> 
> Its looks like a bug in freeswitch. Whenever i am dialing "sofia/external/sip:domain.com" freeswitch not able to set the domain to tech_pvt->mparams.remote_ip . Whenever we are making a outgoing call it will be processed in 
> mod_sofia.c function "sofia_outgoing_channel" 
> 
>  if (zstr(tech_pvt->mparams.remote_ip)) {
>                 switch_split_user_domain(switch_core_session_strdup(nsession, tech_pvt->dest), NULL, &tech_pvt->mparams.remote_ip);
> }
> 
> Since my dial string dont have username "switch_split_user_domain" function make my remote_ip always NULL. So NAT checking in SIP and SDP got failed.
> 
> Best Regards
> 
> Andrew Paul 

-------------- 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/bf5f9fc2/attachment.bin 


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