[Freeswitch-users] gateways testing DNS SRV records

Raymond Chandler intralanman at freeswitch.org
Thu Oct 24 22:49:35 MSD 2013


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 at 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 at 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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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




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