FreeSWITCH does one or the other, you should pick where you want your gateway to register at, and only allow it there and there only.

On Fri, Jan 2, 2015 at 10:02 AM, George F. Phelps <GeorgePhelps@gfphelps.com> wrote:

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

 


_________________________________________________________________________
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



--

Brian West
brian@freeswitch.org


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest