Asterisk or PJSIP not responding to REGISTER packets

Hi, intermittently all PJSIP endpoints loose registration for an unknown reason. The endpoints are sending REGISTER packets and there is no reply from asterisk. All the endpoints are sending to port 5061 for PJSIP.

The only immediate fix at this point is to run fwconsole restart and then PJSIP endpoints are able to register.

PBX Version: 10.13.66-18
Asterisk Version: 13.19.1

The output from cli below is from pjsip logger.

*CLI> pjsip set logger on
PJSIP Logging enabled
[2018-04-18 04:49:40] NOTICE[2743]: res_pjsip_transport_management.c:133 idle_sched_cb: Shutting down transport ‘TLS to xxx.241.183.250:33764’ since no request was received in 32 seconds
[2018-04-18 04:49:41] NOTICE[2743]: res_pjsip_transport_management.c:133 idle_sched_cb: Shutting down transport ‘TLS to xxx.241.183.250:33765’ since no request was received in 32 seconds
[2018-04-18 04:49:46] NOTICE[2743]: res_pjsip_transport_management.c:133 idle_sched_cb: Shutting down transport ‘TLS to xxx.241.183.250:33767’ since no request was received in 32 seconds
[2018-04-18 04:49:47] NOTICE[2743]: res_pjsip_transport_management.c:133 idle_sched_cb: Shutting down transport ‘TLS to xxx.241.183.250:33768’ since no request was received in 32 seconds
<— Received SIP request (576 bytes) from TLS:xxx.241.183.250:52331 —>
REGISTER sip:host.domain.tld:5061;transport=tls SIP/2.0
Via: SIP/2.0/TLS 192.168.25.11:52331;branch=z9hG4bK17650f4b9BB69B4C
From: “User2” sip:[email protected]:5061;tag=F0B87703-10D0C384
To: sip:[email protected]:5061
CSeq: 1 REGISTER
Call-ID: eafdc0cb6a8127fab0957f3760884896
Contact: sip:[email protected]:52331;transport=tls;methods=“INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER”
User-Agent: PolycomVVX-VVX_300-UA/5.7.0.11768
Accept-Language: en
Max-Forwards: 70
Expires: 3600
Content-Length: 0

<— Received SIP request (604 bytes) from TLS:xxx.241.183.250:33770 —>
REGISTER sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.27:33770;rport;branch=z9hG4bK4069725800
From: “User3” sip:[email protected]:5061;tag=1657078199
To: “User3” sip:[email protected]:5061
Call-ID: [email protected]
CSeq: 1 REGISTER
Contact: sip:[email protected]:33770;transport=TLS
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink $DEVNAME 25.73.0.40
Expires: 3600
Line: 5
Allow-Events: talk,hold,conference,refer,check-sync
Content-Length: 0

<— Received SIP request (655 bytes) from TLS:xxx.241.183.250:49539 —>
OPTIONS sip:xxx.64.49.61:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.17:40278;branch=z9hG4bK-524287-1—af91cb22da275f1f;rport
Max-Forwards: 0
Contact: sip:[email protected]:40278;ob;transport=tls;+sip.instance=“urn:uuid:05b5636e-6711-59a5-8436-90474f4a762f
To: sip:xxx.64.49.61:5061
From: "User5"sip:[email protected]:5061;tag=85ac5b06
Call-ID: 143678_rel51YmY4NTIwMzllMzU2ZDM4NGUxOWUxMGJkNjEwMDg5ZTA
CSeq: 1 OPTIONS
Allow: INVITE, ACK, CANCEL, BYE, REFER, INFO, NOTIFY, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE
Supported: outbound, path
User-Agent: Bria Android 3.9.6 build xxx.09
X-Connectivity-Probe-V4: 1
Content-Length: 0

