PJSIP extensions not registering after update


#1

I’m having a strange issue since I updated my server a few days ago with registering my remote extensions. It was working with no errors in the log prior to the update. I updated it through the system updates module. Currently I’m running:
Current PBX Version: 15.0.16.76
Current System Version: 12.7.8-2008-1.sng7

I have a couple of remote extensions that are running through OpenVPN. My office subnet is 192.168.0.0/24 and the remote subnet is 192.168.3.0/24. In general SIP settings I have my local subnet set to 192.168.0.0/16.

Since the update, my “full” log is completely empty no matter if I’ve rebooted, refreshed or whatever. I don’t see anything related to the failed register in any log other than the fail2ban log. That keeps giving me strange errors:
26631[2020-11-02 14:13:10] SECURITY[10640] res_security_log.c: SecurityEvent=“ChallengeResponseFailed”,EventTV=“2020-11-02T14:13:10.172-0800”,Severity=“Error”,Service=“PJSIP”,EventVersion=“1”,AccountID=“3107”,SessionID="3561679513@192.168.0.44",LocalAddress=“IPV4/UDP/192.168.0.7/5060”,RemoteAddress=“IPV4/UDP/192.168.0.44/5062”,Challenge=“1604355190/f969afccd97513ecc684089958977f5c”,Response=“501148af69e15e14be265f32c628e32c”,ExpectedResponse=""

26632[2020-11-02 14:13:10] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:10.256-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="001563bc-789b0002-01523f72-3da421d1@192.168.0.42",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.42/50176",Challenge=""

26633[2020-11-02 14:13:10] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:10.753-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="001563bc-789b0002-01523f72-3da421d1@192.168.0.42",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.42/50176",Challenge=""

26634[2020-11-02 14:13:11] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:11.007-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="4c2fc36d-e1effe2a@192.168.3.170",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/172.250.**.**/5060",Challenge=""

26635[2020-11-02 14:13:11] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:11.753-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="001563bc-789b0002-01523f72-3da421d1@192.168.0.42",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.42/50176",Challenge=""

26640[2020-11-02 14:13:13] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:13.753-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="001563bc-789b0002-01523f72-3da421d1@192.168.0.42",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.42/50176",Challenge=""

26641[2020-11-02 14:13:15] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:15.007-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="4c2fc36d-e1effe2a@192.168.3.170",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/172.250.**.**/5060",Challenge=""

26643[2020-11-02 14:13:16] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:16.085-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="24252838@192.168.0.43",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.43/5062",Challenge=""

26644[2020-11-02 14:13:16] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:16.218-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="24252838@192.168.0.43",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.43/5062",Challenge="1604355196/a2ec44856b052d46665698bfe327d582",Response="8fffc7fc024df7a726aedcaf8df9e51b",ExpectedResponse=""

26645[2020-11-02 14:13:16] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:16.308-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="24252838@192.168.0.43",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.43/5062",Challenge="1604355196/a2ec44856b052d46665698bfe327d582",Response="8fffc7fc024df7a726aedcaf8df9e51b",ExpectedResponse=""

26646[2020-11-02 14:13:16] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:16.397-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="24252838@192.168.0.43",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.43/5062",Challenge="1604355196/a2ec44856b052d46665698bfe327d582",Response="8fffc7fc024df7a726aedcaf8df9e51b",ExpectedResponse=""

26647[2020-11-02 14:13:17] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:17.229-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="3825736610@192.168.0.45",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.45/5062",Challenge=""

26648[2020-11-02 14:13:17] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:17.322-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="3825736610@192.168.0.45",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.45/5062",Challenge="1604355197/52fa85f31d9b550c5f068c1c04f96b68",Response="9305473a65fbcaa367bbe876a1036250",ExpectedResponse=""

26649[2020-11-02 14:13:17] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:17.402-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="3825736610@192.168.0.45",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.45/5062",Challenge="1604355197/52fa85f31d9b550c5f068c1c04f96b68",Response="9305473a65fbcaa367bbe876a1036250",ExpectedResponse=""

26650[2020-11-02 14:13:17] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:17.483-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="3825736610@192.168.0.45",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.45/5062",Challenge="1604355197/52fa85f31d9b550c5f068c1c04f96b68",Response="9305473a65fbcaa367bbe876a1036250",ExpectedResponse=""

