Multiple registration => issue (hanging up / lose_race / Call completed elsewhere)

Status
Not open for further replies.

NoFate

Member
Sep 17, 2021
51
0
6
43
Hi
i want to have multiple registraions on same SIP

i have configured an extension 2003 and registered
then enabled on sofia internal => multiple-registrations : contact =true

i register as test with linphone and bria both on 2001 , that works
i call from 2003 to 2001 , only 1 softphone rings, the other one immediately hang up

Whats wrong ?
PS: i cant work with ring groups, since i need early media

below log file

2021-11-23 10:06:31.843010 98.53% [NOTICE] sofia.c:7512 Pre-Answer sofia/internal/2001@10.8.0.3:43394!
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_channel.c:3622 (sofia/internal/2001@10.8.0.3:43394) Callstate Change DOWN -> EARLY
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:3870 Set Codec sofia/internal/2001@10.8.0.3:43394 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_codec.c:111 sofia/internal/2001@10.8.0.3:43394 Original read codec set to PCMU:0
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:5980 No 2833 in SDP. Disable 2833 dtmf and switch to INFO
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:6258 Video Codec Compare [H264:102]/[H264:97]
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:6301 No matches with FTMP, fallback to ignoring FMTP
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:6258 Video Codec Compare [H264:102]/[H264:97]
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:6309 No matches with inherit_codec, fallback to ignoring PT
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:6258 Video Codec Compare [H264:102]/[H264:97]
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:6290 Video Codec Compare [H264:102] +++ is saved as a match
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:3675 Set VIDEO Codec sofia/internal/2001@10.8.0.3:43394 H264/90000 0 ms
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/internal/2001@10.8.0.3:43394] 192.168.0.234 port 19444 -> 10.8.0.3 port 7078 codec: 0 ms: 20
2021-11-23 10:06:31.843010 98.53% [NOTICE] switch_ivr_originate.c:3799 Hangup sofia/internal/2001@10.8.0.2:54176 [CS_CONSUME_MEDIA] [LOSE_RACE]
2021-11-23 10:06:31.843010 98.53% [INFO] switch_ivr_originate.c:3841 Sending early media
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/internal/2003@192.168.0.234] 192.168.0.234 port 23532 -> 10.8.0.2 port 61420 codec: 0 ms: 20
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/2001@10.8.0.2:54176) Running State Change CS_HANGUP (Cur 3 Tot 116)
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_state_machine.c:844 (sofia/internal/2001@10.8.0.2:54176) Callstate Change DOWN -> HANGUP
2021-11-23 10:06:31.843010 98.53% [DEBUG] switch_core_state_machine.c:846 (sofia/internal/2001@10.8.0.2:54176) State HANGUP
2021-11-23 10:06:31.843010 98.53% [DEBUG] mod_sofia.c:468 Channel sofia/internal/2001@10.8.0.2:54176 hanging up, cause: LOSE_RACE
2021-11-23 10:06:31.843010 98.53% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/internal/2001@10.8.0.2:54176
nua.c:650 nua_cancel() nua: nua_cancel: entering
nua_stack.c:599 nua_stack_signal() nua(0x560d28936ca0): recv signal r_cancel
nua_params.c:484 nua_stack_set_params() nua: nua_stack_set_params: entering
soa.c:403 soa_set_params() soa_set_params(static::0x7f72d802b6c0, ...) called
tport.c:3286 tport_tsend() tport_tsend(0x7f72d801f090) tpn = UDP/10.8.0.2:54176
tport.c:4075 tport_resolve() tport_resolve addrinfo = 10.8.0.2:54176
tport.c:4709 tport_by_addrinfo() tport_by_addrinfo(0x7f72d801f090): not found by name UDP/10.8.0.2:54176
tport.c:3623 tport_vsend() tport_vsend(0x7f72d801f090): 473 bytes of 473 to udp/10.8.0.2:54176
tport.c:3521 tport_send_msg() tport_vsend returned 473
send 473 bytes to udp/[10.8.0.2]:54176 at 10:06:31.640834:
------------------------------------------------------------------------
CANCEL sip:2001@10.8.0.2:54176;rinstance=7ad33ec0824e532c SIP/2.0
Via: SIP/2.0/UDP 192.168.0.234;rport;branch=z9hG4bKj0UN0240yyHyH
Route: <sip:2001@10.8.0.2:54176>;rinstance=7ad33ec0824e532c
Max-Forwards: 69
From: "2003" <sip:2003@192.168.0.234>;tag=0St945DQ47U6e
To: <sip:2001@10.8.0.2:54176;rinstance=7ad33ec0824e532c>
Call-ID: 7d72aec8-c6df-123a-d79a-000c29435c5a
CSeq: 44275403 CANCEL
Reason: SIP;cause=200;text="Call completed elsewhere"
Content-Length: 0
 
Status
Not open for further replies.