Yes, FreeSWITCH supports SRV records, and handles them correctly. When I use sofia_dig, I see the IP and the port that are returned from DNS lookups via dig. If you're not, then you or your provider must have something misconfigured. freeswitch@internal> sofia_dig sip.flowroute.com Preference Weight Transport Port Address ================================================================================ 1 1.000 udp 5060 216.115.69.144 2 1.000 udp 5060 70.167.153.130 freeswitch@internal> sofia_dig callcentric.com Preference Weight Transport Port Address ================================================================================ 1 0.000 udp 5080 204.11.192.161 1 0.000 udp 5080 204.11.192.163 1 0.000 udp 5080 204.11.192.164 1 0.000 udp 5080 204.11.192.169 1 0.000 udp 5080 204.11.192.170 1 0.000 udp 5080 204.11.192.171 1 0.000 udp 5080 204.11.192.159 1 0.000 udp 5080 204.11.192.160 -Ray On 10/24/2013 01:13 PM, Karl Schmidt wrote:
I'm trying to figure out a way to see if a freeswitch gateway respects SRV records.
I've been trying different sofia commands without finding the IP that it is using.
sofia_dig returns just the A records.
To be clear - let's say you are using example.com as your DID and have a gateway set up.
The provider should have SRV records so that there can be graceful failures.
To see the IPs to use - do
dig SRV _sip._upd.example.com
So my precise question is how to see the IP freeswitch is using for a gateway. (I'm assuming that freeswitch knows how to use SRV records?)
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434
It’s no wonder that truth is stranger than fiction. Fiction has to make sense. Mark Twain --------------------------------------------------------------------------------
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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