[Freeswitch-users] fs sending from the wrong ip?

David Villasmil david.villasmil.work at gmail.com
Tue Apr 18 20:55:13 MSD 2017


Hello guys,

i've got this weird situation where I have multiple interfaces on my FS.
I have one default gateway with ip i.e. 1.2.3.245 and another with ip
172.16.110.6,
on my dialplan i'm sending the bridge to 10.71.3.100 which is supposed to
go out via 172.16.110.6, but i see fs sending on the correct interface but
with a wrong ip:


U 1.2.3.245:5080 -> 10.71.3.100:5060
INVITE sip:2222222 at 10.71.3.100 SIP/2.0.
Via: SIP/2.0/UDP 1.2.3.245:5080;rport;branch=z9hG4bKXpZN0ZQQN6B9j.
Max-Forwards: 69.
From: "1111111" <sip:1111111 at 1.2.3.245>;tag=Zv4XUZNaDamHc.
To: <sip:2222222 at 10.71.3.100>.
Call-ID: 1eca3592-9ef9-1235-63ae-0026b955dc81.
CSeq: 105930868 INVITE.
Contact: <sip:gw+gw_int2expresso at 1.2.3.245:5080
;transport=udp;gw=gw_int2expresso>.
User-Agent:
FreeSWITCH-mod_sofia/1.4.26+git~20160205T175853Z~ca9207aa32~64bit.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
REFER, NOTIFY.
Supported: timer, path, replaces.
Allow-Events: talk, hold, conference, refer.
Content-Type: application/sdp.
Content-Disposition: session.
Content-Length: 275.
X-cid: MGNiZjNlZTA1NmY0YThlNjAyZTZkNjNjN2NmYTViNTM..
X-FS-Support: update_display,send_info.
Remote-Party-ID: "1111111" <sip:1111111 at 1.2.3.245
>;party=calling;screen=yes;privacy=off.


my routes:

root at HayoSW:~# ip route
default via 1.2.3.241 dev eth0  metric 100
10.10.0.0/24 dev eth0  proto kernel  scope link  src 10.10.0.112
10.71.0.0/24 via 172.16.110.5 dev eth1
172.16.110.4/30 dev eth1  proto kernel  scope link  src 172.16.110.6
1.2.3.240/29 dev eth0  proto kernel  scope link  src 1.2.3.245

Help is greatly appreciated!

Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170418/19164dc7/attachment.html 


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