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]"  .  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]


 



_________________________________________________________________________
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
......................................................................