26651[2020-11-02 14:13:17] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:17.753-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="001563bc-789b0002-01523f72-3da421d1@192.168.0.42",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.42/50176",Challenge=""

26659[2020-11-02 14:13:19] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:19.007-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="4c2fc36d-e1effe2a@192.168.3.170",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/172.250.**.**/5060",Challenge=""

26661[2020-11-02 14:13:21] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:21.753-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="001563bc-789b0002-01523f72-3da421d1@192.168.0.42",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.42/50176",Challenge=""

26662[2020-11-02 14:13:23] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:23.006-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="4c2fc36d-e1effe2a@192.168.3.170",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/172.250.**.**/5060",Challenge=""

26664[2020-11-02 14:13:25] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:25.722-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="3274598079@192.168.0.40",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.40/5062",Challenge=""

26665[2020-11-02 14:13:25] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:25.752-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="001563bc-789b0002-01523f72-3da421d1@192.168.0.42",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.42/50176",Challenge=""

26666[2020-11-02 14:13:25] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:25.812-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="3274598079@192.168.0.40",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.40/5062",Challenge="1604355205/d183365f2e0ab61b9610e7b63c022dc9",Response="d319c98e128cda0b1deabbc624c2a3c1",ExpectedResponse=""

26667[2020-11-02 14:13:25] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:25.881-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="3274598079@192.168.0.40",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.40/5062",Challenge="1604355205/d183365f2e0ab61b9610e7b63c022dc9",Response="d319c98e128cda0b1deabbc624c2a3c1",ExpectedResponse=""

26668[2020-11-02 14:13:25] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:25.982-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="3274598079@192.168.0.40",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.40/5062",Challenge="1604355205/d183365f2e0ab61b9610e7b63c022dc9",Response="d319c98e128cda0b1deabbc624c2a3c1",ExpectedResponse=""

26669[2020-11-02 14:13:27] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:27.006-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="4c2fc36d-e1effe2a@192.168.3.170",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/172.250.**.**/5060",Challenge=""

26670[2020-11-02 14:13:27] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:27.146-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="1313009526@192.168.0.48",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.48/5062",Challenge=""

26671[2020-11-02 14:13:27] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:27.240-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="1313009526@192.168.0.48",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.48/5062",Challenge="1604355207/17c1104b1b91513eb0d5f7566f6a549d",Response="ad9f4878457f3ee0ec55e79afc4f3709",ExpectedResponse=""

26672[2020-11-02 14:13:27] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:27.337-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="1313009526@192.168.0.48",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.48/5062",Challenge="1604355207/17c1104b1b91513eb0d5f7566f6a549d",Response="ad9f4878457f3ee0ec55e79afc4f3709",ExpectedResponse=""

26673[2020-11-02 14:13:27] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:27.419-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="1313009526@192.168.0.48",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.48/5062",Challenge="1604355207/17c1104b1b91513eb0d5f7566f6a549d",Response="ad9f4878457f3ee0ec55e79afc4f3709",ExpectedResponse=""

26681[2020-11-02 14:13:28] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:28.780-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="3587581545@192.168.0.41",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.41/5062",Challenge=""

26682[2020-11-02 14:13:28] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:28.872-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="3587581545@192.168.0.41",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.41/5062",Challenge="1604355208/102a63c728177f4e55c20262fc4eee91",Response="18f1b437df248ff9f28a41481a257c2e",ExpectedResponse=""

26683[2020-11-02 14:13:28] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:28.956-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="3587581545@192.168.0.41",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.41/5062",Challenge="1604355208/102a63c728177f4e55c20262fc4eee91",Response="18f1b437df248ff9f28a41481a257c2e",ExpectedResponse=""

26684[2020-11-02 14:13:29] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:29.056-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="3587581545@192.168.0.41",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.41/5062",Challenge="1604355208/102a63c728177f4e55c20262fc4eee91",Response="18f1b437df248ff9f28a41481a257c2e",ExpectedResponse=""

26685[2020-11-02 14:13:29] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:29.752-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="001563bc-789b0002-01523f72-3da421d1@192.168.0.42",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.42/50176",Challenge=""

26686[2020-11-02 14:13:30] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:30.309-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="1182054572@192.168.0.49",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.49/5062",Challenge=""

