[unit-tests ] Attempt to mitigate sofia bug with TCP.

"
------------------------------------------------------------------------
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/TCP 192.168.192.2:5080;branch=z9hG4bKeS0Dvget9vFBe
From: sut <sip:1001@192.168.192.2:5080;transport=tcp>;tag=gBpey2Q8jrmNc
To: sipp <sip:1001@127.0.0.1:5062;transport=tcp>;tag=1
Call-ID: 1-18918@192.168.192.2
CSeq: 76919576 BYE
Proxy-Authenticate: Digest algorithm=MD5, realm="freeswitch.org", nonce="69d327e5"
Content-Length: 0

tport.c:3055 tport_deliver() tport_deliver(0x6150000b7280): msg 0x6190003e9480 (394 bytes) from tcp/192.168.192.2:5062/sip next=(nil)
nta.c:3378 agent_recv_response() nta: received 407 Proxy Authentication Required for BYE (76919576)
nta.c:3445 agent_recv_response() nta: 407 Proxy Authentication Required is going to a transaction
nta.c:9697 outgoing_estimate_delay() nta_outgoing: RTT is 2.961 ms
tport.c:4253 tport_release() tport_release(0x6150000b8680): 0x6190003e8a80 by 0x613000093200 with 0x6190003e9480
auth_digest.c:114 auth_digest_challenge_get() auth_digest_challenge_get(): got 4
nua_stack.c:301 nua_stack_event() nua(0x61200019ec40): event r_bye 407 Proxy Authentication Required
nta.c:8829 outgoing_free() nta: outgoing_free(0x613000093200)
tport.c:2316 tport_set_secondary_timer() tport(0x6150000b8680): reset timer
tport.c:2316 tport_set_secondary_timer() tport(0x6150000b7280): reset timer
tport.c:2316 tport_set_secondary_timer() tport(0x6150000b7280): reset timer
nua_stack.c:389 nua_application_event() nua: nua_application_event: entering
nua.c:1170 nua_handle_unref_user() nua nua_handle_unref_user(0x61200019ec40): entering
nua_stack.c:558 nua_signal() nua(0x61200019ec40): sent signal r_handle_unref
nua.c:1157 nua_unref_user() nua: nua_unref_user: entering
nua.c:365 nua_handle_magic() nua: nua_handle_magic: entering
nua_stack.c:558 nua_signal() nua((nil)): sent signal r_unref
nua_stack.c:599 nua_stack_signal() nua(0x61200019ec40): recv signal r_handle_unref
nua.c:1170 nua_handle_unref_user() nua nua_handle_unref_user(0x61200019ec40): entering
nua_stack.c:599 nua_stack_signal() nua((nil)): recv signal r_unref
nua_stack.c:558 nua_signal() nua(0x61200019ec40): sent signal r_handle_unref
nua_stack.c:599 nua_stack_signal() nua(0x61200019ec40): recv signal r_handle_unref
nua.c:1157 nua_unref_user() nua: nua_unref_user: entering
nua_stack.c:558 nua_signal() nua((nil)): sent signal r_unref
nua_stack.c:599 nua_stack_signal() nua((nil)): recv signal r_unref
8d95eac1-d89d-4619-aaa1-0720ea649626 2023-12-19 00:45:36.203584 36.67% [DEBUG] switch_core_state_machine.c:59 sofia/external/1001@127.0.0.1:5062 Standard HANGUP, cause: NORMAL_CLEARING
"

It looks there's no event coming to the unit-test because the flow is not reaching mod_sofia.
This commit is contained in:
Dragos Oancea 2023-12-19 04:13:40 +02:00
parent 0fe571ad3d
commit 71cb7b97cf
1 changed files with 1 additions and 0 deletions

View File

@ -95,5 +95,6 @@
<recv request="BYE"></recv> <recv request="BYE"></recv>
<pause milliseconds="2000"/>
</scenario> </scenario>