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

David Ponzone david.ponzone at gmail.com
Wed Apr 19 21:15:05 MSD 2017


Do you have the same result if you do:

originate {origination_caller_id_number=721103370}sofia/gateway/gw_int2expresso/707139428 <mailto:707139428 at 10.71.3.100> &echo()

Also, can you try with FS 1.6.17 ?

David Ponzone  Direction Technique
email: david.ponzone at ipeva.fr <mailto:david.ponzone at ipeva.fr>
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26
www.ipeva.fr <blocked::http://www.ipeva.fr/>  -   www.ipeva-studio.com <blocked::http://www.ipeva-studio.com/>

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




> Le 19 avr. 2017 à 18:27, David Villasmil <david.villasmil.work at gmail.com> a écrit :
> 
> Hello guys,
> 
> I believe everything is setup properly:
> 
> freeswitch at internal> sofia status
>                      Name	   Type	                                      Data	State
> =================================================================================================
>              int2expresso	profile	           sip:mod_sofia at 172.16.110.6:5060 <http://sip:mod_sofia@172.16.110.6:5060/>	RUNNING (0)
>              int2expresso	profile	           sip:mod_sofia at 172.16.110.6:5061 <http://sip:mod_sofia@172.16.110.6:5061/>	RUNNING (0) (TLS)
> int2expresso::gw_int2expresso	gateway	                      sip:none at 10.71.3.100 <mailto:sip%3Anone at 10.71.3.100>	NOREG
> 
> Anyway I got it to work by forcing the profile like:
> 
> 
> originate {origination_caller_id_number=721103370}sofia/int2expresso/707139428 at 10.71.3.100 <mailto:707139428 at 10.71.3.100> &echo()
> 
> 
> That works :)
> 
> Thanks for your help guys.
> 
> David
>> 
> Regards,
> 
> David Villasmil
> email: david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>
> phone: +34669448337
> 
> On Wed, Apr 19, 2017 at 5:22 PM, Anthony Minessale <anthony.minessale at gmail.com <mailto:anthony.minessale at gmail.com>> wrote:
> There was once a bug like this but its hard to tell with the vague info.  The thread is missing relevant info such as version etc.
> That is why we have JIRA for reporting bugs and a mailing list for discussing stuff.
> 
> 
> On Wed, Apr 19, 2017 at 10:15 AM, Brian West <brian at freeswitch.org <mailto:brian at freeswitch.org>> wrote:
> outbound proxy set? sofia loglevel all 9 and see, I can't imagine why it would do that unless you have a netmask incorrect somewhere.
> 
> On Tue, Apr 18, 2017 at 1:53 PM, David Villasmil <david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>> wrote:
> Hello Brian,
> 
> I have 2 profiles, one on each ip. And the gw is configured on the private side... 
> On Tue, Apr 18, 2017 at 8:33 PM Brian West <brian at freeswitch.org <mailto:brian at freeswitch.org>> wrote:
> Thats all going to depend on what you've setup on your sofia profile and where its bound.
> 
> /b
> 
> 
> On Tue, Apr 18, 2017 at 11:55 AM, David Villasmil <david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>> wrote:
> 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 <http://1.2.3.245:5080/> -> 10.71.3.100:5060 <http://10.71.3.100:5060/>
> INVITE sip:2222222 at 10.71.3.100 <mailto:sip%3A2222222 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 <mailto:sip%3A1111111 at 1.2.3.245>>;tag=Zv4XUZNaDamHc.
> To: <sip:2222222 at 10.71.3.100 <mailto:sip%3A2222222 at 10.71.3.100>>.
> Call-ID: 1eca3592-9ef9-1235-63ae-0026b955dc81.
> CSeq: 105930868 INVITE.
> Contact: <sip:gw+gw_int2expresso at 1.2.3. <mailto:sip%3Agw%2Bgw_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 <mailto:sip%3A1111111 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 <http://10.10.0.0/24> dev eth0  proto kernel  scope link  src 10.10.0.112
> 10.71.0.0/24 <http://10.71.0.0/24> via 172.16.110.5 dev eth1
> 172.16.110.4/30 <http://172.16.110.4/30> dev eth1  proto kernel  scope link  src 172.16.110.6
> 1.2.3.240/29 <http://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 <mailto:david.villasmil.work at gmail.com>
> phone: +34669448337 <tel:+34%20669%2044%2083%2037>
>> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> 
> 
> -- 
> Brian West
> brian at freeswitch.org <mailto:brian at freeswitch.org>
> Twitter: @FreeSWITCH , @briankwest
> 
> http://www.freeswitchbook.com <http://www.freeswitchbook.com/> 
> http://www.freeswitchcookbook.com <http://www.freeswitchcookbook.com/>
> Book a phone call (CST) <https://freeswitch.com/appointment>
> 
> Allison prompts for FreeSWITCH:
> 
> https://www.gofundme.com/allison-prompts-for-freeswitch <https://www.gofundme.com/allison-prompts-for-freeswitch>
> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
> T:+19184209001 <tel:(918)%20420-9001> | F:+19184209002 <tel:(918)%20420-9002> | M:+1918424WEST (9378)
> Skype:briankwest
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> 
> 
> -- 
> Brian West
> brian at freeswitch.org <mailto:brian at freeswitch.org>
> Twitter: @FreeSWITCH , @briankwest
> 
> http://www.freeswitchbook.com <http://www.freeswitchbook.com/> 
> http://www.freeswitchcookbook.com <http://www.freeswitchcookbook.com/>
> Book a phone call (CST) <https://freeswitch.com/appointment>
> 
> Allison prompts for FreeSWITCH:
> 
> https://www.gofundme.com/allison-prompts-for-freeswitch <https://www.gofundme.com/allison-prompts-for-freeswitch>
> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
> T:+19184209001 <tel:(918)%20420-9001> | F:+19184209002 <tel:(918)%20420-9002> | M:+1918424WEST (9378)
> Skype:briankwest
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> 
> 
> -- 
> Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
> 
>http://freeswitch.org/ <http://freeswitch.org/>  ☞ http://cluecon.com/ <http://cluecon.com/>  ☞ http://twitter.com/FreeSWITCH <http://twitter.com/FreeSWITCH>
> ☞ irc.freenode.net <http://irc.freenode.net/> #freeswitch ☞ http://freeswitch.org/g+ <http://freeswitch.org/g+>
> 
> ClueCon Weekly Development Call 
> ☎ sip:888 at conference.freeswitch.org <mailto:sip%3A888 at conference.freeswitch.org>  ☎ +19193869900 <tel:(919)%20386-9900> 
> 
> https://www.youtube.com/watch?v=9XXgW34t40s <https://www.youtube.com/watch?v=9XXgW34t40s>
> https://www.youtube.com/watch?v=NLaDpGQuZDA <https://www.youtube.com/watch?v=NLaDpGQuZDA>
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170419/c82a985c/attachment-0001.html 


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