26687[2020-11-02 14:13:30] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:30.405-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="1182054572@192.168.0.49",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.49/5062",Challenge="1604355210/f68cbb6c93e2579a65f6b28c59d95e54",Response="9d9d283e95ed7d83f563ef354969dfa0",ExpectedResponse=""

26688[2020-11-02 14:13:30] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:30.471-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="1182054572@192.168.0.49",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.49/5062",Challenge="1604355210/f68cbb6c93e2579a65f6b28c59d95e54",Response="9d9d283e95ed7d83f563ef354969dfa0",ExpectedResponse=""

26689[2020-11-02 14:13:30] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:30.541-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="1182054572@192.168.0.49",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.49/5062",Challenge="1604355210/f68cbb6c93e2579a65f6b28c59d95e54",Response="9d9d283e95ed7d83f563ef354969dfa0",ExpectedResponse=""

26690[2020-11-02 14:13:31] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:31.009-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="4c2fc36d-e1effe2a@192.168.3.170",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/172.250.**.**/5060",Challenge=""

26698[2020-11-02 14:13:33] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:33.752-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="001563bc-789b0002-01523f72-3da421d1@192.168.0.42",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.42/50176",Challenge=""

26700[2020-11-02 14:13:35] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:35.008-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="4c2fc36d-e1effe2a@192.168.3.170",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/172.250.**.**/5060",Challenge=""

26702[2020-11-02 14:13:37] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:37.752-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="001563bc-789b0002-01523f72-3da421d1@192.168.0.42",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.42/50176",Challenge=""

26703[2020-11-02 14:13:38] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:38.697-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="635526740@192.168.0.47",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.47/5062",Challenge=""

26704[2020-11-02 14:13:38] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:38.799-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="635526740@192.168.0.47",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.47/5062",Challenge="1604355218/94054e320596e549f9f87e290d398ffa",Response="3332df4fce2761d406bec309d50e2c62",ExpectedResponse=""

26705[2020-11-02 14:13:38] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:38.920-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="635526740@192.168.0.47",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.47/5062",Challenge="1604355218/94054e320596e549f9f87e290d398ffa",Response="3332df4fce2761d406bec309d50e2c62",ExpectedResponse=""

26706[2020-11-02 14:13:38] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:38.989-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="635526740@192.168.0.47",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.47/5062",Challenge="1604355218/94054e320596e549f9f87e290d398ffa",Response="3332df4fce2761d406bec309d50e2c62",ExpectedResponse=""

26707[2020-11-02 14:13:40] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:40.202-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="1197649402@192.168.0.44",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.44/5062",Challenge=""

26708[2020-11-02 14:13:40] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:40.292-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="1197649402@192.168.0.44",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.44/5062",Challenge="1604355220/89e03e87322c80cc427ad10df23fb8ec",Response="d933126584d6b57a4d0e7de4b750b5a7",ExpectedResponse=""

26709[2020-11-02 14:13:40] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:40.409-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="1197649402@192.168.0.44",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.44/5062",Challenge="1604355220/89e03e87322c80cc427ad10df23fb8ec",Response="d933126584d6b57a4d0e7de4b750b5a7",ExpectedResponse=""

26710[2020-11-02 14:13:40] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeResponseFailed",EventTV="2020-11-02T14:13:40.502-0800",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="1197649402@192.168.0.44",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.44/5062",Challenge="1604355220/89e03e87322c80cc427ad10df23fb8ec",Response="d933126584d6b57a4d0e7de4b750b5a7",ExpectedResponse=""

26719[2020-11-02 14:13:41] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:41.751-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="001563bc-789b0002-01523f72-3da421d1@192.168.0.42",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.42/50176",Challenge=""

26720[2020-11-02 14:13:42] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:42.254-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="001563bc-789b0002-01523f72-3da421d1@192.168.0.42",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.42/50176",Challenge=""

26721[2020-11-02 14:13:42] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:42.751-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="001563bc-789b0002-01523f72-3da421d1@192.168.0.42",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.42/50176",Challenge=""

26722[2020-11-02 14:13:43] SECURITY[10640] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2020-11-02T14:13:43.751-0800",Severity="Informational",Service="PJSIP",EventVersion="1",AccountID="3107",SessionID="001563bc-789b0002-01523f72-3da421d1@192.168.0.42",LocalAddress="IPV4/UDP/192.168.0.7/5060",RemoteAddress="IPV4/UDP/192.168.0.42/50176",Challenge=""

