[Freeswitch-users] rewriting sip contact field

ik idokan at gmail.com
Tue Jun 10 16:13:41 MSD 2014


Hello,

I have a network with two local net's:
A. 10.0.0.0/16
B. 172.16.0.0./12 .

The server where freeswitch is located, has only a 10.0.0.2 ethernet
device, and no other devices.
I am able to talk with a server that is over the 172.16.0.0./12 address,
that does not know about the 10 address segments.

The problem is that the contact field contains only the 10.0.0.2 address,
rather a different address that is required by the 172 address set
(172.20.12.30), although it is routed to the freeswitch machine, so it
place it on the SIP contact field, and the other side disprove of it and
return me 401 message.

I can not change this fucked up networking issue, or create even a virtual
device on freeswitch server that it could bind itself to a 172 address.

The really weird part, is that the sdp actually does send the 172.20.12.30
address, but the contact is 10.0.0.2.

Is there a way in freeswitch to rewrite the rule to set the address to 172
instead ?


Thanks,
Ido
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140610/4f9d659a/attachment.html 


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