IPv6 Gateway Setup

Status
Not open for further replies.

kobus.morgan

Member
Feb 1, 2017
38
1
8
40
Hi Guys,

Hope you all are keeping well.

Im in the process of setting up an IPv6 registration tunnel from Fusion. I think I have the correct setup done, but just getting FAIL_WAIT on the GW.

Below is my fs_cli:

freeswitch@fusionlab-ha1>
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 auth-subscriptions [true]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 auth-all-packets [false]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 auth-calls [true]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 context [public]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 debug [0]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 dialplan [XML]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 dtmf-duration [2000]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 dtmf-type [rfc2833]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 hold-music [local_stream://default]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 inbound-codec-negotiation [generous]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 inbound-codec-prefs [G7221@32000h,G7221@16000h,G722,PCMU,PCMA]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 local-network-acl [localnet.auto]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 manage-presence [false]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 nonce-ttl [60]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 outbound-codec-prefs [PCMU,PCMA]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 rfc2833-pt [101]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 rtp-hold-timeout-sec [1800]
2020-08-12 09:21:11.262647 [WARNING] sofia.c:5234 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 rtp-ip [2c0f:fd58:1600:ff02::50]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 rtp-timeout-sec [300]
2020-08-12 09:21:11.262647 [WARNING] sofia.c:5227 rtp-timeout-sec deprecated use media_timeout variable.
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 rtp-timer-name [soft]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 sip-capture [no]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 sip-ip [2c0f:fd58:1600:ff02::50]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 sip-port [5080]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 sip-trace [no]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 tls [false]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 tls-bind-params [transport=tls]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 tls-cert-dir [/etc/freeswitch/tls]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 tls-only [false]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 tls-passphrase []
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 tls-sip-port [5081]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 tls-verify-date [true]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 tls-verify-depth [2]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 tls-verify-in-subjects []
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 tls-version [tlsv1,tlsv1.1,tlsv1.2]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 track-calls [false]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 user-agent-string [FreeSWITCH]
2020-08-12 09:21:11.262647 [DEBUG] sofia.c:4628 zrtp-passthru [true]
2020-08-12 09:21:11.262647 [INFO] sofia.c:6028 Setting MAX Auth Validity to 0 Attempts
2020-08-12 09:21:11.262647 [NOTICE] sofia_reg.c:3426 Added gateway 'f1728337-8961-48f1-aa17-4fe8accdf901' to profile 'external-ipv6'
2020-08-12 09:21:11.262647 [INFO] mod_enum.c:884 ENUM Reloaded
2020-08-12 09:21:11.262647 [INFO] switch_time.c:1430 Timezone reloaded 530 definitions
nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering
nua_common.c:122 nh_create_handle() nua(0x7ff844029c30): creating handle 0x7ff818226190 failed
nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering
2020-08-12 09:21:11.802756 [NOTICE] sofia_reg.c:454 Registering f1728337-8961-48f1-aa17-4fe8accdf901
nua.c:622 nua_register() nua: nua_register: entering
nua.c:622 nua_register() nua: nua_r_register with invalid handle (nil)
freeswitch@fusionlab-ha1>

FYI - I did the setup as outlined on https://docs.fusionpbx.com/en/latest/advanced/external_ipv6_sip_profile.html

Any advise would be great, thank you.

Kobus
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,498
413
83
Kobus, your debug output looks OK to me, clearly it is getting to the point where registration is being attempted. I'm not sure what "nua_r_register with invalid handle (nil)" actually means, it clearly indicates a failure, but what I don't know is if the failure is in generating the outgoing REGISTER message or with the response (or non response) from your SIP provider.

The next thing I would do, would be to get a packet capture to understand what, if anything, is being exchanged between your Fusion and your SIP provider.
 

kobus.morgan

Member
Feb 1, 2017
38
1
8
40
Kobus, your debug output looks OK to me, clearly it is getting to the point where registration is being attempted. I'm not sure what "nua_r_register with invalid handle (nil)" actually means, it clearly indicates a failure, but what I don't know is if the failure is in generating the outgoing REGISTER message or with the response (or non response) from your SIP provider.

The next thing I would do, would be to get a packet capture to understand what, if anything, is being exchanged between your Fusion and your SIP provider.

Hi Adrian,

From what I can tell it seems that Fusion is not attempting any SIP messaging. I've tried capturing on the SBC but cannot see anything SIP related coming through.

I have tried googling "nua_r_register with invalid handle (nil)" to no avail. As if its something new that no one has heard about.

Think Im going to troubleshoot fusion further. Although its seeing the ipv6 trunk and all that, doesnt look like it sending it that way.

Thanks for the feedback though.

Kobus
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,070
577
113
try: sofia global siptrace on

I would guess that if it is not sending the sip, then its failed somewhere at the tls level.
 
Status
Not open for further replies.