<— Received SIP request (576 bytes) from TLS:xxx.241.183.250:52331 —>
REGISTER sip:host.domain.tld:5061;transport=tls SIP/2.0
Via: SIP/2.0/TLS 192.168.25.11:52331;branch=z9hG4bK64d69bbdBE2EC19E
From: “User6” sip:[email protected]:5061;tag=29DD80C1-8482A862
To: sip:[email protected]:5061
CSeq: 1 REGISTER
Call-ID: fe8ec3c9283f255359db4ac31a884896
Contact: sip:[email protected]:52331;transport=tls;methods=“INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER”
User-Agent: PolycomVVX-VVX_300-UA/5.7.0.11768
Accept-Language: en
Max-Forwards: 70
Expires: 3600
Content-Length: 0

<— Received SIP request (813 bytes) from TLS:xxx.241.183.250:2884 —>
REGISTER sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.34:5062;branch=z9hG4bK1693511933;rport;alias
From: “Canyon DOOR BELL” sip:[email protected]:5061;tag=626827128
To: sip:[email protected]:5061
Call-ID: [email protected]
CSeq: 2920 REGISTER
Contact: sip:[email protected]:5062;transport=tls
Authorization: Digest username=“360”, realm=“asterisk”, nonce=“1524024148/841d0e17bfb35edf2a22058396794fb3”, uri=“sip:host.domain.tld:5061”, response=“cbad31e6d058a2bd7b768ad55a20ea83”, algorithm=md5, cnonce=“14165908”, opaque=“1e668f9172758075”, qop=auth, nc=0000010d
Max-Forwards: 70
User-Agent: Grandstream HT-503 V2.0A 1.0.16.2 chip V2.2
Expires: 3600
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE
Content-Length: 0

<— Received SIP request (604 bytes) from TLS:xxx.241.183.250:33772 —>
REGISTER sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.27:33772;rport;branch=z9hG4bK2122970758
From: “User3” sip:[email protected]:5061;tag=2580xxx.578
To: “User3” sip:[email protected]:5061
Call-ID: [email protected]
CSeq: 1 REGISTER
Contact: sip:[email protected]:33772;transport=TLS
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink $DEVNAME 25.73.0.40
Expires: 3600
Line: 5
Allow-Events: talk,hold,conference,refer,check-sync
Content-Length: 0

<— Received SIP request (573 bytes) from TLS:xxx.241.183.250:52331 —>
REGISTER sip:host.domain.tld:5061;transport=tls SIP/2.0
Via: SIP/2.0/TLS 192.168.25.11:52331;branch=z9hG4bKca5a2def238671B0
From: “User1” sip:[email protected]:5061;tag=79D5EF17-E90AD458
To: sip:[email protected]:5061
CSeq: 1 REGISTER
Call-ID: 76f04b3eb9fa746469a8ab1cfa884896
Contact: sip:[email protected]:52331;transport=tls;methods=“INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER”
User-Agent: PolycomVVX-VVX_300-UA/5.7.0.11768
Accept-Language: en
Max-Forwards: 70
Expires: 3600
Content-Length: 0

<— Received SIP request (664 bytes) from TLS:xxx.241.183.250:37036 —>
OPTIONS sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.17:48237;branch=z9hG4bK-524287-1—9dd49e43320bfa06;rport
Max-Forwards: 0
Contact: sip:[email protected]:48237;ob;transport=tls;+sip.instance=“urn:uuid:05b5636e-6711-59a5-8436-90474f4a762f
To: sip:host.domain.tld:5061
From: "User1"sip:[email protected]:5061;tag=66fc2323
Call-ID: 143678_rel51NjU0NWQ2YjczODhkMjBjODA4MGQyNWY5NDg0MjQ3OTQ
CSeq: 1 OPTIONS
Allow: INVITE, ACK, CANCEL, BYE, REFER, INFO, NOTIFY, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE
Supported: outbound, path
User-Agent: Bria Android 3.9.6 build xxx.09
X-Connectivity-Probe-V4: 1
Content-Length: 0

