BelledonneCommunications / linphone-sdk

Mirror for linphone-sdk (https://gitlab.linphone.org/BC/public/linphone-sdk.git)
GNU Affero General Public License v3.0
99 stars 79 forks source link

Linphone hangs up call on voip.ms server after 30 seconds #402

Open razethion opened 1 month ago

razethion commented 1 month ago

Good afternoon!

I am having an issue with linphone connected to voip.ms lines. When a call comes in through our IVR to call queue, after about 30 seconds from accepting the call, it drops. This can be reproduced every single time. We would expect it to not drop for no reason like this, and i'm not sure if it's voip.ms doing this or linphone.

Logs: https://www.linphone.org:444//tmp/665bb8c0a31e3_9942b6fb4eba868b1ec3.gz

Viish commented 1 month ago

Hi,

Call is being terminated because no ACK is being received for the SIP transaction:

2024-06-01 19:11:35:415 [org.linphone/belle-sip] ERROR Dialog [0x7abc4f8bf0] was not ACK'd within T1*64 seconds.
2024-06-01 19:11:35:415 [org.linphone/belle-sip] ERROR Dialog [0x7abc4f8bf0] it is going to be terminated automatically.

But ACK is being received, but because the TO-tag isn't in the message, it is ignored:

2024-06-01 19:11:34:970 [org.linphone/belle-sip] MESSAGE channel [0x7c5ab1ae10]: received [647] new bytes from [TCP://chicago3.voip.ms:5060]:
ACK sip:98.220.213.22:58282;transport=tcp SIP/2.0
Via: SIP/2.0/TCP 208.100.60.10:5060;branch=z9hG4bK2594c868;rport
Max-Forwards: 70
From: "MAV N 8327689413" <sip:8327689413@208.100.60.10>;tag=as3525d834
To: <sip:398659_729@98.220.213.22:58282;pn-prid=enbEN_lISHuxrF1b6XdH8Q:APA91bHKF0Qg7aMeSJrcpOqqFeZkfgcILM5GEY8CDcNtG2fM7A1p-tR079XfFwmli_-tdpDc5yifbl9ccdLEx0lcmi3efx0mTOR3k6jwjRk6vCdKSibogyMBBrBwnF9ivRzA346TS6Dz;pn-provider=fcm;pn-param=251776523448;pn-silent
Contact: <sip:8327689413@208.100.60.10:5060;transport=TCP>
Call-ID: 577d05c4166c465b15a8856709b0c533@208.100.60.10:5060
CSeq: 102 ACK
User-Agent: voip.ms
Content-Length: 0

2024-06-01 19:11:34:999 [org.linphone/belle-sip] MESSAGE channel [0x7c5ab1ae10] [647] bytes parsed
2024-06-01 19:11:34:999 [org.linphone/liblinphone] WARNING Receiving ACK without to-tag but no know dialog here, ignoring

@smorlat Do you know what has to be done here?

Cheers,

razethion commented 3 weeks ago

Just wanted to follow up on this again, this is making the app completely unusable.