After new install, NO alias or Gateways

Status
Not open for further replies.

Tuly

Member
Sep 6, 2017
42
1
8
39
I just installed a brand new fusion PBP loaded my old database backup, everything looks fine I have quite a few accounts all extensions are there all voicemails I can even register and make internal calls, but outgoing calls fail, im getting an error INVALED GATEWAY,

when I go to sofia status I see no alias or Gateways as in the pic attached, I rebooted many times and re scanned but no lock, any idea what could be wrong?
 

Attachments

  • Capture.JPG
    Capture.JPG
    104.4 KB · Views: 26

Tuly

Member
Sep 6, 2017
42
1
8
39
i see that all my Gatewasy are status "STOPPED" when i try to start itt just not starting, and i see no errors,


2019-02-13 16:32:34.341026 [INFO] mod_enum.c:880 ENUM Reloaded
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-version [tlsv1]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 sip-capture [no]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 rfc2833-pt [101]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 sip-port [5080]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 dialplan [XML]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 track-calls [false]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 context [public]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 dtmf-type [rfc2833]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 dtmf-duration [2000]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 inbound-codec-prefs [G7221@32000h,G7221@16000h,G722,PCMU,PCMA]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 outbound-codec-prefs [PCMU,PCMA]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 hold-music [local_stream://default]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 zrtp-passthru [true]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 rtp-timer-name [soft]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 manage-presence [false]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 local-network-acl [localnet.auto]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 apply-nat-acl [nat.auto]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 apply-inbound-acl [domains]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 inbound-codec-negotiation [generous]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 nonce-ttl [60]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 auth-calls [true]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 rtp-ip [xxxxxxxxxxxx]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 sip-ip [xxxxxxxxxx]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 ext-rtp-ip [xxxxxxxxxxxx]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 ext-sip-ip [xxxxxxxxxxxx]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 rtp-timeout-sec [300]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 rtp-hold-timeout-sec [1800]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls [false]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-only [false]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-bind-params [transport=tls]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-sip-port [5081]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-cert-dir [/etc/freeswitch/tls]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-passphrase []
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-verify-date [true]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-verify-depth [2]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-verify-in-subjects []
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 debug [0]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 user-agent-string [FreeSWITCH]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 sip-trace [no]
2019-02-13 16:32:34.341026 [INFO] sofia.c:5987 Setting MAX Auth Validity to 0 Attempts
2019-02-13 16:32:34.341026 [INFO] switch_time.c:1422 Timezone reloaded 530 definitions
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,070
577
113
So basically, you have just loaded a database on fusionpbx version xxx to a fusionpbx version yyy.

In most case that isn't going to work, you now have all the code for one version but the database for another, you have effectively got half an upgrade.

What would be best is to upgrade the old version to the same fusionpbx version as the new.

You can try advanced/upgrade and run through the checkboxes one at a time, this may fix it but you want to also look at the documentaion for a version upgrade.
 

Tuly

Member
Sep 6, 2017
42
1
8
39
the server from where i toke the backup is 4.4.2 and the new server is 4.4.3, and i did fallow all upgrade instructions, but no gateways will start, i see this when looking for the gatewasy

freeswitch@f2> sofia status gateway
Profile::Gateway-Name Data State Ping Time IB Calls(F/T) OB Calls(F/T)
=================================================================================================
=================================================================================================
0 gateways: Inbound(Failed/Total): 0/0,Outbound(Failed/Total):0/0






i even delete all gateways and recreate it but it still would not start, (out gateways do not require registrations)
 

Tuly

Member
Sep 6, 2017
42
1
8
39
As abover this is what i get in FC_cli when trying to restart the gateways

2019-02-13 16:32:34.341026 [INFO] mod_enum.c:880 ENUM Reloaded
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-version [tlsv1]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 sip-capture [no]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 rfc2833-pt [101]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 sip-port [5080]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 dialplan [XML]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 track-calls [false]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 context [public]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 dtmf-type [rfc2833]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 dtmf-duration [2000]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 inbound-codec-prefs [G7221@32000h,G7221@16000h,G722,PCMU,PCMA]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 outbound-codec-prefs [PCMU,PCMA]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 hold-music [local_stream://default]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 zrtp-passthru [true]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 rtp-timer-name [soft]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 manage-presence [false]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 local-network-acl [localnet.auto]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 apply-nat-acl [nat.auto]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 apply-inbound-acl [domains]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 inbound-codec-negotiation [generous]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 nonce-ttl [60]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 auth-calls [true]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 rtp-ip [xxxxxxxxxxxx]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 sip-ip [xxxxxxxxxx]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 ext-rtp-ip [xxxxxxxxxxxx]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 ext-sip-ip [xxxxxxxxxxxx]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 rtp-timeout-sec [300]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 rtp-hold-timeout-sec [1800]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls [false]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-only [false]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-bind-params [transport=tls]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-sip-port [5081]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-cert-dir [/etc/freeswitch/tls]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-passphrase []
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-verify-date [true]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-verify-depth [2]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 tls-verify-in-subjects []
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 debug [0]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 user-agent-string [FreeSWITCH]
2019-02-13 16:32:34.341026 [DEBUG] sofia.c:4637 sip-trace [no]
2019-02-13 16:32:34.341026 [INFO] sofia.c:5987 Setting MAX Auth Validity to 0 Attempts
2019-02-13 16:32:34.341026 [INFO] switch_time.c:1422 Timezone reloaded 530 definitions
 
Status
Not open for further replies.