[Freeswitch-users] Replace Internal IP with External IP in From Header

Michael Jerris mike at jerris.com
Sun Jan 31 21:53:07 PST 2010


Try current trunk, I think this is fixed now, if not, please open a bug on jira.FreeSWITCH.org


On Jan 26, 2010, at 8:38 PM, Code Ghar wrote:

> I followed the example in Freeswitch behind NAT (http://wiki.freeswitch.org/wiki/NAT_Traversal#Freeswitch_behind_NAT). In the Contact header of invite sent to an external gateway, I see sip:extension at ExternalIP:port but in the From header I see sip:extension at InternalIP. How can I change the From header of SIP message so that it displays the external IP instead of internal IP? The reason for doing this is that the external gateway authenticates and authorizes call based on the IP in From header. They expect an external IP and not an internal IP. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100201/41398415/attachment-0002.html 


More information about the FreeSWITCH-users mailing list