This is the sip debug info that that occurs at the error. I have replaced the Pub IP with xxx.xxx.xxx.xxx
Oct 21 13:35:52] Really destroying SIP dialog ‘4784e92d141f47566dc25f3e75e35df4@xxx.xxx.xxx.xxx:5060’ Method: INVITE
[Oct 21 13:35:52] NOTICE[3968]: chan_sip.c:26712 check_rtp_timeout: Disconnecting call ‘SIP/238-00008966’ for lack of RTP activity in 61 seconds
[Oct 21 13:35:52] – Hungup ‘DAHDI/pseudo-1715713832’
[Oct 21 13:35:52] == Spawn extension (default, 8600094, 1) exited non-zero on ‘SIP/238-00008966’
[Oct 21 13:35:52] – Executing [h@default:1] AGI(“SIP/238-00008966”, “agi://127.0.0.1:4577/call_log–HVcauses–PRI-----NODEBUG-----16---------------”) in new stack
[Oct 21 13:35:52] – <SIP/238-00008966>AGI Script agi://127.0.0.1:4577/call_log–HVcauses–PRI-----NODEBUG-----16--------------- completed, returning 0
[Oct 21 13:35:52] Scheduling destruction of SIP dialog ‘00bde3fc6c4ecc5b153ef8cc002179f7@xxx.xxx.xxx.xxx:5060’ in 6400 ms (Method: INVITE)
[Oct 21 13:35:52] set_destination: Parsing sip:238@192.168.2.238:46396;rinstance=6f0fbe9633ec3be6;transport=UDP for address/port to send to
[Oct 21 13:35:52] set_destination: set destination to 192.168.2.238:46396
[Oct 21 13:35:52] Reliably Transmitting (no NAT) to 192.168.2.238:46396:
BYE sip:238@192.168.2.238:46396;rinstance=6f0fbe9633ec3be6;transport=UDP SIP/2.0
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK6e6fb320
Max-Forwards: 70
From: “S1610211334488600094” sip:4805008985@xxx.xxx.xxx.xxx;tag=as7cc79a32
To: sip:238@192.168.2.238:46396;rinstance=6f0fbe9633ec3be6;transport=UDP;tag=e2079b33
Call-ID: 00bde3fc6c4ecc5b153ef8cc002179f7@xxx.xxx.xxx.xxx:5060
CSeq: 103 BYE
User-Agent: Asterisk PBX 1.8.32.2-vici
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0
[Oct 21 13:35:52]
<— SIP read from UDP:192.168.2.238:46396 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK6e6fb320;received=192.168.1.22
Contact: sip:238@192.168.2.238:46396;rinstance=6f0fbe9633ec3be6;transport=UDP
To: sip:238@192.168.2.238:46396;rinstance=6f0fbe9633ec3be6;transport=UDP;tag=e2079b33
From: "S1610211334488600094"sip:4805008985@xxx.xxx.xxx.xxx;tag=as7cc79a32
Call-ID: 00bde3fc6c4ecc5b153ef8cc002179f7@xxx.xxx.xxx.xxx:5060
CSeq: 103 BYE
User-Agent: Z 3.3.25608 r25552
Content-Length: 0
<------------->
[Oct 21 13:35:52] — (9 headers 0 lines) —
[Oct 21 13:35:52] Really destroying SIP dialog ‘00bde3fc6c4ecc5b153ef8cc002179f7@xxx.xxx.xxx.xxx:5060’ Method: INVITE
[Oct 21 13:35:52] – <Local/914239038166@default-00009faf;2>AGI Script agi://127.0.0.1:4577/call_log–HVcauses–PRI-----NODEBUG-----16-----ANSWER-----18-----5 completed, returning 0
[Oct 21 13:35:52]
<— SIP read from UDP:192.168.2.238:46396 —>
PUBLISH sip:238@192.168.1.22;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 192.168.2.238:46396;branch=z9hG4bK-d8754z-34d52deb8758dd3c-1—d8754z-
Max-Forwards: 70
Contact: sip:238@192.168.2.238:46396;transport=UDP
To: sip:238@192.168.1.22;transport=UDP
From: sip:238@192.168.1.22;transport=UDP;tag=2460f972
Call-ID: ZGI3NDQ5MWNhZjk4YjBjNmU5ZTNlZWQ4MThkMDhjNTI.
CSeq: 1 PUBLISH
Expires: 600
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Content-Type: application/pidf+xml
Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
User-Agent: Z 3.3.25608 r25552
Event: presence
Allow-Events: presence, kpml
Content-Length: 258
<?xml version="1.0" encoding="UTF-8"?>
open Online
<------------->
[Oct 21 13:35:52] — (16 headers 3 lines) —
[Oct 21 13:35:52]
<— Transmitting (no NAT) to 192.168.2.238:46396 —>
SIP/2.0 489 Bad Event
Via: SIP/2.0/UDP 192.168.2.238:46396;branch=z9hG4bK-d8754z-34d52deb8758dd3c-1—d8754z-;received=192.168.2.238
From: sip:238@192.168.1.22;transport=UDP;tag=2460f972
To: sip:238@192.168.1.22;transport=UDP;tag=as7885cf89
Call-ID: ZGI3NDQ5MWNhZjk4YjBjNmU5ZTNlZWQ4MThkMDhjNTI.
CSeq: 1 PUBLISH
Server: Asterisk PBX 1.8.32.2-vici
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
<------------>
[Oct 21 13:35:52] Really destroying SIP dialog ‘ZGI3NDQ5MWNhZjk4YjBjNmU5ZTNlZWQ4MThkMDhjNTI.’ Method: PUBLISH
[Oct 21 13:35:52]
<— SIP read from UDP:192.168.2.238:46396 —>
SUBSCRIBE sip:238@192.168.1.22;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 192.168.2.238:46396;branch=z9hG4bK-d8754z-b4c4c768d7ecfea3-1—d8754z-
Max-Forwards: 70
Contact: sip:238@192.168.2.238:46396;transport=UDP
To: sip:238@192.168.1.22;transport=UDP
From: sip:238@192.168.1.22;transport=UDP;tag=4c5fb66f
Call-ID: MTNkNDY0NTIwNDQ3ZDBkZDk5MTM0ZDU3MDNmZjNlMjg.
CSeq: 1 SUBSCRIBE
Expires: 600
Accept: application/watcherinfo+xml
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
User-Agent: Z 3.3.25608 r25552
Event: presence.winfo
Allow-Events: presence, kpml
Content-Length: 0
<------------->
[Oct 21 13:35:52] — (16 headers 0 lines) —
[Oct 21 13:35:52] Creating new subscription
[Oct 21 13:35:52] Sending to 192.168.2.238:46396 (no NAT)
[Oct 21 13:35:52] list_route: hop: sip:238@192.168.2.238:46396;transport=UDP
[Oct 21 13:35:52] Found peer ‘238’ for ‘238’ from 192.168.2.238:46396
[Oct 21 13:35:52]
<— Transmitting (no NAT) to 192.168.2.238:46396 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.2.238:46396;branch=z9hG4bK-d8754z-b4c4c768d7ecfea3-1—d8754z-;received=192.168.2.238
From: sip:238@192.168.1.22;transport=UDP;tag=4c5fb66f
To: sip:238@192.168.1.22;transport=UDP;tag=as14b766ea
Call-ID: MTNkNDY0NTIwNDQ3ZDBkZDk5MTM0ZDU3MDNmZjNlMjg.
CSeq: 1 SUBSCRIBE
Server: Asterisk PBX 1.8.32.2-vici
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="2b595351"
Content-Length: 0
<------------>
[Oct 21 13:35:52] Scheduling destruction of SIP dialog ‘MTNkNDY0NTIwNDQ3ZDBkZDk5MTM0ZDU3MDNmZjNlMjg.’ in 6400 ms (Method: SUBSCRIBE)
[Oct 21 13:35:52]
<— SIP read from UDP:192.168.2.238:46396 —>
SUBSCRIBE sip:238@192.168.1.22;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 192.168.2.238:46396;branch=z9hG4bK-d8754z-8a75d09840fa1b2b-1—d8754z-
Max-Forwards: 70
Contact: sip:238@192.168.2.238:46396;transport=UDP
To: sip:238@192.168.1.22;transport=UDP
From: sip:238@192.168.1.22;transport=UDP;tag=4c5fb66f
Call-ID: MTNkNDY0NTIwNDQ3ZDBkZDk5MTM0ZDU3MDNmZjNlMjg.
CSeq: 2 SUBSCRIBE
Expires: 600
Accept: application/watcherinfo+xml
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
User-Agent: Z 3.3.25608 r25552
Authorization: Digest username=“238”,realm=“asterisk”,nonce=“2b595351”,uri="sip:238@192.168.1.22;transport=UDP",response=“6d328df91df22792a981bd4d25d69cd3”,algorithm=MD5
Event: presence.winfo
Allow-Events: presence, kpml
Content-Length: 0
<------------->
[Oct 21 13:35:52] — (17 headers 0 lines) —
[Oct 21 13:35:52] Creating new subscription
[Oct 21 13:35:52] Sending to 192.168.2.238:46396 (no NAT)
[Oct 21 13:35:52] Found peer ‘238’ for ‘238’ from 192.168.2.238:46396
[Oct 21 13:35:52] Looking for 238 in default (domain 192.168.1.22)
[Oct 21 13:35:52]
<— Transmitting (no NAT) to 192.168.2.238:46396 —>
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.2.238:46396;branch=z9hG4bK-d8754z-8a75d09840fa1b2b-1—d8754z-;received=192.168.2.238
From: sip:238@192.168.1.22;transport=UDP;tag=4c5fb66f
To: sip:238@192.168.1.22;transport=UDP;tag=as14b766ea
Call-ID: MTNkNDY0NTIwNDQ3ZDBkZDk5MTM0ZDU3MDNmZjNlMjg.
CSeq: 2 SUBSCRIBE
Server: Asterisk PBX 1.8.32.2-vici
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
<------------>