I have an asterisk/freepbx setup that is connecting to a clearfly SIP Trunk. Problem is, we lost power for 4 days due to a storm. When we got power back, it’s not connecting to the SIP Trunk. Here are the contents of some of the log files when I tailed the logs in /var/logs/asterisk while I issue a “sip reload” from the CLI in FreePBX Admin:
Are there any hints in there as to why my server will no longer attempt to register to the SIP Trunk? Clearfly has confirmed that they are not receiving any registration requests.
Thanks!!
==> fail2ban <==
[2020-09-13 19:16:22] SECURITY[2375] res_security_log.c: SecurityEvent=“FailedACL”,EventTV=“2020-09-13T19:16:22.313+0000”,Severity=“Error”,Service=“PJSIP”,EventVersion=“1”,AccountID=“anonymous”,SessionID=“444007907-532038660-445775167”,LocalAddress=“IPV4/UDP/192.168.10.36/5060”,RemoteAddress=“IPV4/UDP/185.108.106.251/59664”,ACLName=“registrar_attempt_without_configured_aors”
[2020-09-13 19:16:25] WARNING[4712][C-0000002b] Ext. s: “Rejecting unknown SIP connection from 77.247.178.140:59625”
[2020-09-13 19:16:29] WARNING[4713][C-0000002c] Ext. s: “Rejecting unknown SIP connection from 45.143.220.225:65500”
[2020-09-13 19:16:41] WARNING[4715][C-0000002d] Ext. s: “Rejecting unknown SIP connection from 77.247.178.141:65251”
[2020-09-13 19:16:50] SECURITY[2375] res_security_log.c: SecurityEvent=“SuccessfulAuth”,EventTV=“2020-09-13T19:16:50.120+0000”,Severity=“Informational”,Service=“AMI”,EventVersion=“1”,AccountID=“admin”,SessionID=“0x7ff10c000b10”,LocalAddress=“IPV4/TCP/127.0.0.1/5038”,RemoteAddress=“IPV4/TCP/127.0.0.1/39924”,UsingPassword=“0”,SessionTV=“2020-09-13T19:16:50.120+0000”
[2020-09-13 19:16:54] WARNING[4734][C-0000002e] Ext. s: “Rejecting unknown SIP connection from 37.49.229.237:16674”
[2020-09-13 19:16:55] WARNING[2326] res_pjsip_registrar.c: Endpoint ‘anonymous’ has no configured AORs
[2020-09-13 19:16:55] SECURITY[2375] res_security_log.c: SecurityEvent=“FailedACL”,EventTV=“2020-09-13T19:16:55.297+0000”,Severity=“Error”,Service=“PJSIP”,EventVersion=“1”,AccountID=“anonymous”,SessionID=“157996911-1562040402-1123550758”,LocalAddress=“IPV4/UDP/192.168.10.36/5060”,RemoteAddress=“IPV4/UDP/185.108.106.251/63933”,ACLName=“registrar_attempt_without_configured_aors”
[2020-09-13 19:17:01] SECURITY[2375] res_security_log.c: SecurityEvent=“SuccessfulAuth”,EventTV=“2020-09-13T19:17:01.718+0000”,Severity=“Informational”,Service=“AMI”,EventVersion=“1”,AccountID=“admin”,SessionID=“0x7ff11c0009d0”,LocalAddress=“IPV4/TCP/127.0.0.1/5038”,RemoteAddress=“IPV4/TCP/127.0.0.1/39930”,UsingPassword=“0”,SessionTV=“2020-09-13T19:17:01.718+0000”
[2020-09-13 19:17:05] SECURITY[2375] res_security_log.c: SecurityEvent=“SuccessfulAuth”,EventTV=“2020-09-13T19:17:05.168+0000”,Severity=“Informational”,Service=“AMI”,EventVersion=“1”,AccountID=“admin”,SessionID=“0x7ff114000bb0”,LocalAddress=“IPV4/TCP/127.0.0.1/5038”,RemoteAddress=“IPV4/TCP/127.0.0.1/39936”,UsingPassword=“0”,SessionTV=“2020-09-13T19:17:05.168+0000”
==> fail2ban-20200913 <==
[2020-09-13 03:11:02] WARNING[9555][C-000000a5] Ext. s: “Rejecting unknown SIP connection from 45.143.220.225:57839”
[2020-09-13 03:11:20] SECURITY[2810] res_security_log.c: SecurityEvent=“SuccessfulAuth”,EventTV=“2020-09-13T03:11:20.744+0000”,Severity=“Informational”,Service=“AMI”,EventVersion=“1”,AccountID=“admin”,SessionID=“0x7ff494002880”,LocalAddress=“IPV4/TCP/127.0.0.1/5038”,RemoteAddress=“IPV4/TCP/127.0.0.1/51038”,UsingPassword=“0”,SessionTV=“2020-09-13T03:11:20.744+0000”
[2020-09-13 03:11:26] SECURITY[2810] res_security_log.c: SecurityEvent=“SuccessfulAuth”,EventTV=“2020-09-13T03:11:26.284+0000”,Severity=“Informational”,Service=“AMI”,EventVersion=“1”,AccountID=“admin”,SessionID=“0x7ff490001530”,LocalAddress=“IPV4/TCP/127.0.0.1/5038”,RemoteAddress=“IPV4/TCP/127.0.0.1/51044”,UsingPassword=“0”,SessionTV=“2020-09-13T03:11:26.284+0000”
[2020-09-13 03:11:38] WARNING[2760] res_pjsip_registrar.c: Endpoint ‘anonymous’ has no configured AORs
[2020-09-13 03:11:38] SECURITY[2810] res_security_log.c: SecurityEvent=“FailedACL”,EventTV=“2020-09-13T03:11:38.738+0000”,Severity=“Error”,Service=“PJSIP”,EventVersion=“1”,AccountID=“anonymous”,SessionID=“233421537-885491550-1737642707”,LocalAddress=“IPV4/UDP/192.168.10.36/5060”,RemoteAddress=“IPV4/UDP/185.108.106.251/50248”,ACLName=“registrar_attempt_without_configured_aors”
[2020-09-13 03:11:41] WARNING[9630][C-000000a6] Ext. s: “Rejecting unknown SIP connection from 77.247.178.140:58507”
[2020-09-13 03:11:51] WARNING[9631][C-000000a7] Ext. s: “Rejecting unknown SIP connection from 46.166.151.103:62246”
[2020-09-13 03:11:53] WARNING[9633][C-000000a8] Ext. s: “Rejecting unknown SIP connection from 77.247.178.141:60684”
[2020-09-13 03:11:56] SECURITY[2810] res_security_log.c: SecurityEvent=“SuccessfulAuth”,EventTV=“2020-09-13T03:11:56.011+0000”,Severity=“Informational”,Service=“AMI”,EventVersion=“1”,AccountID=“admin”,SessionID=“0x7ff4b00016b0”,LocalAddress=“IPV4/TCP/127.0.0.1/5038”,RemoteAddress=“IPV4/TCP/127.0.0.1/51052”,UsingPassword=“0”,SessionTV=“2020-09-13T03:11:56.011+0000”
[2020-09-13 03:11:58] WARNING[9652][C-000000a9] Ext. s: “Rejecting unknown SIP connection from 45.143.220.225:53915”
==> ucp_err.log <==
2020-09-13 00:20 +00:00: { Error: Can’t connect to MySQL server on ‘127.0.0.1’ (111 “Connection refused”) code: 2003 }
2020-09-13 00:20 +00:00: There was an error with MySQL Connection
2020-09-13 00:20 +00:00: { Error: Can’t connect to MySQL server on ‘127.0.0.1’ (111 “Connection refused”) code: 2003 }
2020-09-13 00:20 +00:00: There was an error with MySQL Connection
2020-09-13 00:20 +00:00: { Error: Can’t connect to MySQL server on ‘127.0.0.1’ (111 “Connection refused”) code: 2003 }
2020-09-13 00:20 +00:00: There was an error with MySQL Connection
2020-09-13 10:30 +00:00: { Error: MySQL server has gone away code: 2006 }
2020-09-13 10:30 +00:00: There was an error with MySQL Connection
2020-09-13 18:30 +00:00: { Error: MySQL server has gone away code: 2006 }
2020-09-13 18:30 +00:00: There was an error with MySQL Connection
==> ucp_out.log <==
2020-09-13 18:57 +00:00: Secure Server up and running at 8003 port
2020-09-13 19:06 +00:00: Starting FreePBX…2020-09-13 19:06 +00:00: FreePBX is Ready!
2020-09-13 19:06 +00:00: Asterisk version is: 16.13.0
2020-09-13 19:06 +00:00: Loading all UCP Modules…
2020-09-13 19:06 +00:00: Loading…conferencespro.js
2020-09-13 19:06 +00:00: Loading…ucphelloworld.js
2020-09-13 19:06 +00:00: Loading…xmpp.js
2020-09-13 19:06 +00:00: Done!
2020-09-13 19:06 +00:00: Server up and running at 8001 port
2020-09-13 19:06 +00:00: Secure Server up and running at 8003 port
==> xmpp_err.log <==
at Pool.emit (events.js:211:7)
at Connection. (/var/www/html/admin/modules/xmpp/node/node_modules/mongoose/node_modules/mongodb-core/lib/connection/pool.js:280:12)
at Object.onceWrapper (events.js:317:30)
at emitTwo (events.js:126:13)
at Connection.emit (events.js:214:7)
at Socket. (/var/www/html/admin/modules/xmpp/node/node_modules/mongoose/node_modules/mongodb-core/lib/connection/connection.js:189:49)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
2020-09-13 19:06 +00:00: (node:3016) DeprecationWarning: open()
is deprecated in mongoose >= 4.11.0, use openUri()
instead, or set the useMongoClient
option if using connect()
or createConnection()
. See http://mongoosejs.com/docs/4.x/docs/connections.html#use-mongo-client
==> fail2ban <==
[2020-09-13 19:17:09] SECURITY[2375] res_security_log.c: SecurityEvent=“SuccessfulAuth”,EventTV=“2020-09-13T19:17:09.346+0000”,Severity=“Informational”,Service=“AMI”,EventVersion=“1”,AccountID=“admin”,SessionID=“0x7ff118001f80”,LocalAddress=“IPV4/TCP/127.0.0.1/5038”,RemoteAddress=“IPV4/TCP/127.0.0.1/39942”,UsingPassword=“0”,SessionTV=“2020-09-13T19:17:09.346+0000”
[2020-09-13 19:17:19] SECURITY[2375] res_security_log.c: SecurityEvent=“SuccessfulAuth”,EventTV=“2020-09-13T19:17:19.718+0000”,Severity=“Informational”,Service=“AMI”,EventVersion=“1”,AccountID=“admin”,SessionID=“0x7ff120029df0”,LocalAddress=“IPV4/TCP/127.0.0.1/5038”,RemoteAddress=“IPV4/TCP/127.0.0.1/39948”,UsingPassword=“0”,SessionTV=“2020-09-13T19:17:19.718+0000”
==> fail2ban <==
[2020-09-13 19:17:25] SECURITY[2375] res_security_log.c: SecurityEvent=“SuccessfulAuth”,EventTV=“2020-09-13T19:17:25.360+0000”,Severity=“Informational”,Service=“AMI”,EventVersion=“1”,AccountID=“admin”,SessionID=“0x1f56b30”,LocalAddress=“IPV4/TCP/127.0.0.1/5038”,RemoteAddress=“IPV4/TCP/127.0.0.1/39956”,UsingPassword=“0”,SessionTV=“2020-09-13T19:17:25.360+0000”
[2020-09-13 19:17:25] WARNING[4842][C-0000002f] Ext. s: “Rejecting unknown SIP connection from 45.143.220.225:58667”
[2020-09-13 19:17:26] WARNING[4843][C-00000030] Ext. s: “Rejecting unknown SIP connection from 46.166.151.103:52118”
[2020-09-13 19:17:29] SECURITY[2375] res_security_log.c: SecurityEvent=“SuccessfulAuth”,EventTV=“2020-09-13T19:17:29.434+0000”,Severity=“Informational”,Service=“AMI”,EventVersion=“1”,AccountID=“admin”,SessionID=“0x7ff070004920”,LocalAddress=“IPV4/TCP/127.0.0.1/5038”,RemoteAddress=“IPV4/TCP/127.0.0.1/39962”,UsingPassword=“0”,SessionTV=“2020-09-13T19:17:29.434+0000”