<— Received SIP request (697 bytes) from TLS:xxx.241.183.250:37036 —>
REGISTER sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.17:48237;branch=z9hG4bK-524287-1—03577a3ca913a008;rport
Max-Forwards: 70
Contact: sip:[email protected]:48237;rinstance=d485742d5f05fb13;transport=tls;+sip.instance=“urn:uuid:05b5636e-6711-59a5-8436-90474f4a762f”;reg-id=1
To: "User1"sip:[email protected]:5061
From: "User1"sip:[email protected]:5061;tag=a3feab3c
Call-ID: 143678_rel51ZmZhYTVkNzVhZGI0MWY5MDk1NGM1MDc1YzVmMWU2MzU
CSeq: 1 REGISTER
Expires: 900
Allow: INVITE, ACK, CANCEL, BYE, REFER, INFO, NOTIFY, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE
Supported: outbound, path
User-Agent: Bria Android 3.9.6 build xxx.09
Content-Length: 0

<— Received SIP request (661 bytes) from TLS:xxx.241.183.250:44092 —>
OPTIONS sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.17:46196;branch=z9hG4bK-524287-1—d786aa2fa0449331;rport
Max-Forwards: 0
Contact: sip:[email protected]:46196;ob;transport=tls;+sip.instance=“urn:uuid:05b5636e-6711-59a5-8436-90474f4a762f
To: sip:host.domain.tld:5061
From: "BF"sip:[email protected]:5061;tag=93d6e747
Call-ID: 143678_rel51NzEzN2JiZTBjNmNhZTBkMzUwZGM1NTJlNzM0YjA2N2Q
CSeq: 1 OPTIONS
Allow: INVITE, ACK, CANCEL, BYE, REFER, INFO, NOTIFY, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE
Supported: outbound, path
User-Agent: Bria Android 3.9.6 build xxx.09
X-Connectivity-Probe-V4: 1
Content-Length: 0

<— Received SIP request (691 bytes) from TLS:xxx.241.183.250:44092 —>
REGISTER sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.17:46196;branch=z9hG4bK-524287-1—9e697d15f3d53d05;rport
Max-Forwards: 70
Contact: sip:[email protected]:46196;rinstance=42d1e608dfcc93ea;transport=tls;+sip.instance=“urn:uuid:05b5636e-6711-59a5-8436-90474f4a762f”;reg-id=1
To: "BF"sip:[email protected]:5061
From: "BF"sip:[email protected]:5061;tag=67ee3b4e
Call-ID: 143678_rel51ODU0MGU1ODQwMTg4MzViNTY0OTZjODIxYmRkNmMyNTc
CSeq: 1 REGISTER
Expires: 900
Allow: INVITE, ACK, CANCEL, BYE, REFER, INFO, NOTIFY, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE
Supported: outbound, path
User-Agent: Bria Android 3.9.6 build xxx.09
Content-Length: 0

<— Received SIP request (664 bytes) from TLS:xxx.241.183.250:40643 —>
OPTIONS sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.17:41433;branch=z9hG4bK-524287-1—9b04b804cc80c068;rport
Max-Forwards: 0
Contact: sip:[email protected]:41433;ob;transport=tls;+sip.instance=“urn:uuid:05b5636e-6711-59a5-8436-90474f4a762f
To: sip:host.domain.tld:5061
From: "User3"sip:[email protected]:5061;tag=b73f0614
Call-ID: 143678_rel51ZDRkYjIzNTM1ZGE3NTVhYTY4MzQ3NTA5Yzc4ZTFmNWY
CSeq: 1 OPTIONS
Allow: INVITE, ACK, CANCEL, BYE, REFER, INFO, NOTIFY, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE
Supported: outbound, path
User-Agent: Bria Android 3.9.6 build xxx.09
X-Connectivity-Probe-V4: 1
Content-Length: 0