The remote extension IP is 192.168.3.170 and somehow it’s showing my remoteaddress of my public IP instead of the internal VPN IP (I filtered it 172.250.–.--. Another Strange thing is it’s showing some of my other internal extensions getting ChallengeResponseFailed to this extension as well, which makes no sense to me cause those extensions are registered fine. 192.168.0.40-49 are all other registered internal extensions.

After my reboot I also started getting errors like this from extensions that seem to be working fine:

30283[2020-11-02 14:35:30] NOTICE[21055] res_pjsip/pjsip_distributor.c: Request ‘REGISTER’ from ‘“Ext105” <sip:105@192.168.0.7>’ failed for ‘192.168.0.45:5062’ (callid: 2151029930@192.168.0.45) - Failed to authenticate

I hope my post makes sense and someone can point me to the right direction on how to fix it.

EDIT:
Looks like this is a bigger issue than I originally thought. It’s not just my remote extensions, but all my PJSIP extensions are failing to register. I’ve checked and rechecked my passwords and the ports being used. I set “pjsip set logger on” and tried to auth and here’s the process that’s happening:

21286[2020-11-02 22:38:25] VERBOSE[5283] res_pjsip_logger.c: <--- Received SIP request (538 bytes) from UDP:192.168.0.47:5062 --->
21287REGISTER sip:192.168.0.7 SIP/2.0
21288Via: SIP/2.0/UDP 192.168.0.47:5062;rport;branch=z9hG4bK1242759835
21289From: "107" <sip:107@192.168.0.7>;tag=2868087232
21290To: "107" <sip:107@192.168.0.7>
21291Call-ID: 3319421381@192.168.0.47
21292CSeq: 1 REGISTER
21293Contact: <sip:107@192.168.0.47:5062>
21294Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
21295Max-Forwards: 70
21296User-Agent: Yealink SIP-T28P 2.73.0.50
21297Expires: 3600
21298Allow-Events: talk,hold,conference,refer,check-sync
21299Content-Length: 0
21300
21301
21302[2020-11-02 22:38:25] VERBOSE[5284] res_pjsip_logger.c: <--- Transmitting SIP response (479 bytes) to UDP:192.168.0.47:5062 --->
21303SIP/2.0 401 Unauthorized
21304Via: SIP/2.0/UDP 192.168.0.47:5062;rport=5062;received=192.168.0.47;branch=z9hG4bK1242759835
21305Call-ID: 3319421381@192.168.0.47
21306From: "107" <sip:107@192.168.0.7>;tag=2868087232
21307To: "107" <sip:107@192.168.0.7>;tag=z9hG4bK1242759835
21308CSeq: 1 REGISTER
21309WWW-Authenticate: Digest realm="asterisk",nonce="1604385505/3cf38c606c71f596e2ac21e4dc08dfad",opaque="125f4cc574d4f7dc",algorithm=md5,qop="auth"
21310Server: FPBX-15.0.16.76(16.13.0)
21311Content-Length: 0
21312
21313
21314[2020-11-02 22:38:25] VERBOSE[5283] res_pjsip_logger.c: <--- Received SIP request (799 bytes) from UDP:192.168.0.47:5062 --->
21315REGISTER sip:192.168.0.7 SIP/2.0
21316Via: SIP/2.0/UDP 192.168.0.47:5062;rport;branch=z9hG4bK2823555063
21317From: "107" <sip:107@192.168.0.7>;tag=2868087232
21318To: "107" <sip:107@192.168.0.7>
21319Call-ID: 3319421381@192.168.0.47
21320CSeq: 2 REGISTER
21321Contact: <sip:107@192.168.0.47:5062>
21322Authorization: Digest username="107", realm="asterisk", nonce="1604385505/3cf38c606c71f596e2ac21e4dc08dfad", uri="sip:192.168.0.7", response="83913bf8bf313d8a6ac15ff17cb952e9", algorithm=MD5, cnonce="0a4f113b", opaque="125f4cc574d4f7dc", qop=auth, nc=00000001
21323Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
21324Max-Forwards: 70
21325User-Agent: Yealink SIP-T28P 2.73.0.50
21326Expires: 3600
21327Allow-Events: talk,hold,conference,refer,check-sync
21328Content-Length: 0
21329
21330
21331[2020-11-02 22:38:25] NOTICE[5284] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"107" <sip:107@192.168.0.7>' failed for '192.168.0.47:5062' (callid: 3319421381@192.168.0.47) - Failed to authenticate
21332[2020-11-02 22:38:25] VERBOSE[5284] res_pjsip_logger.c: <--- Transmitting SIP response (479 bytes) to UDP:192.168.0.47:5062 --->
21333SIP/2.0 401 Unauthorized
21334Via: SIP/2.0/UDP 192.168.0.47:5062;rport=5062;received=192.168.0.47;branch=z9hG4bK2823555063
21335Call-ID: 3319421381@192.168.0.47
21336From: "107" <sip:107@192.168.0.7>;tag=2868087232
21337To: "107" <sip:107@192.168.0.7>;tag=z9hG4bK2823555063
21338CSeq: 2 REGISTER
21339WWW-Authenticate: Digest realm="asterisk",nonce="1604385505/3cf38c606c71f596e2ac21e4dc08dfad",opaque="274904d13544c2de",algorithm=md5,qop="auth"
21340Server: FPBX-15.0.16.76(16.13.0)
21341Content-Length: 0
21342
21343
21344[2020-11-02 22:38:26] VERBOSE[5283] res_pjsip_logger.c: <--- Received SIP request (799 bytes) from UDP:192.168.0.47:5062 --->
21345REGISTER sip:192.168.0.7 SIP/2.0
21346Via: SIP/2.0/UDP 192.168.0.47:5062;rport;branch=z9hG4bK3276091197
21347From: "107" <sip:107@192.168.0.7>;tag=2868087232
21348To: "107" <sip:107@192.168.0.7>
21349Call-ID: 3319421381@192.168.0.47
21350CSeq: 3 REGISTER
21351Contact: <sip:107@192.168.0.47:5062>
21352Authorization: Digest username="107", realm="asterisk", nonce="1604385505/3cf38c606c71f596e2ac21e4dc08dfad", uri="sip:192.168.0.7", response="83913bf8bf313d8a6ac15ff17cb952e9", algorithm=MD5, cnonce="0a4f113b", opaque="274904d13544c2de", qop=auth, nc=00000001
21353Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
21354Max-Forwards: 70
21355User-Agent: Yealink SIP-T28P 2.73.0.50
21356Expires: 3600
21357Allow-Events: talk,hold,conference,refer,check-sync
21358Content-Length: 0
21359
21360
21361[2020-11-02 22:38:26] NOTICE[5284] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"107" <sip:107@192.168.0.7>' failed for '192.168.0.47:5062' (callid: 3319421381@192.168.0.47) - Failed to authenticate
21362[2020-11-02 22:38:26] VERBOSE[5284] res_pjsip_logger.c: <--- Transmitting SIP response (479 bytes) to UDP:192.168.0.47:5062 --->
21363SIP/2.0 401 Unauthorized
21364Via: SIP/2.0/UDP 192.168.0.47:5062;rport=5062;received=192.168.0.47;branch=z9hG4bK3276091197
21365Call-ID: 3319421381@192.168.0.47
21366From: "107" <sip:107@192.168.0.7>;tag=2868087232
21367To: "107" <sip:107@192.168.0.7>;tag=z9hG4bK3276091197
21368CSeq: 3 REGISTER
21369WWW-Authenticate: Digest realm="asterisk",nonce="1604385506/9ffc248268db8aa61c3c4079911e758b",opaque="2960508e6e59b005",algorithm=md5,qop="auth"
21370Server: FPBX-15.0.16.76(16.13.0)
21371Content-Length: 0
21401[2020-11-02 22:38:26] VERBOSE[5283] res_pjsip_logger.c: &lt;--- Received SIP request (799 bytes) from UDP:192.168.0.47:5062 ---&gt;
21402REGISTER sip:192.168.0.7 SIP/2.0
21403Via: SIP/2.0/UDP 192.168.0.47:5062;rport;branch=z9hG4bK4195799182
21404From: "107" &lt;sip:107@192.168.0.7&gt;;tag=2868087232
21405To: "107" &lt;sip:107@192.168.0.7&gt;
21406Call-ID: 3319421381@192.168.0.47
21407CSeq: 4 REGISTER
21408Contact: &lt;sip:107@192.168.0.47:5062&gt;
21409Authorization: Digest username="107", realm="asterisk", nonce="1604385506/9ffc248268db8aa61c3c4079911e758b", uri="sip:192.168.0.7", response="9fbb41b808405bb2df580328a050ecf6", algorithm=MD5, cnonce="0a4f113b", opaque="2960508e6e59b005", qop=auth, nc=00000001
21410Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
21411Max-Forwards: 70
21412User-Agent: Yealink SIP-T28P 2.73.0.50
21413Expires: 3600
21414Allow-Events: talk,hold,conference,refer,check-sync
21415Content-Length: 0
21416
21417
21418[2020-11-02 22:38:26] NOTICE[5284] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"107" &lt;sip:107@192.168.0.7&gt;' failed for '192.168.0.47:5062' (callid: 3319421381@192.168.0.47) - Failed to authenticate

I’ve been running this server for about 10 years now (with migrations to new hardware) so I’m not sure if there may be some old stuff that may be causing issues with the most recent updates.


#2

You doing to need to do an update to get the logs back. It seems it was fixed.
Also, you can whitelist those IP addresses in fail2ban


#3

I did find the workaround to get the logs back and it’s not looking good. I do have those IP’s in the fail2ban whitelist. I’m now seeing tons of errors like this in the full log for extensions that are registered and working:

[2020-11-02 21:17:56] NOTICE[21055] res_pjsip/pjsip_distributor.c: Request ‘REGISTER’ from ‘“Ext 101” sip:101@192.168.0.7’ failed for ‘192.168.0.41:5062’ (callid: 698559045@192.168.0.41) - Failed to authenticate


#4

Ok, so I’m narrowing it down to an issue with PJSIP extensions. The previously registered internal extensions are now failing registration and I’ve gone so far as to create a whole new extension and register with a softphone. No matter what I do it fails, but if I change the extension from pjsip to chan_sip, registration works if after I also change the connection port of the softphone to 5062. Pjsip listening port is set to 5060.


#5

Can you verify what ports chan_sip and chan_pjsip are listening on?


#6

Pjsip is listening on port 5060 and chan_sip is using 5062.


#7

And those extensions were created as PJSIP extensions?


#8

Yes. This setup was completely working up until the last update.


#9

The log paste you put up does not show anything… At this point someone would of said to turn on logger and paste that here, but I think that is too messy.

So I say turn on sngrep (excecute “sngrep” from the command line) and watch the registration action from there. It will give you a better look at what is going on.

But you did show a snip of 401 unauthorized. Bad password?


#10

Yes, all I see is 401 replies. I know I’m typing the password correctly. I even created a new extension and setup a softphone. Made the password super easy to avoid typos and still getting this error.





#11

So this affecting all remote extensions, or just those on the VPN?


#12

It started out as only the ones on the VPN, but now it’s affecting even the ones internally.


#13

You cannot try to do an update, or Asterisk version switch?


#14

I did updates and am now fully updated. I didn’t try Asterisk ver switch, but just went from 16->17 with no change.

Just tried v13 certified with no luck either.


(Itzik) #15

Can you check if your port settings were changed somehow?


#16

I’ve checked and rechecked. Changed them and changed them back. Nothing seems to work. I did come across another strange thing. I added zoiper soft phone app on my cell phone and I can register one extension but not any others. I tried registering that same extension on a yealink and and a Cisco ATA but those error 401.

I’m starting to think I have to restore the pbx been a backup.


#17

That behavior sounds awfully like mis-configured NAT forwarding rules on your firewall. Or an ALG trying to be clever.


#18

I was thinking the same thing. There’s no ALG on PFsense which I’m using. I went so far as to fully remove it from the loop and put just a regular router with DMZ pointed to the pbx (Just temporarily, I know it’s not a good idea). In my sip settings in the PBX I have192.168.0.0/16 for local networks which will cover my internal and VPN routes. From my external it’s showing the correct public IP.


#19

sngrep will help you here.


#20

I tried that too. I posted all that I get from it above… Which isn’t much. FYI That’s only for one of the extensions. I’m getting dozens of that for every extension.