Can’t make incoming calls from Sangoma IP phone

Hello everyone,

I’m encountering an issue with my FREEPBX hosted in the cloud. I’ve been using Zoiper and another SIP app successfully for the past year. Recently, I purchased Sangoma IP phones (P330 and P320). When I manually register the extension, everything works fine. However, when I use Endpoint Manager, I can receive calls but cannot make them. After about 30 seconds, the call fails, and there are no relevant logs showing in the logs section. I’ve been trying to solve this issue but haven’t found a solution yet. Please help me troubleshoot this problem.

I suspect you might not have the proper External IP set in the Settings → Asterisk SIP settings.

If that assumption is not correct you’ll need to log into the asterisk console and run the pjsip set logger on or the sip set debug on commands and provide the output of a failed call before anyone can offer an other suggestions.

thanks for your reply.

I unfortunately first one didn’t work

Please find logs :

<— Received SIP request (1472 bytes) from UDP:51.235.XXX.XXX:38485 —>
INVITE sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:38485;rport;branch=z9hG4bKPj11Az62KIoe0s8PoJQrVGseItyEvimaFR
Max-Forwards: 70
From: sip:[email protected];tag=qIm0Dgo-yom5R6gWig9NrGsJYm6Lw-Wl
To: sip:[email protected]
Contact: sip:[email protected]:1315;ob
Call-ID: qj59h35AiXhwzI-NkqNkIQP4jm2ZUKxR
CSeq: 9822 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
User-Agent: Sangoma P330 4_19_2 000FD3D21B8E
Accept: application/sdp, application/X-Digium-Event, text/*
Content-Type: application/sdp
Content-Length: 755

v=0
o=- 408320972 408320972 IN IP4 51.235.XXX.XXX
s=digphn
b=AS:84
t=0 0
a=X-nat:0
m=audio 4056 RTP/AVP 0 8 9 96 97 18 98 58 58 120 121 122
c=IN IP4 51.235.XXX.XXX
b=TIAS:64000
a=rtcp:4057 IN IP4 192.168.10.173
a=sendrecv
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:96 G726-32/8000
a=rtpmap:97 opus/48000/2
a=fmtp:97 cbr=1;maxptime=20;maxplaybackrate=16000;maxaveragebitrate=20000;sprop-maxcapturerate=16000;usedtx=0
a=rtpmap:18 G729/8000
a=rtpmap:98 L16/8000
a=rtpmap:58 L16/16000
a=rtpmap:58 L16-256/16000
a=rtpmap:120 telephone-event/8000
a=fmtp:120 0-16
a=rtpmap:121 telephone-event/48000
a=fmtp:121 0-16
a=rtpmap:122 telephone-event/16000
a=fmtp:122 0-16
a=ssrc:1390454342 cname:188e211818ad5af9

<— Transmitting SIP response (558 bytes) to UDP:51.235.XXX.XXX:38485 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 51.235.XXX.XXX:38485;rport=38485;received=51.235.XXX.XXX;branch=z9hG4bKPj11Az62KIoe0s8PoJQrVGseItyEvimaFR
Call-ID: qj59h35AiXhwzI-NkqNkIQP4jm2ZUKxR
From: sip:[email protected];tag=qIm0Dgo-yom5R6gWig9NrGsJYm6Lw-Wl
To: sip:[email protected];tag=z9hG4bKPj11Az62KIoe0s8PoJQrVGseItyEvimaFR
CSeq: 9822 INVITE
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1712949682/0cf68aa01a35130c3d805ef86431852a”,opaque=“18d5f6f81019d017”,algorithm=MD5,qop=“auth”
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

Either the log is incomplete, or there is no valid routing back to the phone. There should be an ACK received, even if the phone is misconfigured, and there should be a new INVITE, with authentication, if it is configured properly.

The forward routing works for the INVITE, so should work for the ACK.

this is the full log :

— Received SIP request (1472 bytes) from UDP:51.235.XXX.XXX:38485 —>
INVITE sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:38485;rport;branch=z9hG4bKPj-FpxAFYfW3-575Mx6q29wKCdxDtlXbpN
Max-Forwards: 70
From: sip:[email protected];tag=9QDjaedAW9x98Uj3J5HwvN5SAFpSEn7y
To: sip:[email protected]
Contact: sip:[email protected]:1315;ob
Call-ID: NmuyP.wW7sXBjmRvopy8.uExI5WIp93Z
CSeq: 9248 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
User-Agent: Sangoma P330 4_19_2 000FD3D21B8E
Accept: application/sdp, application/X-Digium-Event, text/*
Content-Type: application/sdp
Content-Length: 755

v=0
o=- 408361014 408361014 IN IP4 51.235.XXX.XXX
s=digphn
b=AS:84
t=0 0
a=X-nat:0
m=audio 4096 RTP/AVP 0 8 9 96 97 18 98 58 58 120 121 122
c=IN IP4 51.235.XXX.XXX
b=TIAS:64000
a=rtcp:4097 IN IP4 192.168.10.173
a=sendrecv
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:96 G726-32/8000
a=rtpmap:97 opus/48000/2
a=fmtp:97 cbr=1;maxptime=20;maxplaybackrate=16000;maxaveragebitrate=20000;sprop-maxcapturerate=16000;usedtx=0
a=rtpmap:18 G729/8000
a=rtpmap:98 L16/8000
a=rtpmap:58 L16/16000
a=rtpmap:58 L16-256/16000
a=rtpmap:120 telephone-event/8000
a=fmtp:120 0-16
a=rtpmap:121 telephone-event/48000
a=fmtp:121 0-16
a=rtpmap:122 telephone-event/16000
a=fmtp:122 0-16
a=ssrc:1350789436 cname:77ce70655a288cd0

<— Transmitting SIP response (558 bytes) to UDP:51.235.XXX.XXX:38485 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 51.235.XXX.XXX:38485;rport=38485;received=51.235.XXX.XXX;branch=z9hG4bKPj-FpxAFYfW3-575Mx6q29wKCdxDtlXbpN
Call-ID: NmuyP.wW7sXBjmRvopy8.uExI5WIp93Z
From: sip:[email protected];tag=9QDjaedAW9x98Uj3J5HwvN5SAFpSEn7y
To: sip:[email protected];tag=z9hG4bKPj-FpxAFYfW3-575Mx6q29wKCdxDtlXbpN
CSeq: 9248 INVITE
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1712989722/854391b8e9c216ad86604b38e7f4dd84”,opaque=“54aca9b05fa94d0e”,algorithm=MD5,qop=“auth”
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Received SIP request (393 bytes) from UDP:51.235.XXX.XXX:38485 —>
ACK sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:38485;rport;branch=z9hG4bKPj-FpxAFYfW3-575Mx6q29wKCdxDtlXbpN
Max-Forwards: 70
From: sip:[email protected];tag=9QDjaedAW9x98Uj3J5HwvN5SAFpSEn7y
To: sip:[email protected];tag=z9hG4bKPj-FpxAFYfW3-575Mx6q29wKCdxDtlXbpN
Call-ID: NmuyP.wW7sXBjmRvopy8.uExI5WIp93Z
CSeq: 9248 ACK
Content-Length: 0

<— Transmitting SIP response (558 bytes) to UDP:51.235.XXX.XXX:38485 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 51.235.XXX.XXX:38485;rport=38485;received=51.235.XXX.XXX;branch=z9hG4bKPj-FpxAFYfW3-575Mx6q29wKCdxDtlXbpN
Call-ID: NmuyP.wW7sXBjmRvopy8.uExI5WIp93Z
From: sip:[email protected];tag=9QDjaedAW9x98Uj3J5HwvN5SAFpSEn7y
To: sip:[email protected];tag=z9hG4bKPj-FpxAFYfW3-575Mx6q29wKCdxDtlXbpN
CSeq: 9248 INVITE
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1712989722/854391b8e9c216ad86604b38e7f4dd84”,opaque=“54aca9b05fa94d0e”,algorithm=MD5,qop=“auth”
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Received SIP request (393 bytes) from UDP:51.235.XXX.XXX:38485 —>
ACK sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:38485;rport;branch=z9hG4bKPj-FpxAFYfW3-575Mx6q29wKCdxDtlXbpN
Max-Forwards: 70
From: sip:[email protected];tag=9QDjaedAW9x98Uj3J5HwvN5SAFpSEn7y
To: sip:[email protected];tag=z9hG4bKPj-FpxAFYfW3-575Mx6q29wKCdxDtlXbpN
Call-ID: NmuyP.wW7sXBjmRvopy8.uExI5WIp93Z
CSeq: 9248 ACK
Content-Length: 0

When exclusively using Endpoint Manager, I encounter an issue with configuring Yalink phones, yet manual configuration works seamlessly. Similarly, when manually setting up Sangoma phones, they function properly. Despite attempting a new profile, the problem persists.

I am guessing that once the Authorization header is added, the packet exceeds 1500 bytes, thus requiring fragmentation, which isn’t being handled properly somewhere in the path. On the Sangoma phone, try disabling all codecs other than PCMU (a.k.a. ulaw and G.711u) and PCMA (a.k.a. alaw and G.711a).

If you still have trouble, post a new log.

still same and the log are the same also

The disabled codecs should be gone from the log. If not, the change wasn’t saved or you’re looking at an old log. Also, the Asterisk log (/var/log/asterisk/full) normally has time stamps for each entry, which are useful for distinguishing retries from responses.

Please post a new log, including timestamps.

this is the full log

the IPphone ex is : 9997

CSeq: 5401 SUBSCRIBE
Event: message-summary
Expires: 3600
Supported: replaces, 100rel, timer, norefersub, trickle-ice
Accept: application/simple-message-summary
Allow-Events: presence, message-summary, refer
User-Agent: Sangoma P325 4_18_2 000FD3D1B476
Content-Length: 0

<— Transmitting SIP response (561 bytes) to UDP:51.235.XXX.XXX:29841 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 51.235.XXX.XXX:29841;rport=29841;received=51.235.XXX.XXX;branch=z9hG4bKPjd0E3mVUCbx9Xa.lTziKcFCyKLcWsLtGM
Call-ID: 2titzPQjIm3gPn901widtweA3NTaLdHP
From: sip:[email protected];tag=n30FPYD-ONkxgTqn48SDVzPK0WUFosgy
To: sip:[email protected];tag=z9hG4bKPjd0E3mVUCbx9Xa.lTziKcFCyKLcWsLtGM
CSeq: 5401 SUBSCRIBE
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1712999053/b4beed662ffe90b4aec71086186c6eac”,opaque=“209b3e14306e524b”,algorithm=MD5,qop=“auth”
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Received SIP request (952 bytes) from UDP:51.235.XXX.XXX:29841 —>
SUBSCRIBE sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:29841;rport;branch=z9hG4bKPjbNgAgam6wV1a2m0Qg1gIjMh4IWqMHuTA
Max-Forwards: 70
From: sip:[email protected];tag=n30FPYD-ONkxgTqn48SDVzPK0WUFosgy
To: sip:[email protected]
Contact: sip:[email protected]:1311;ob
Call-ID: 2titzPQjIm3gPn901widtweA3NTaLdHP
CSeq: 5402 SUBSCRIBE
Event: message-summary
Expires: 3600
Supported: replaces, 100rel, timer, norefersub, trickle-ice
Accept: application/simple-message-summary
Allow-Events: presence, message-summary, refer
User-Agent: Sangoma P325 4_18_2 000FD3D1B476
Authorization: Digest username=“9013”, realm=“asterisk”, nonce=“1712999053/b4beed662ffe90b4aec71086186c6eac”, uri=“sip:[email protected]:5060;transport=udp”, response=“c9d2e46f7844e4321a778bb3bd380ac0”, algorithm=MD5, cnonce=“Tq3e.ZBMqJjFWB8T1yN.WE0HxmTrex”, opaque=“209b3e14306e524b”, qop=auth, nc=00000001
Content-Length: 0

<— Transmitting SIP response (412 bytes) to UDP:51.235.XXX.XXX:29841 —>
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 51.235.XXX.XXX:29841;rport=29841;received=51.235.XXX.XXX;branch=z9hG4bKPjbNgAgam6wV1a2m0Qg1gIjMh4IWqMHuTA
Call-ID: 2titzPQjIm3gPn901widtweA3NTaLdHP
From: sip:[email protected];tag=n30FPYD-ONkxgTqn48SDVzPK0WUFosgy
To: sip:[email protected];tag=z9hG4bKPjbNgAgam6wV1a2m0Qg1gIjMh4IWqMHuTA
CSeq: 5402 SUBSCRIBE
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

freepbx*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
[root@freepbx ~]# clear
[root@freepbx ~]# asterisk -r
Asterisk 16.30.0, Copyright (C) 1999 - 2021, Sangoma Technologies Corporation and others.
Created by Mark Spencer [email protected]
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

Connected to Asterisk 16.30.0 currently running on freepbx (pid = 6843)
<— Received SIP request (1472 bytes) from UDP:51.235.XXX.XXX:26965 —>
INVITE sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:26965;rport;branch=z9hG4bKPjCd1nCsVKhhPpSIQTct1RARkibyJwY7Q9
Max-Forwards: 70
From: sip:[email protected];tag=wJpqNOt4CQPDe4Es4eFzgn13Rl85k8sC
To: sip:[email protected]
Contact: sip:[email protected]:1315;ob
Call-ID: Lqs4C5FGAVrasVkhZX1aoXPIVS2j7GJR
CSeq: 15414 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
User-Agent: Sangoma P330 4_19_2 000FD3D21B8E
Accept: application/sdp, application/X-Digium-Event, text/*
Content-Type: application/sdp
Content-Length: 754

v=0
o=- 408370354 408370354 IN IP4 51.235.XXX.XXX
s=digphn
b=AS:84
t=0 0
a=X-nat:0
m=audio 4030 RTP/AVP 0 8 9 96 97 18 98 58 58 120 121 122
c=IN IP4 51.235.XXX.XXX
b=TIAS:64000
a=rtcp:4031 IN IP4 192.168.10.173
a=sendrecv
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:96 G726-32/8000
a=rtpmap:97 opus/48000/2
a=fmtp:97 cbr=1;maxptime=20;maxplaybackrate=16000;maxaveragebitrate=20000;sprop-maxcapturerate=16000;usedtx=0
a=rtpmap:18 G729/8000
a=rtpmap:98 L16/8000
a=rtpmap:58 L16/16000
a=rtpmap:58 L16-256/16000
a=rtpmap:120 telephone-event/8000
a=fmtp:120 0-16
a=rtpmap:121 telephone-event/48000
a=fmtp:121 0-16
a=rtpmap:122 telephone-event/16000
a=fmtp:122 0-16
a=ssrc:841708589 cname:7fc627b05a1db4f2

<— Transmitting SIP response (559 bytes) to UDP:51.235.XXX.XXX:26965 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 51.235.XXX.XXX:26965;rport=26965;received=51.235.XXX.XXX;branch=z9hG4bKPjCd1nCsVKhhPpSIQTct1RARkibyJwY7Q9
Call-ID: Lqs4C5FGAVrasVkhZX1aoXPIVS2j7GJR
From: sip:[email protected];tag=wJpqNOt4CQPDe4Es4eFzgn13Rl85k8sC
To: sip:[email protected];tag=z9hG4bKPjCd1nCsVKhhPpSIQTct1RARkibyJwY7Q9
CSeq: 15414 INVITE
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1712999064/00fc59d287031e9f2e733bccb67f9e99”,opaque=“4c55f4b65d6b7ede”,algorithm=MD5,qop=“auth”
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Received SIP request (394 bytes) from UDP:51.235.XXX.XXX:26965 —>
ACK sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:26965;rport;branch=z9hG4bKPjCd1nCsVKhhPpSIQTct1RARkibyJwY7Q9
Max-Forwards: 70
From: sip:[email protected];tag=wJpqNOt4CQPDe4Es4eFzgn13Rl85k8sC
To: sip:[email protected];tag=z9hG4bKPjCd1nCsVKhhPpSIQTct1RARkibyJwY7Q9
Call-ID: Lqs4C5FGAVrasVkhZX1aoXPIVS2j7GJR
CSeq: 15414 ACK
Content-Length: 0

<— Transmitting SIP request (439 bytes) to UDP:51.235.XXX.XXX:29841 —>
OPTIONS sip:[email protected]:29841;ob SIP/2.0
Via: SIP/2.0/UDP 139.162.XXX.XXX:5060;rport;branch=z9hG4bKPjf35c5a29-35f0-4dc0-90b4-4ec34957814b
From: sip:[email protected];tag=67eb8f7c-37b5-4855-b31e-70ed33053ccc
To: sip:[email protected];ob
Contact: sip:[email protected]:5060
Call-ID: 6ddb38f0-81ba-4c1c-9e63-fcd5c2ab9728
CSeq: 42985 OPTIONS
Max-Forwards: 70
User-Agent: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Received SIP response (826 bytes) from UDP:51.235.XXX.XXX:29841 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 139.162.XXX.XXX:5060;rport=5060;received=139.162.XXX.XXX;branch=z9hG4bKPjf35c5a29-35f0-4dc0-90b4-4ec34957814b
Call-ID: 6ddb38f0-81ba-4c1c-9e63-fcd5c2ab9728
From: sip:[email protected];tag=67eb8f7c-37b5-4855-b31e-70ed33053ccc
To: sip:[email protected]:5060;ob;tag=z9hG4bKPjf35c5a29-35f0-4dc0-90b4-4ec34957814b
CSeq: 42985 OPTIONS
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Accept: application/sdp, application/pidf+xml, application/xpidf+xml, application/simple-message-summary, message/sipfrag;version=2.0, application/im-iscomposing+xml, text/plain
Supported: replaces, 100rel, timer, norefersub, trickle-ice
Allow-Events: presence, message-summary, refer
User-Agent: Sangoma P325 4_18_2 000FD3D1B476
Content-Length: 0

<— Received SIP request (456 bytes) from UDP:51.235.XXX.XXX:35617 —>
SUBSCRIBE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:35617;branch=z9hG4bK1072953607
From: “9011” sip:[email protected];tag=971944334
To: “9011” sip:[email protected]
Call-ID: [email protected]
CSeq: 1 SUBSCRIBE
Contact: sip:[email protected]:5062
Accept: application/x-as-feature-event+xml
Max-Forwards: 70
User-Agent: Yealink SIP-T20P 9.73.193.40
Expires: 3630
Event: as-feature-event
Content-Length: 0

[2024-04-13 09:04:27] WARNING[2390]: res_pjsip_pubsub.c:803 subscription_get_handler_from_rdata: No registered subscribe handler for event as-feature-event from 9011
<— Transmitting SIP response (344 bytes) to UDP:51.235.XXX.XXX:35617 —>
SIP/2.0 489 Bad Event
Via: SIP/2.0/UDP 51.235.XXX.XXX:35617;rport=35617;received=51.235.XXX.XXX;branch=z9hG4bK4209181118
Call-ID: [email protected]
From: “9011” sip:[email protected];tag=971944334
To: “9011” sip:[email protected];tag=z9hG4bK4209181118
CSeq: 2 SUBSCRIBE
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Received SIP request (642 bytes) from UDP:51.235.XXX.XXX:26965 —>
SUBSCRIBE sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:26965;rport;branch=z9hG4bKPjzAcQwovM1V8Unp8ZKTgf.Q82iSrKI1bU
Max-Forwards: 70
From: sip:[email protected];tag=tGHucJzVXCA1RdizvgNDs-BkvpxP4Oow
To: sip:[email protected]
Contact: sip:[email protected]:1315;ob
Call-ID: b0LeU2DObJ5qGs0r0ZSk7nTv3XyJpNxP
CSeq: 27838 SUBSCRIBE
Event: message-summary
Expires: 3600
Supported: replaces, 100rel, timer, norefersub, trickle-ice
Accept: application/simple-message-summary
Allow-Events: presence, message-summary, refer
User-Agent: Sangoma P330 4_19_2 000FD3D21B8E
Content-Length: 0

<— Transmitting SIP response (562 bytes) to UDP:51.235.XXX.XXX:26965 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 51.235.XXX.XXX:26965;rport=26965;received=51.235.XXX.XXX;branch=z9hG4bKPjzAcQwovM1V8Unp8ZKTgf.Q82iSrKI1bU
Call-ID: b0LeU2DObJ5qGs0r0ZSk7nTv3XyJpNxP
From: sip:[email protected];tag=tGHucJzVXCA1RdizvgNDs-BkvpxP4Oow
To: sip:[email protected];tag=z9hG4bKPjzAcQwovM1V8Unp8ZKTgf.Q82iSrKI1bU
CSeq: 27838 SUBSCRIBE
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1712999082/577cad69508c2a7906e525a8e99cf297”,opaque=“7633f13209d7b04c”,algorithm=MD5,qop=“auth”
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Received SIP request (955 bytes) from UDP:51.235.XXX.XXX:26965 —>
SUBSCRIBE sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:26965;rport;branch=z9hG4bKPj9i44.sFFRW3XWHemUgB.TkqSV5gK0GSD
Max-Forwards: 70
From: sip:[email protected];tag=tGHucJzVXCA1RdizvgNDs-BkvpxP4Oow
To: sip:[email protected]
Contact: sip:[email protected]:1315;ob
Call-ID: b0LeU2DObJ5qGs0r0ZSk7nTv3XyJpNxP
CSeq: 27839 SUBSCRIBE
Event: message-summary
Expires: 3600
Supported: replaces, 100rel, timer, norefersub, trickle-ice
Accept: application/simple-message-summary
Allow-Events: presence, message-summary, refer
User-Agent: Sangoma P330 4_19_2 000FD3D21B8E
Authorization: Digest username=“9997”, realm=“asterisk”, nonce=“1712999082/577cad69508c2a7906e525a8e99cf297”, uri=“sip:[email protected]:5060;transport=udp”, response=“c5392fc96a6912234edb56f7d152da05”, algorithm=MD5, cnonce=“1vkbOIE65TAhm6LOq3mTdAx2eJYHXlkO”, opaque=“7633f13209d7b04c”, qop=auth, nc=00000001
Content-Length: 0

<— Transmitting SIP response (413 bytes) to UDP:51.235.XXX.XXX:26965 —>
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 51.235.XXX.XXX:26965;rport=26965;received=51.235.XXX.XXX;branch=z9hG4bKPj9i44.sFFRW3XWHemUgB.TkqSV5gK0GSD
Call-ID: b0LeU2DObJ5qGs0r0ZSk7nTv3XyJpNxP
From: sip:[email protected];tag=tGHucJzVXCA1RdizvgNDs-BkvpxP4Oow
To: sip:[email protected];tag=z9hG4bKPj9i44.sFFRW3XWHemUgB.TkqSV5gK0GSD
CSeq: 27839 SUBSCRIBE
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Received SIP request (457 bytes) from UDP:51.235.XXX.XXX:35617 —>
SUBSCRIBE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:35617;branch=z9hG4bK2808707661
From: “9011” sip:[email protected];tag=2882190366
To: “9011” sip:[email protected]
Call-ID: [email protected]
CSeq: 1 SUBSCRIBE
Contact: sip:[email protected]:5062
Accept: application/x-as-feature-event+xml
Max-Forwards: 70
User-Agent: Yealink SIP-T20P 9.73.193.40
Expires: 3630
Event: as-feature-event
Content-Length: 0

<— Transmitting SIP response (494 bytes) to UDP:51.235.XXX.XXX:35617 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 51.235.XXX.XXX:35617;rport=35617;received=51.235.XXX.XXX;branch=z9hG4bK2808707661
Call-ID: [email protected]
From: “9011” sip:[email protected];tag=2882190366
To: “9011” sip:[email protected];tag=z9hG4bK2808707661
CSeq: 1 SUBSCRIBE
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1712999082/577cad69508c2a7906e525a8e99cf297”,opaque=“201ae28650b7acd7”,algorithm=MD5,qop=“auth”
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Received SIP request (726 bytes) from UDP:51.235.XXX.XXX:35617 —>
SUBSCRIBE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:35617;branch=z9hG4bK761694797
From: “9011” sip:[email protected];tag=2882190366
To: “9011” sip:[email protected]
Call-ID: [email protected]
CSeq: 2 SUBSCRIBE
Contact: sip:[email protected]:5062
Authorization: Digest username=“9011”, realm=“asterisk”, nonce=“1712999082/577cad69508c2a7906e525a8e99cf297”, uri=“sip:[email protected]”, response=“3f293f1bed7a2f2d195d19d7c0a1c098”, algorithm=MD5, cnonce=“0a4f113b”, opaque=“201ae28650b7acd7”, qop=auth, nc=00000001
Accept: application/x-as-feature-event+xml
Max-Forwards: 70
User-Agent: Yealink SIP-T20P 9.73.193.40
Expires: 3630
Event: as-feature-event
Content-Length: 0

[2024-04-13 09:04:42] WARNING[2390]: res_pjsip_pubsub.c:803 subscription_get_handler_from_rdata: No registered subscribe handler for event as-feature-event from 9011
<— Transmitting SIP response (343 bytes) to UDP:51.235.XXX.XXX:35617 —>
SIP/2.0 489 Bad Event
Via: SIP/2.0/UDP 51.235.XXX.XXX:35617;rport=35617;received=51.235.XXX.XXX;branch=z9hG4bK761694797
Call-ID: [email protected]
From: “9011” sip:[email protected];tag=2882190366
To: “9011” sip:[email protected];tag=z9hG4bK761694797
CSeq: 2 SUBSCRIBE
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Transmitting SIP request (500 bytes) to UDP:35.195.163.239:5060 —>
OPTIONS sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 139.162.XXX.XXX:5060;rport;branch=z9hG4bKPj74d221b3-7189-425f-a7bd-35737f343904
From: sip:[email protected];tag=0bad5585-c475-4af3-b4d2-f30257eb3a08
To: sip:[email protected]
Contact: sip:[email protected]:5060
Call-ID: c282f7b0-0ca1-4f9d-87a7-41d3e9920098
CSeq: 46267 OPTIONS
Max-Forwards: 70
User-Agent: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Received SIP response (358 bytes) from UDP:35.195.163.239:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 139.162.XXX.XXX:5060;rport=5060;branch=z9hG4bKPj74d221b3-7189-425f-a7bd-35737f343904
To: sip:[email protected];tag=7fd04f11
From: sip:[email protected];tag=0bad5585-c475-4af3-b4d2-f30257eb3a08
Call-ID: c282f7b0-0ca1-4f9d-87a7-41d3e9920098
CSeq: 46267 OPTIONS
Content-Length: 0

<— Received SIP request (560 bytes) from UDP:51.235.XXX.XXX:26965 —>
REGISTER sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:26965;rport;branch=z9hG4bKPjdoJ.CXQePzMOtGvEcNvf3rd7AH17dHeL
Max-Forwards: 70
From: sip:[email protected];tag=NLYG1MIaG5SZNKQV87b-i.PIB4MK5Eiq
To: sip:[email protected]
Call-ID: WwE0g8h08pwerqsugRhjhG4ExoBXh9Kw
CSeq: 37893 REGISTER
User-Agent: Sangoma P330 4_19_2 000FD3D21B8E
Contact: sip:[email protected]:1315;ob
Expires: 300
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0

<— Transmitting SIP response (561 bytes) to UDP:51.235.XXX.XXX:26965 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 51.235.XXX.XXX:26965;rport=26965;received=51.235.XXX.XXX;branch=z9hG4bKPjdoJ.CXQePzMOtGvEcNvf3rd7AH17dHeL
Call-ID: WwE0g8h08pwerqsugRhjhG4ExoBXh9Kw
From: sip:[email protected];tag=NLYG1MIaG5SZNKQV87b-i.PIB4MK5Eiq
To: sip:[email protected];tag=z9hG4bKPjdoJ.CXQePzMOtGvEcNvf3rd7AH17dHeL
CSeq: 37893 REGISTER
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1712999095/3e037f402388ff7178f82ef325eaadd6”,opaque=“75c7ee5570c5c557”,algorithm=MD5,qop=“auth”
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Received SIP request (873 bytes) from UDP:51.235.XXX.XXX:26965 —>
REGISTER sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:26965;rport;branch=z9hG4bKPjQ7MBdAbKuKv8FA5-lg4m4ZSLcrnoPT8o
Max-Forwards: 70
From: sip:[email protected];tag=NLYG1MIaG5SZNKQV87b-i.PIB4MK5Eiq
To: sip:[email protected]
Call-ID: WwE0g8h08pwerqsugRhjhG4ExoBXh9Kw
CSeq: 37894 REGISTER
User-Agent: Sangoma P330 4_19_2 000FD3D21B8E
Contact: sip:[email protected]:1315;ob
Expires: 300
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Authorization: Digest username=“9997”, realm=“asterisk”, nonce=“1712999095/3e037f402388ff7178f82ef325eaadd6”, uri=“sip:[email protected]:5060;transport=udp”, response=“e9caa8e3fe7c4614460257559cd88c2d”, algorithm=MD5, cnonce=“ZT6ffmOYl73lxDveCDwJ8nGhS78eoHck”, opaque=“75c7ee5570c5c557”, qop=auth, nc=00000001
Content-Length: 0

<— Transmitting SIP response (510 bytes) to UDP:51.235.XXX.XXX:26965 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 51.235.XXX.XXX:26965;rport=26965;received=51.235.XXX.XXX;branch=z9hG4bKPjQ7MBdAbKuKv8FA5-lg4m4ZSLcrnoPT8o
Call-ID: WwE0g8h08pwerqsugRhjhG4ExoBXh9Kw
From: sip:[email protected];tag=NLYG1MIaG5SZNKQV87b-i.PIB4MK5Eiq
To: sip:[email protected];tag=z9hG4bKPjQ7MBdAbKuKv8FA5-lg4m4ZSLcrnoPT8o
CSeq: 37894 REGISTER
Date: Sat, 13 Apr 2024 09:04:55 GMT
Contact: sip:[email protected]:1315;ob;expires=299
Expires: 300
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Received SIP request (642 bytes) from UDP:51.235.XXX.XXX:26965 —>
SUBSCRIBE sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:26965;rport;branch=z9hG4bKPjcAg1PIsvmo-meWo8vVSYu0D3Z.ag50zI
Max-Forwards: 70
From: sip:[email protected];tag=3Q5WzMpKLaI8w1EWR2ecgdTOwH28enco
To: sip:[email protected]
Contact: sip:[email protected]:1315;ob
Call-ID: cku6W3XIlYhtpJIL57JYNCUiX3Xlf19B
CSeq: 29656 SUBSCRIBE
Event: message-summary
Expires: 3600
Supported: replaces, 100rel, timer, norefersub, trickle-ice
Accept: application/simple-message-summary
Allow-Events: presence, message-summary, refer
User-Agent: Sangoma P330 4_19_2 000FD3D21B8E
Content-Length: 0

<— Transmitting SIP response (562 bytes) to UDP:51.235.XXX.XXX:26965 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 51.235.XXX.XXX:26965;rport=26965;received=51.235.XXX.XXX;branch=z9hG4bKPjcAg1PIsvmo-meWo8vVSYu0D3Z.ag50zI
Call-ID: cku6W3XIlYhtpJIL57JYNCUiX3Xlf19B
From: sip:[email protected];tag=3Q5WzMpKLaI8w1EWR2ecgdTOwH28enco
To: sip:[email protected];tag=z9hG4bKPjcAg1PIsvmo-meWo8vVSYu0D3Z.ag50zI
CSeq: 29656 SUBSCRIBE
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1712999095/3e037f402388ff7178f82ef325eaadd6”,opaque=“4f34732a478a03a1”,algorithm=MD5,qop=“auth”
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Received SIP request (955 bytes) from UDP:51.235.XXX.XXX:26965 —>
SUBSCRIBE sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:26965;rport;branch=z9hG4bKPjteNQmAcJajSP6MgEhndNJ0-CkGm5o22Q
Max-Forwards: 70
From: sip:[email protected];tag=3Q5WzMpKLaI8w1EWR2ecgdTOwH28enco
To: sip:[email protected]
Contact: sip:[email protected]:1315;ob
Call-ID: cku6W3XIlYhtpJIL57JYNCUiX3Xlf19B
CSeq: 29657 SUBSCRIBE
Event: message-summary
Expires: 3600
Supported: replaces, 100rel, timer, norefersub, trickle-ice
Accept: application/simple-message-summary
Allow-Events: presence, message-summary, refer
User-Agent: Sangoma P330 4_19_2 000FD3D21B8E
Authorization: Digest username=“9997”, realm=“asterisk”, nonce=“1712999095/3e037f402388ff7178f82ef325eaadd6”, uri=“sip:[email protected]:5060;transport=udp”, response=“244ac0837182e1625a172059de2886a4”, algorithm=MD5, cnonce=“nl5beadFNg1ZpJVsLwvYC8aMQ9yNJiji”, opaque=“4f34732a478a03a1”, qop=auth, nc=00000001
Content-Length: 0

<— Transmitting SIP response (413 bytes) to UDP:51.235.XXX.XXX:26965 —>
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 51.235.XXX.XXX:26965;rport=26965;received=51.235.XXX.XXX;branch=z9hG4bKPjteNQmAcJajSP6MgEhndNJ0-CkGm5o22Q
Call-ID: cku6W3XIlYhtpJIL57JYNCUiX3Xlf19B
From: sip:[email protected];tag=3Q5WzMpKLaI8w1EWR2ecgdTOwH28enco
To: sip:[email protected];tag=z9hG4bKPjteNQmAcJajSP6MgEhndNJ0-CkGm5o22Q
CSeq: 29657 SUBSCRIBE
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Transmitting SIP request (444 bytes) to UDP:192.168.11.11:5060 —>
OPTIONS sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.11.9:5060;rport;branch=z9hG4bKPjabd2da6b-f676-4820-b9a1-c2811046632f
From: sip:[email protected];tag=36ed3284-ea91-440d-a17d-95d89e23e5d9
To: sip:[email protected]
Contact: sip:[email protected]:5060
Call-ID: 2dae4033-78fe-4e0e-9c47-2e070774de69
CSeq: 48415 OPTIONS
Max-Forwards: 70
User-Agent: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Received SIP response (579 bytes) from UDP:192.168.11.11:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.11.9:5060;rport=5060;received=192.168.11.9;branch=z9hG4bKPjabd2da6b-f676-4820-b9a1-c2811046632f
Call-ID: 2dae4033-78fe-4e0e-9c47-2e070774de69
From: sip:[email protected];tag=36ed3284-ea91-440d-a17d-95d89e23e5d9
To: sip:[email protected];tag=z9hG4bKPjabd2da6b-f676-4820-b9a1-c2811046632f
CSeq: 48415 OPTIONS
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1712999096/2368db927c1438230af749c9e3643384”,opaque=“3899175b3bfb47d3”,algorithm=MD5,qop=“auth”
Server: FPBX-16.0.40.7(18.13.0)
Content-Length: 0

<— Transmitting SIP request (742 bytes) to UDP:192.168.11.11:5060 —>
OPTIONS sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.11.9:5060;rport;branch=z9hG4bKPj925fdb65-9b2f-4107-b069-f52e413a3897
From: sip:[email protected];tag=36ed3284-ea91-440d-a17d-95d89e23e5d9
To: sip:[email protected]
Contact: sip:[email protected]:5060
Call-ID: 2dae4033-78fe-4e0e-9c47-2e070774de69
CSeq: 48416 OPTIONS
Max-Forwards: 70
User-Agent: FPBX-16.0.40.7(16.30.0)
Authorization: Digest username=“1236”, realm=“asterisk”, nonce=“1712999096/2368db927c1438230af749c9e3643384”, uri=“sip:[email protected]:5060”, response=“c020e24419bc92ee59b48480e76efd53”, algorithm=MD5, cnonce=“a0da6f8593ad4c6abe54fc325b52e58b”, opaque=“3899175b3bfb47d3”, qop=auth, nc=00000001
Content-Length: 0

<— Received SIP response (579 bytes) from UDP:192.168.11.11:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.11.9:5060;rport=5060;received=192.168.11.9;branch=z9hG4bKPj925fdb65-9b2f-4107-b069-f52e413a3897
Call-ID: 2dae4033-78fe-4e0e-9c47-2e070774de69
From: sip:[email protected];tag=36ed3284-ea91-440d-a17d-95d89e23e5d9
To: sip:[email protected];tag=z9hG4bKPj925fdb65-9b2f-4107-b069-f52e413a3897
CSeq: 48416 OPTIONS
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1712999096/2368db927c1438230af749c9e3643384”,opaque=“477367d602ed1677”,algorithm=MD5,qop=“auth”
Server: FPBX-16.0.40.7(18.13.0)
Content-Length: 0

[2024-04-13 09:04:56] WARNING[10945]: res_pjsip_outbound_authenticator_digest.c:551 digest_create_request_with_auth: Host: ‘192.168.11.11:5060’: Authentication credentials not accepted by server.
<— Received SIP request (617 bytes) from UDP:51.235.XXX.XXX:29841 —>
SUBSCRIBE sip:139.162.XXX.XXX:5060 SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:29841;rport;branch=z9hG4bKPjhB3LwHRy2gYbH4JTod055zRGyfwiWdE8
Max-Forwards: 70
From: sip:[email protected];tag=ZMqNJFombA.zqHOKvATFWKMWvokDVkcQ
To: sip:[email protected];tag=7ea2425b-7488-47c3-8f60-c28c1d670f24
Contact: sip:[email protected]:1311;ob
Call-ID: OauUeAOMR8BbaybptAlEvqcYL.GenbY2
CSeq: 24180 SUBSCRIBE
Event: presence
Expires: 600
Supported: replaces, 100rel, timer, norefersub, trickle-ice
Accept: application/pidf+xml, application/xpidf+xml
Allow-Events: presence, message-summary, refer
Content-Length: 0

<— Transmitting SIP response (610 bytes) to UDP:51.235.XXX.XXX:29841 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 51.235.XXX.XXX:29841;rport=29841;received=51.235.XXX.XXX;branch=z9hG4bKPjhB3LwHRy2gYbH4JTod055zRGyfwiWdE8
Call-ID: OauUeAOMR8BbaybptAlEvqcYL.GenbY2
From: sip:[email protected];tag=ZMqNJFombA.zqHOKvATFWKMWvokDVkcQ
To: sip:[email protected];tag=7ea2425b-7488-47c3-8f60-c28c1d670f24
CSeq: 24180 SUBSCRIBE
Expires: 600
Contact: sip:139.162.XXX.XXX:5060
Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Transmitting SIP request (1132 bytes) to UDP:51.235.XXX.XXX:29841 —>
NOTIFY sip:[email protected]:29841;ob SIP/2.0
Via: SIP/2.0/UDP 139.162.XXX.XXX:5060;rport;branch=z9hG4bKPj6ccbf3e6-ea8b-4087-a4e6-cf60043a831c
From: sip:[email protected];tag=7ea2425b-7488-47c3-8f60-c28c1d670f24
To: sip:[email protected];tag=ZMqNJFombA.zqHOKvATFWKMWvokDVkcQ
Contact: sip:139.162.XXX.XXX:5060
Call-ID: OauUeAOMR8BbaybptAlEvqcYL.GenbY2
CSeq: 17314 NOTIFY
Event: presence
Subscription-State: active;expires=600
Allow-Events: presence, dialog, message-summary, refer
Max-Forwards: 70
User-Agent: FPBX-16.0.40.7(16.30.0)
Content-Type: application/pidf+xml
Content-Length: 517

<?xml version="1.0" encoding="UTF-8"?> Ready open sip:[email protected]

<— Received SIP request (457 bytes) from UDP:51.235.XXX.XXX:35617 —>
SUBSCRIBE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:35617;branch=z9hG4bK2291212023
From: “9011” sip:[email protected];tag=2308453825
To: “9011” sip:[email protected]
Call-ID: [email protected]
CSeq: 1 SUBSCRIBE
Contact: sip:[email protected]:5062
Accept: application/x-as-feature-event+xml
Max-Forwards: 70
User-Agent: Yealink SIP-T20P 9.73.193.40
Expires: 3630
Event: as-feature-event
Content-Length: 0

<— Transmitting SIP response (494 bytes) to UDP:51.235.XXX.XXX:35617 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 51.235.XXX.XXX:35617;rport=35617;received=51.235.XXX.XXX;branch=z9hG4bK2291212023
Call-ID: [email protected]
From: “9011” sip:[email protected];tag=2308453825
To: “9011” sip:[email protected];tag=z9hG4bK2291212023
CSeq: 1 SUBSCRIBE
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1712999097/c3f8da4a9b739adcbfd664f8b95a2a2a”,opaque=“5b92594a4fba42ce”,algorithm=MD5,qop=“auth”
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Received SIP response (570 bytes) from UDP:51.235.XXX.XXX:29841 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 139.162.XXX.XXX:5060;rport=5060;received=139.162.XXX.XXX;branch=z9hG4bKPj6ccbf3e6-ea8b-4087-a4e6-cf60043a831c
Call-ID: OauUeAOMR8BbaybptAlEvqcYL.GenbY2
From: sip:[email protected];tag=7ea2425b-7488-47c3-8f60-c28c1d670f24
To: sip:[email protected];tag=ZMqNJFombA.zqHOKvATFWKMWvokDVkcQ
CSeq: 17314 NOTIFY
Contact: sip:[email protected]:1311;ob
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub, trickle-ice
Content-Length: 0

<— Received SIP request (726 bytes) from UDP:51.235.XXX.XXX:35617 —>
SUBSCRIBE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 51.235.XXX.XXX:35617;branch=z9hG4bK462167966
From: “9011” sip:[email protected];tag=2308453825
To: “9011” sip:[email protected]
Call-ID: [email protected]
CSeq: 2 SUBSCRIBE
Contact: sip:[email protected]:5062
Authorization: Digest username=“9011”, realm=“asterisk”, nonce=“1712999097/c3f8da4a9b739adcbfd664f8b95a2a2a”, uri=“sip:[email protected]”, response=“a4e0973881b04f30a059d226d1bce4e7”, algorithm=MD5, cnonce=“0a4f113b”, opaque=“5b92594a4fba42ce”, qop=auth, nc=00000001
Accept: application/x-as-feature-event+xml
Max-Forwards: 70
User-Agent: Yealink SIP-T20P 9.73.193.40
Expires: 3630
Event: as-feature-event
Content-Length: 0

[2024-04-13 09:04:58] WARNING[10945]: res_pjsip_pubsub.c:803 subscription_get_handler_from_rdata: No registered subscribe handler for event as-feature-event from 9011
<— Transmitting SIP response (343 bytes) to UDP:51.235.XXX.XXX:35617 —>
SIP/2.0 489 Bad Event
Via: SIP/2.0/UDP 51.235.XXX.XXX:35617;rport=35617;received=51.235.XXX.XXX;branch=z9hG4bK462167966
Call-ID: [email protected]
From: “9011” sip:[email protected];tag=2308453825
To: “9011” sip:[email protected];tag=z9hG4bK462167966
CSeq: 2 SUBSCRIBE
Server: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Transmitting SIP request (439 bytes) to UDP:51.235.XXX.XXX:26965 —>
OPTIONS sip:[email protected]:26965;ob SIP/2.0
Via: SIP/2.0/UDP 139.162.XXX.XXX:5060;rport;branch=z9hG4bKPje2649fcc-880b-4057-aade-acef29ef6d63
From: sip:[email protected];tag=dd870f04-eda8-4686-8244-a7d64104067d
To: sip:[email protected];ob
Contact: sip:[email protected]:5060
Call-ID: ca6abd59-db30-48d4-a884-5b734e03413e
CSeq: 27204 OPTIONS
Max-Forwards: 70
User-Agent: FPBX-16.0.40.7(16.30.0)
Content-Length: 0

<— Received SIP response (826 bytes) from UDP:51.235.XXX.XXX:26965 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 139.162.XXX.XXX:5060;rport=5060;received=139.162.XXX.XXX;branch=z9hG4bKPje2649fcc-880b-4057-aade-acef29ef6d63
Call-ID: ca6abd59-db30-48d4-a884-5b734e03413e
From: sip:[email protected];tag=dd870f04-eda8-4686-8244-a7d64104067d
To: sip:[email protected]:5060;ob;tag=z9hG4bKPje2649fcc-880b-4057-aade-acef29ef6d63
CSeq: 27204 OPTIONS
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Accept: application/sdp, application/pidf+xml, application/xpidf+xml, application/simple-message-summary, message/sipfrag;version=2.0, application/im-iscomposing+xml, text/plain
Supported: replaces, 100rel, timer, norefersub, trickle-ice
Allow-Events: presence, message-summary, refer
User-Agent: Sangoma P330 4_19_2 000FD3D21B8E
Content-Length: 0

Still a large number of codecs being offered. If your configuration worked, you would only have 0, 8 and 120. Also, this still looks like a screen scrape of the console, not the actual full log.

Hi there,

we’re also facing the same issue - Softphones and manually configured SIP-clients (like a Gigaset N670 IP Pro DECT base station) work like a charm. Two freshly provisioned P320 phones are reachable for inbound calls, but calls originating from these phones can’t be completed - it doesn’t matter if it’s within our FreePBX or outside to a trunk. I used sngrep to debug it and saw, that the INVITE is answered by the FreePBX with a 401 Unauthorized. Maybe I’m missing something in the DPMA configuration for the given extensions?



More screenshots will follow


I’m sorry to divide this into three answers - but I wasn’t allowed to attach all three screenshots in one answer…

And yes, as the server is communicating over our own MPLS with the phone and vice-versa, we can assure, that there are no firewalls or similar intercepting anything.

I suspect that once the Authorization header is added, the UDP packet is long enough to require fragmentation, which isn’t being handled correctly, so you don’t see the second INVITE at all. In the phone, disable most of the codecs and retest.

if so, perhaps consider using TLS/TCP as your transport, both are more robust and have other benefits

Hi Stewart,

thanks for this idea - you’re totally right - UDP packet get’s too long. We switched to TCP and it works like a charm. In a next step, we’re doing tests with TLS.

BR
Tim