<— Received SIP request (697 bytes) from TLS:xxx.241.183.250:40643 —>
REGISTER sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.17:41433;branch=z9hG4bK-524287-1—e3b0ff5f3a034938;rport
Max-Forwards: 70
Contact: sip:[email protected]:41433;rinstance=2bdf2ed9cfe1d851;transport=tls;+sip.instance=“urn:uuid:05b5636e-6711-59a5-8436-90474f4a762f”;reg-id=1
To: "User3"sip:[email protected]:5061
From: "User3"sip:[email protected]:5061;tag=ca154d5a
Call-ID: 143678_rel51ZDRhZDgxMjhkMGE4N2Y5ZWYwNWY0MjZhMDA0MmQ2OWU
CSeq: 1 REGISTER
Expires: 900
Allow: INVITE, ACK, CANCEL, BYE, REFER, INFO, NOTIFY, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE
Supported: outbound, path
User-Agent: Bria Android 3.9.6 build xxx.09
Content-Length: 0

<— Received SIP request (691 bytes) from TLS:xxx.241.183.250:49539 —>
REGISTER sip:xxx.64.49.61:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.17:40278;branch=z9hG4bK-524287-1—1d691a05db4c3136;rport
Max-Forwards: 70
Contact: sip:[email protected]:40278;rinstance=9768295b066546b8;transport=tls;+sip.instance=“urn:uuid:05b5636e-6711-59a5-8436-90474f4a762f”;reg-id=1
To: "User5"sip:[email protected]:5061
From: "User5"sip:[email protected]:5061;tag=4b402f46
Call-ID: 143678_rel51NjQxZDVjMzlhNGU0MDFjOTY3NTNlMTFjNmVmZjk4NGM
CSeq: 1 REGISTER
Expires: 900
Allow: INVITE, ACK, CANCEL, BYE, REFER, INFO, NOTIFY, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE
Supported: outbound, path
User-Agent: Bria Android 3.9.6 build xxx.09
Content-Length: 0

<— Received SIP request (667 bytes) from TLS:xxx.241.183.250:38748 —>
OPTIONS sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.17:38544;branch=z9hG4bK-524287-1—6dabf129e01e9673;rport
Max-Forwards: 0
Contact: sip:[email protected]:38544;ob;transport=tls;+sip.instance=“urn:uuid:05b5636e-6711-59a5-8436-90474f4a762f
To: sip:host.domain.tld:5061
From: "User2"sip:[email protected]:5061;tag=6ca4d31e
Call-ID: 143678_rel51NDhkZWI3NzhiMDc5ODllZTY4MTFmMjAyNWNmNDBhZjA
CSeq: 1 OPTIONS
Allow: INVITE, ACK, CANCEL, BYE, REFER, INFO, NOTIFY, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE
Supported: outbound, path
User-Agent: Bria Android 3.9.6 build xxx.09
X-Connectivity-Probe-V4: 1
Content-Length: 0

<— Received SIP request (703 bytes) from TLS:xxx.241.183.250:38748 —>
REGISTER sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.17:38544;branch=z9hG4bK-524287-1—54f6875bbd956836;rport
Max-Forwards: 70
Contact: sip:[email protected]:38544;rinstance=f04af7886dff2d02;transport=tls;+sip.instance=“urn:uuid:05b5636e-6711-59a5-8436-90474f4a762f”;reg-id=1
To: "User2"sip:[email protected]:5061
From: "User2"sip:[email protected]:5061;tag=16e6a77d
Call-ID: 143678_rel51MTNhNzI2YWQyMmQzODg4NGNiNGQ2NTNhYWNmYjcyNzY
CSeq: 1 REGISTER
Expires: 900
Allow: INVITE, ACK, CANCEL, BYE, REFER, INFO, NOTIFY, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE
Supported: outbound, path
User-Agent: Bria Android 3.9.6 build xxx.09
Content-Length: 0

