[Freeswitch-users] Control of IPv6 vs. IPv4

George F. Phelps GeorgePhelps at gfphelps.com
Fri Jan 2 21:12:20 MSK 2015


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 at lists.freeswitch.org [mailto:freeswitch-users-bounces at 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 at 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 at 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 at 66.33.147.150 <mailto:sip%3AXXXXXXXXXX at 66.33.147.150>       REGED

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

external::switch2voip.us       gateway               sip:XXXXXXXXXX at 66.33.147.150 <mailto:sip%3AXXXXXXXXXX at 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 at 54.174.255.168:5060      RUNNING (0)

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

4 profiles 1 alias

 

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

 

Thanks,

 

George

 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at 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 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





 

-- 

Brian West
brian at freeswitch.org

  <http://billing.freeswitch.org/templates/default/img/whmcslogo.png> 

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150102/9f885d2b/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6528 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150102/9f885d2b/attachment-0001.bin 


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