the logging
is pjsip set logger on
enough?
The Everyone is busy message is rather late in the process
The log before is the same in both cases with the exception of digits:
<--- Received SIP request (1439 bytes) from TLS:<CLIENT_IP>:42593 --->
INVITE sip:testB@domain.tld SIP/2.0
Via: SIP/2.0/TLS <CLIENT_IP>:42593;branch=<BRANCH>;rport
From: <sip:client@domain.tld>;tag=<TAG>
To: sip:testB@domain.tld
CSeq: 20 INVITE
Call-ID: <ID>
Max-Forwards: 70
Route: <sip:proxy.domain.tld;transport=tls;lr>
Supported: replaces, outbound, gruu
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
Content-Type: application/sdp
Content-Length: 765
Contact: <sip:client@<CLIENT_IP>:42593;transport=tls>;expires=59;+sip.instance="<urn:uuid:<UUID>>"
User-Agent: LinphoneAndroid/4.3.1 (client) LinphoneSDK/4.4.2 (tags/4.4.2^0)
v=0
o=client 396 2555 IN IP4 <CLIENT_IP>
s=Talk
c=IN IP4 <CLIENT_IP>
t=0 0
a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
m=audio 7078 RTP/SAVP 96 0 8 9 18 101 97
a=rtpmap:96 opus/48000/2
a=fmtp:96 useinbandfec=1
a=fmtp:18 annexb=yes
a=rtpmap:101 telephone-event/48000
a=rtpmap:97 telephone-event/8000
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:<>
a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:<>
a=crypto:3 AES_256_CM_HMAC_SHA1_80 inline:<>
a=crypto:4 AES_256_CM_HMAC_SHA1_32 inline:<>
a=rtcp-fb:* trr-int 1000
a=rtcp-fb:* ccm tmmbr
<--- Transmitting SIP response (438 bytes) to TLS:<CLIENT_IP>:42593 --->
SIP/2.0 401 Unauthorized
v: SIP/2.0/TLS <CLIENT_IP>:42593;rport=42593;received=<CLIENT_IP>;branch=<BRANCH>
i: <i>
f: <sip:client@domain.tld>;tag=<TAG>
t: <sip:testB@domain.tld>;tag=<TAG>
CSeq: 20 INVITE
WWW-Authenticate: Digest realm="asterisk",nonce="<NONCE>",opaque="<OPAQUE>",algorithm=md5,qop="auth"
Server: Asterisk PBX 16.2.1~dfsg-1+deb10u2
l: 0
<--- Received SIP request (456 bytes) from TLS:<CLIENT_IP>:42593 --->
ACK sip:testB@domain.tld SIP/2.0
Via: SIP/2.0/TLS <CLIENT_IP>:42593;branch=<BRANCH>;rport
Call-ID: <ID>
From: <sip:client@domain.tld>;tag=<TAG>
To: <sip:testB@domain.tld>;tag=<TAG>
Contact: <sip:client@<CLIENT_IP>:42593;transport=tls>;expires=59;+sip.instance="<urn:uuid:<UUID>>"
Route: <sip:proxy.domain.tld;transport=tls;lr>
Max-Forwards: 70
CSeq: 20 ACK
Content-Length: 0
<--- Received SIP request (1719 bytes) from TLS:<CLIENT_IP>:42593 --->
INVITE sip:testB@domain.tld SIP/2.0
Via: SIP/2.0/TLS <CLIENT_IP>:42593;branch=<BRANCH>;rport
From: <sip:client@domain.tld>;tag=<TAG>
To: sip:testB@domain.tld
CSeq: 21 INVITE
Call-ID: <ID>
Max-Forwards: 70
Route: <sip:proxy.domain.tld;transport=tls;lr>
Supported: replaces, outbound, gruu
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
Content-Type: application/sdp
Content-Length: 765
Contact: <sip:client@<CLIENT_IP>:42593;transport=tls>;expires=59;+sip.instance="<urn:uuid:<UUID>>"
User-Agent: LinphoneAndroid/4.3.1 (client) LinphoneSDK/4.4.2 (tags/4.4.2^0)
Authorization: Digest realm="asterisk", nonce="<NONCE>", algorithm=md5, opaque="<OPAQUE>", username="client", uri="sip:testB@domain.tld", response="<RESPONSE>", cnonce="<CNONCE>", nc=00000001, qop=auth
v=0
o=client 396 2555 IN IP4 <CLIENT_IP>
s=Talk
c=IN IP4 <CLIENT_IP>
t=0 0
a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
m=audio 7078 RTP/SAVP 96 0 8 9 18 101 97
a=rtpmap:96 opus/48000/2
a=fmtp:96 useinbandfec=1
a=fmtp:18 annexb=yes
a=rtpmap:101 telephone-event/48000
a=rtpmap:97 telephone-event/8000
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:<>
a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:<>
a=crypto:3 AES_256_CM_HMAC_SHA1_80 inline:<>
a=crypto:4 AES_256_CM_HMAC_SHA1_32 inline:<>
a=rtcp-fb:* trr-int 1000
a=rtcp-fb:* ccm tmmbr
== Setting global variable 'SIPDOMAIN' to 'domain.tld'
<--- Transmitting SIP response (264 bytes) to TLS:<CLIENT_IP>:42593 --->
SIP/2.0 100 Trying
v: SIP/2.0/TLS <CLIENT_IP>:42593;rport=42593;received=<CLIENT_IP>;branch=<BRANCH>
i: <i>
f: <sip:client@domain.tld>;tag=<TAG>
t: <sip:testB@domain.tld>
CSeq: 21 INVITE
Server: Asterisk PBX 16.2.1~dfsg-1+deb10u2
l: 0
-- Executing [testB@context:1] Dial("PJSIP/client-0000000d", "PJSIP/outgoing/sip:thetestcall@iptel.org") in new stack
diff with test[AB] reduced to test:
% diff /tmp/test*
18c18
< o=client 802 2454 IN IP4 <CLIENT_IP>
---
> o=client 396 2555 IN IP4 <CLIENT_IP>
79c79
< o=client 802 2454 IN IP4 <CLIENT_IP>
---
> o=client 396 2555 IN IP4 <CLIENT_IP>
109c109
< -- Executing [test@context:1] Dial("PJSIP/client-0000000f", "PJSIP/outgoing/sip:thetestcall@sip.linphone.org") in new stack
---
> -- Executing [test@context:1] Dial("PJSIP/client-0000000d", "PJSIP/outgoing/sip:thetestcall@iptel.org") in new stack