<— Received SIP request (606 bytes) from TLS:xxx.241.183.250:33773 —>
REGISTER sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.27:33773;rport;branch=z9hG4bK2078768585
From: "User7 sip:[email protected]:5061;tag=3074568277
To: “User7” sip:[email protected]:5061
Call-ID: [email protected]
CSeq: 1 REGISTER
Contact: sip:[email protected]:33773;transport=TLS
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink $DEVNAME 25.73.0.40
Expires: 3600
Line: 1
Allow-Events: talk,hold,conference,refer,check-sync
Content-Length: 0

<— Received SIP request (606 bytes) from TLS:xxx.241.183.250:33775 —>
REGISTER sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.27:33775;rport;branch=z9hG4bK2789563442
From: “User7” sip:[email protected]:5061;tag=2345946802
To: “User7” sip:[email protected]:5061
Call-ID: [email protected]
CSeq: 1 REGISTER
Contact: sip:[email protected]:33775;transport=TLS
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink $DEVNAME 25.73.0.40
Expires: 3600
Line: 1
Allow-Events: talk,hold,conference,refer,check-sync
Content-Length: 0

[2018-04-18 04:50:00] NOTICE[2743]: res_pjsip_transport_management.c:133 idle_sched_cb: Shutting down transport ‘TLS to 24.114.69.134:25792’ since no request was received in 32 seconds
<— Received SIP request (641 bytes) from TLS:24.114.69.134:25793 —>
REGISTER sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 25.122.35.34:56110;branch=z9hG4bK-524287-1—79839a68eeb68446;rport;alias
Max-Forwards: 70
Contact: sip:[email protected]:25824;rinstance=4a86e886c39c7xxx.;transport=tls
To: "User7"sip:[email protected]:5061
From: "User7"sip:[email protected]:5061;tag=48d5b91e
Call-ID: MzYxZTVjMjNkZWI5NGQ1MzQwYzI2NTZlYTcyZGQwOGU
CSeq: 542 REGISTER
Expires: 900
Allow: INVITE, ACK, CANCEL, BYE, REFER, INFO, NOTIFY, OPTIONS, UPDATE, PRACK, MESSAGE, SUBSCRIBE
Supported: outbound, path
User-Agent: Bria iOS release 3.9.7 stamp 38887.38893
Content-Length: 0

<— Received SIP request (610 bytes) from TLS:xxx.241.183.250:33776 —>
REGISTER sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.27:33776;rport;branch=z9hG4bK2700182291
From: “User5” sip:[email protected]:5061;tag=221426xxx.2
To: “User5” sip:[email protected]:5061
Call-ID: [email protected]
CSeq: 1 REGISTER
Contact: sip:[email protected]:33776;transport=TLS
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink $DEVNAME 25.73.0.40
Expires: 3600
Line: 2
Allow-Events: talk,hold,conference,refer,check-sync
Content-Length: 0

<— Received SIP request (610 bytes) from TLS:xxx.241.183.250:33778 —>
REGISTER sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.27:33778;rport;branch=z9hG4bK1825622623
From: “User5” sip:[email protected]:5061;tag=2972024860
To: “User5” sip:[email protected]:5061
Call-ID: [email protected]
CSeq: 1 REGISTER
Contact: sip:[email protected]:33778;transport=TLS
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink $DEVNAME 25.73.0.40
Expires: 3600
Line: 2
Allow-Events: talk,hold,conference,refer,check-sync
Content-Length: 0

<— Received SIP request (579 bytes) from TLS:xxx.241.183.250:52331 —>
REGISTER sip:host.domain.tld:5061;transport=tls SIP/2.0
Via: SIP/2.0/TLS 192.168.25.11:52331;branch=z9hG4bK3a53d70587488C66
From: “USER4” sip:[email protected]:5061;tag=5D37E7A7-4956CBE8
To: sip:[email protected]:5061
CSeq: 1 REGISTER
Call-ID: 45ac294c6ece3e8582074e33aa884896
Contact: sip:[email protected]:52331;transport=tls;methods=“INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER”
User-Agent: PolycomVVX-VVX_300-UA/5.7.0.11768
Accept-Language: en
Max-Forwards: 70
Expires: 3600
Content-Length: 0

