My VoIP provider supports both IPv4 and IPV6 registrations.  I can only have one registration active at a time.  Freeswitch is attempting both IPv4 and IPv6 connections.  Randomly, sometimes a IPv4 connection is the first (only) registration established; other times it is the IPv6 connection.

 

How to I configure Freeswitch to deterministically only attempt one type (my choice of either IPv4 or IPv6) of connection?

 

freeswitch@ip-172-31-33-109.ec2.internal> sofia status

 

                     Name          Type                                       Data      State

=================================================================================================

            external-ipv6       profile                   sip:mod_sofia@[::1]:5080      RUNNING (0)

external-ipv6::switch2voip.us   gateway               sip:XXXXXXXXXX@66.33.147.150      REGED

                 external       profile          sip:mod_sofia@54.174.255.168:5080      RUNNING (0)

external::switch2voip.us       gateway               sip:XXXXXXXXXX@66.33.147.150      TRYING (retry: 20s)

            172.31.33.109         alias                                   internal      ALIASED

            internal-ipv6       profile                   sip:mod_sofia@[::1]:5060      RUNNING (0)

                 internal       profile          sip:mod_sofia@54.174.255.168:5060      RUNNING (0)

=================================================================================================

4 profiles 1 alias

 

freeswitch@ip-172-31-33-109.ec2.internal>

 

Thanks,

 

George