RTP handling from different freeswitch
Hello, I have my setup at Norway and some of my customers are in USA so i have concern about audio latency. I want the configuration such a way that if USA customer is calling than the rtp should route through my USA freeswitch servers however sip should route through Norway setup. Is there any way i can achieve this? I have tried modifying rtp-ip but i am getting 'DESTINATION_OUT_OF_ORDER' 2017-05-02 08:50:42.650711 [ERR] switch_core_media.c:5843 AUDIO RTP REPORTS ERROR: [Bind Error! 65.11.17.9:25146] 2017-05-02 08:50:42.650711 [NOTICE] switch_core_media.c:5844 Hangup sofia/default/12345679 [CS_CONSUME_MEDIA] [DESTINATION_OUT_OF_ORDER]
Although I don’t have the answer to your question, it would make much more sense for your server in the US to handle both SIP and RTP traffic as this will reduce call setup time and points of failure. Presume the reason you want it setup that way is so you can transfer to extensions based in different regions but you could have extensions which are homed on different servers and use a LUA script to route calls between the servers. LUA script are very flexible, we do something similar for routing external numbers between multiple pools of servers. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of devang nathwani Sent: 02 May 2017 14:07 To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] RTP handling from different freeswitch Hello, I have my setup at Norway and some of my customers are in USA so i have concern about audio latency. I want the configuration such a way that if USA customer is calling than the rtp should route through my USA freeswitch servers however sip should route through Norway setup. Is there any way i can achieve this? I have tried modifying rtp-ip but i am getting 'DESTINATION_OUT_OF_ORDER' 2017-05-02 08:50:42.650711 [ERR] switch_core_media.c:5843 AUDIO RTP REPORTS ERROR: [Bind Error! 65.11.17.9:25146<http://65.11.17.9:25146>] 2017-05-02 08:50:42.650711 [NOTICE] switch_core_media.c:5844 Hangup sofia/default/12345679 [CS_CONSUME_MEDIA] [DESTINATION_OUT_OF_ORDER] ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ [http://www.itec-support.co.uk/wp-content/uploads/2016/07/email_logo.jpg] Shaun Stokes - Infrastructure Analyst T : 01453 700713 E : shaun.stokes@itec-support.co.uk W : www.itec-support.co.uk Registered Address :- ITEC Support, Suite 2 Prospect House, Bath Road, Stroud, Gloucestershire GL5 3QF Company No. 06908001 CONFIDENTIALITY NOTICE This communication and the information it contains are intended for the person or organisation to which it is addressed. Its contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please contact us immediately. The contents of any attachments in this e-mail may contain software viruses, which could damage your own computer system. While ITEC Support has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checking procedure before opening any attachment. ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
Hi,all I really want to tell you an Chinese story ,but my english is poor. Anyway , I just want to say , we can resolve "difficult" things in a simple way. devang , the key of your question is , how to define your "USA customer" and "Norway customer"? IP address? or Call-in Number? if you use "ip address" , Many DNS Service provider will glad to help you redirect traffic to "optimized destination". I.E ,your USA customer get DNS resolve result to usa server ip ,and your Norway customer get Norway server ip. it's called “intelligent dns service”. That's why we use "Domain Name" in internet. And the reason of 'DESTINATION_OUT_OF_ORDER' is so clear. Freeswtich already told you ,"[Bind Error! 65.11.17.9:25146]" . Maybe , 65.11.17.9 is not your server ip ,maybe the port 25146 has been used. and maybe ...... ,plz check it out yourself . Raymond 在 2017-05-02 21:06:53,"devang nathwani" <devang.nathwani31589@gmail.com> 写道: Hello, I have my setup at Norway and some of my customers are in USA so i have concern about audio latency. I want the configuration such a way that if USA customer is calling than the rtp should route through my USA freeswitch servers however sip should route through Norway setup. Is there any way i can achieve this? I have tried modifying rtp-ip but i am getting 'DESTINATION_OUT_OF_ORDER' 2017-05-02 08:50:42.650711 [ERR] switch_core_media.c:5843 AUDIO RTP REPORTS ERROR: [Bind Error! 65.11.17.9:25146] 2017-05-02 08:50:42.650711 [NOTICE] switch_core_media.c:5844 Hangup sofia/default/12345679 [CS_CONSUME_MEDIA] [DESTINATION_OUT_OF_ORDER]
Hi, You can use a kamailio in front of your FS servers with geoip module, and load balance sip INVITE depending the ip address location. Regards Mathias Le 03/05/2017 à 14:02, Raymond a écrit :
Hi,all
I really want to tell you an Chinese story ,but my english is poor. Anyway , I just want to say , we can resolve "difficult" things in a simple way.
devang , the key of your question is , how to define your "USA customer" and "Norway customer"? IP address? or Call-in Number?
if you use "ip address" , Many DNS Service provider will glad to help you redirect traffic to "optimized destination". I.E ,your USA customer get DNS resolve result to usa server ip ,and your Norway customer get Norway server ip. it's called “intelligent dns service”. That's why we use "Domain Name" in internet.
And the reason of 'DESTINATION_OUT_OF_ORDER' is so clear. Freeswtich already told you ,"[Bind Error! 65.11.17.9:25146 <http://65.11.17.9:25146/>]" . Maybe , 65.11.17.9 <http://65.11.17.9:25146/> is not your server ip ,maybe the port 25146 has been used. and maybe ...... ,plz check it out yourself .
Raymond
在 2017-05-02 21:06:53,"devang nathwani" <devang.nathwani31589@gmail.com> 写道:
Hello,
I have my setup at Norway and some of my customers are in USA so i have concern about audio latency.
I want the configuration such a way that if USA customer is calling than the rtp should route through my USA freeswitch servers however sip should route through Norway setup.
Is there any way i can achieve this?
I have tried modifying rtp-ip but i am getting 'DESTINATION_OUT_OF_ORDER'
2017-05-02 08:50:42.650711 [ERR] switch_core_media.c:5843 AUDIO RTP REPORTS ERROR: [Bind Error! 65.11.17.9:25146 <http://65.11.17.9:25146>] 2017-05-02 08:50:42.650711 [NOTICE] switch_core_media.c:5844 Hangup sofia/default/12345679 [CS_CONSUME_MEDIA] [DESTINATION_OUT_OF_ORDER]
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- ...................................................................... Mathias WOLFF Expert Télécom @ CELEA CONSULTING Tel : +33 9.72.13.22.62 Gsm : +33 6.79.59.43.32 Fax : +33 2.40.63.41.33 Mattermost : https://framateam.org/celea/channels/pyfreebilling site web : www.celea-consulting.fr Blog : www.blog-des-telecoms.com PyFreeBilling : www.pyfreebilling.com ......................................................................
participants (4)
-
CELEA : Mathias
-
devang nathwani
-
Raymond
-
Shaun Stokes