Brian West,

 

With my mostly default, current configuration, I am seeing Freeswitch send out simultaneous IPv4 and IPv6 registration attempts — not just one or the other.

 

I am only configuring the (IPv4) IP address of the SIP proxy.  I assume Freeswitch is defaulting to use port 5060.  And empirically, it’s completely random as to which type of registration (IPv4 vs. IPv6) succeeds.  And if, for example, IPv6 registration succeeds, then the registration attempts for IPv4 continue retrying in the background.  See my “sofia status” output below —  IPv6=REGED and IPv4=TRYING (retry: 20s).

 

My specific question is what Freeswitch configuration should I change to only have one type of registration?  How do I: “…you should pick where you want your gateway to register at, and only allow it there and there only…”?

 

Thanks,

 

George

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: Friday, January 02, 2015 12:13 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Control of IPv6 vs. IPv4

 

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