<— Received SIP request (581 bytes) from TLS:xxx.241.183.250:52331 —>
REGISTER sip:host.domain.tld:5061;transport=tls SIP/2.0
Via: SIP/2.0/TLS 192.168.25.11:52331;branch=z9hG4bK203550375FFF3378
From: “User3 Hosting” sip:[email protected]:5061;tag=DA3C7D5F-CAFE4220
To: sip:[email protected]:5061
CSeq: 1 REGISTER
Call-ID: 8fc28d518d8e1f472ebf4xxx.d3884896
Contact: sip:[email protected]:52331;transport=tls;methods=“INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER”
User-Agent: PolycomVVX-VVX_300-UA/5.7.0.11768
Accept-Language: en
Max-Forwards: 70
Expires: 3600
Content-Length: 0

<— Received SIP request (904 bytes) from TLS:xxx.241.183.250:33412 —>
REGISTER sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.19:5060;branch=z9hG4bK2092412507;rport;alias
From: sips:[email protected]:5061;tag=20xxx.17282
To: sips:[email protected]:5061
Call-ID: [email protected]
CSeq: 2157 REGISTER
Contact: sips:[email protected]:5060;transport=tls;reg-id=1;+sip.instance=“urn:uuid:00000000-0000-1000-8000-000B8295223A
Authorization: Digest username=“290”, realm=“asterisk”, nonce=“1524024908/ef4b68e3b3b97394362cf8cc76bcdce6”, uri=“sip:host.domain.tld:5061”, response=“0b1fa16ae66d386b2500a6431dec16d1”, algorithm=md5, cnonce=“01645009”, opaque=“50ff02184d59f83d”, qop=auth, nc=00000069
X-Grandstream-PBX: true
Max-Forwards: 70
User-Agent: Grandstream GXP2130 1.0.9.69
Supported: path
Expires: 3600
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
Content-Length: 0

<— Received SIP request (609 bytes) from TLS:xxx.241.183.250:33779 —>
REGISTER sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.27:33779;rport;branch=z9hG4bK4086618053
From: “User2” sip:[email protected]:5061;tag=2228021749
To: “User2” sip:[email protected]:5061
Call-ID: [email protected]
CSeq: 1 REGISTER
Contact: sip:[email protected]:33779;transport=TLS
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink $DEVNAME 25.73.0.40
Expires: 3600
Line: 3
Allow-Events: talk,hold,conference,refer,check-sync
Content-Length: 0

<— Received SIP request (608 bytes) from TLS:xxx.241.183.250:33781 —>
REGISTER sip:host.domain.tld:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.25.27:33781;rport;branch=z9hG4bK311735149
From: “User2” sip:[email protected]:5061;tag=3881730428
To: “User2” sip:[email protected]:5061
Call-ID: [email protected]
CSeq: 1 REGISTER
Contact: sip:[email protected]:33781;transport=TLS
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink $DEVNAME 25.73.0.40
Expires: 3600
Line: 3
Allow-Events: talk,hold,conference,refer,check-sync
Content-Length: 0

Does the same thing happen when using a chansip extension?

Hi avayax, we don’t have any chan sip ext’s.

As an experiment, have changed chan_sip ports to 5060 and 5061, pjsip ports 5160 and 5161. I don’t really see how this will make any difference though.

I am willing to bet within a few hours all our endpoints will loose registration. The enpoints will continue sending registration packets, but asterisk/pjsip will not reply to the registration packets.

Did you restart asterisk after changing the port?

I expect you’ve already looked at the various timers in your router, but this “things stop working after 30 seconds” thing comes up a lot and it is often because of a session timeout in a firewall or router. I don’t really see anything in the log that would tell me what is failing, but I’m also a relative neophyte when it comes to TLS connections…

The issue was resolved when I posted the issue to Asterisk. What is was, was the default setting for PJSIP extensions in Advanced Tab for:

MWI Subscription Type The default setting is AUTO

It must be set to Solicited.

I had a similar issue (pjsip not responding to register packets). Chan_SIP did, the culprits were ram and cpu hogs in modules like iSymphony via java and Node server and ucp via nodejs. Disabled those modules, no further issues.

Getting a better idea here of what could cause this issue, but would still appreciate feedback @Hawkeye on whether this was the cause or not. All of the MWI in AUTO or Unsolicited may be causing too many too many task processes, resulting in asterisk becoming overloaded so that it stops replying to REGISTER packets? I thought that AUTO first tried Solicited and then performs Unsolicited.

core show taskprocessors

pjsip/messaging                                        0          0          0        450        500
pjsip/mwi-00000109                                  1458          0         11        450        500
pjsip/mwi-0000010a                                    27          0         11        450        500
pjsip/mwi-0000010b                                    12          0         11        450        500
pjsip/mwi-0000010c                                    13          0         11        450        500
pjsip/mwi-0000010d                                    11          0         11        450        500
pjsip/mwi-0000010e                                    12          0         11        450        500
pjsip/mwi-0000010f                                    14          0         11        450        500
pjsip/mwi-00000110                                    11          0         10        450        500
pjsip/options/115-000000db                             9          0          1        450        500
pjsip/options/178-000000a8                             9          0          1        450        500
pjsip/options/180-000000cd                           577          0          2        450        500
pjsip/options/183-000000ce                           577          0          2        450        500
pjsip/options/185-000000c9                           568          0          2        450        500
pjsip/options/187-000000cc                           576          0          2        450        500
pjsip/options/189-000000c4                           530          0          2        450        500
pjsip/options/191-000000cb                           577          0          2        450        500
pjsip/options/195-000000c7                           568          0          2        450        500
pjsip/options/196-000000ca                           577          0          2        450        500
pjsip/options/3001-000000b2                            9          0          1        450        500
pjsip/options/3002-000000ac                            9          0          1        450        500
pjsip/options/422-000000ee                           568          0          2        450        500
pjsip/options/423-000000eb                           619          0          2        450        500
pjsip/options/424-000000fe                           567          0          2        450        500
pjsip/options/425-000000fb                           568          0          2        450        500
pjsip/options/426-000000f7                           568          0          2        450        500
pjsip/options/427-000000f4                             9          0          1        450        500
pjsip/options/428-000000a1                           625          0          2        450        500
pjsip/options/429-0000009f                           577          0          2        450        500
pjsip/options/430-000000b4                           568          0          2        450        500
pjsip/options/431-000000b5                           577          0          2        450        500
pjsip/options/432-000000ae                           563          0          2        450        500
pjsip/options/433-000000b1                           568          0          2        450        500
pjsip/options/436-000000b8                           568          0          2        450        500
pjsip/options/437-000000b9                           568          0          2        450        500
pjsip/options/438-000000c1                             9          0          1        450        500
pjsip/options/439-000000c3                           513          0          2        450        500
pjsip/options/440-000000d5                           568          0          2        450        500
pjsip/options/442-000000da                           573          0          2        450        500
pjsip/options/443-000000d9                           565          0          2        450        500
pjsip/options/445-000000d1                           577          0          3        450        500
pjsip/options/447-000000d3                             9          0          1        450        500
pjsip/options/448-000000dd                             9          0          1        450        500
pjsip/options/449-000000dc                           550          0          2        450        500
pjsip/options/450-000000f2                           568          0          2        450        500
pjsip/options/451-000000f3                             9          0          1        450        500
pjsip/options/452-000000f6                             9          0          1        450        500
pjsip/options/453-000000f8                           912          0          2        450        500
pjsip/options/454-000000ea                             9          0          1        450        500
pjsip/options/455-000000ec                           568          0          2        450        500
pjsip/options/456-000000ed                             9          0          1        450        500
pjsip/options/457-000000ef                           578          0          2        450        500
pjsip/options/458-000000a2                           577          0          2        450        500
pjsip/options/459-000000a5                           569          0          2        450        500
pjsip/options/460-000000bc                             9          0          1        450        500
pjsip/options/461-000000ba                           578          0          2        450        500
pjsip/options/462-000000b7                           577          0          2        450        500
pjsip/options/463-000000b6                             9          0          1        450        500
pjsip/options/464-000000b3                           553          0          2        450        500
pjsip/options/465-000000b0                           571          0          2        450        500
pjsip/options/466-000000af                           568          0          2        450        500
pjsip/options/467-000000ad                           568          0          2        450        500
pjsip/options/468-000000c8                           568          0          2        450        500
pjsip/options/469-000000c6                           568          0          2        450        500
pjsip/options/470-000000d6                             9          0          1        450        500
pjsip/options/471-000000d8                           568          0          2        450        500
pjsip/options/472-000000d4                           565          0          2        450        500
pjsip/options/474-000000d2                           148          0          2        450        500
pjsip/options/479-000000de                           587          0          2        450        500
pjsip/options/480-000000fd                             9          0          1        450        500
pjsip/options/481-000000fa                           568          0          2        450        500
pjsip/options/482-0000009e                             9          0          1        450        500
pjsip/options/483-00000100                           569          0          2        450        500
pjsip/options/484-000000a3                           568          0          2        450        500
pjsip/options/485-000000a0                           567          0          2        450        500
pjsip/options/486-000000a6                             9          0          1        450        500
pjsip/options/487-000000a4                           579          0          2        450        500
pjsip/options/489-000000e7                           568          0          2        450        500
pjsip/options/490-000000bb                             9          0          1        450        500
pjsip/options/491-000000be                           568          0          2        450        500
pjsip/options/492-000000bf                           568          0          2        450        500
pjsip/options/493-000000c0                           586          0          2        450        500
pjsip/options/494-000000c2                           628          0          2        450        500
pjsip/options/496-000000c5                           537          0          2        450        500
pjsip/options/498-000000ab                           552          0          2        450        500
pjsip/options/500-000000e1                             9          0          1        450        500
pjsip/options/505-000000e2                           573          0          2        450        500
pjsip/options/506-000000e3                             9          0          1        450        500
pjsip/options/507-000000e5                           585          0          2        450        500
pjsip/options/508-000000e6                           575          0          2        450        500
pjsip/options/509-000000e9                           574          0          2        450        500
pjsip/options/520-000000cf                           568          0          2        450        500
pjsip/options/525-000000d0                             9          0          1        450        500
pjsip/options/550-000000aa                           568          0          2        450        500
pjsip/options/600-000000df                             9          0          1        450        500
pjsip/options/627-000000a7                             9          0          1        450        500
pjsip/options/704-000000bd                             9          0          1        450        500
pjsip/options/767-000000f0                           966          0          2        450        500
pjsip/options/780-000000fc                           577          0          2        450        500
pjsip/options/7801-000000a9                            9          0          1        450        500
pjsip/options/781-000000ff                           577          0          2        450        500
pjsip/options/782-000000f5                             9          0          1        450        500
pjsip/options/783-000000f9                           543          0          2        450        500
pjsip/options/837-000000f1                           569          0          2        450        500
pjsip/options/871-000000d7                           565          0          2        450        500
pjsip/options/997-000000e0                             9          0          1        450        500
pjsip/options/998-000000e8                           571          0          2        450        500
pjsip/options/999-000000e4                           594          0          2        450        500

wzkds: Clearly showed the MWI Subscription Type in advanced settings of all pjsip extensions MUST be set to Solicited.

Give it a try and see if it fixes your issue.

Thanks @Hawkeye

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.