ivozprovider icon indicating copy to clipboard operation
ivozprovider copied to clipboard

Incorrect handling of Session-Timers may lead to premature disconnects

Open dbbrito opened this issue 1 year ago • 6 comments

Description

Hello, Unexpectedly terminated calls on Wholesale customers.

  • IvozProvider version: - Last 3.4.0 - using two IPs, one for clients and one for trunks.

  • Related sections:

    • [X] SIP & Telephony
    • [ ] vPBX Functionalities
    • [ ] Billing & Invoicing
    • [ ] Web Interface
    • [ ] API
    • [ ] Other

Troubleshooting

Friends, I just carried out a battery of tests, and the problem is easy to reproduce, it was found in Wholesale customers, after 10 minutes of calls it can disconnect at any time, but it does not exceed 20 minutes, in residential customers the problem doesn't happen! It has not been tested on VPBX and Retail clients. Kaian, I'm sending the pcap directly to your email that appears in googlegroups, if you need me to send it to another email, just ask.

Thanks and regards

dbbrito avatar Jan 23 '24 12:01 dbbrito

Hi!

Can you attach the kamailio@trunks logs for this call?

Best regards

Kaian avatar Jan 23 '24 12:01 Kaian

Attached is the log, and it actually has some Warnings, it seems to me that session timers are a problem, please keep this log confidential.

WARNING: dialog [dlg_req_within.c:212]: bye_reply_cb(): inconsistent dlg timer data on dlg 0x7f5955c7d0d0 [208:11654] with clid '5ddf7f443e3b41d191502faa2d97bb50

Em ter., 23 de jan. de 2024 às 09:23, Kaian @.***> escreveu:

Hi!

Can you attach the @.*** logs for this call?

Best regards

— Reply to this email directly, view it on GitHub https://github.com/irontec/ivozprovider/issues/2484#issuecomment-1905950817, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACL473RSVGFMZA3FSW37QBTYP6TVLAVCNFSM6AAAAABCG3WATCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBVHE2TAOBRG4 . You are receiving this because you authored the thread.Message ID: @.***>

dbbrito avatar Jan 23 '24 12:01 dbbrito

Hi

Yep, it may be related to Session-Timers. Does this happen with calls that doesn't contain a Session-Timer header.

Also, it's normal that this doesn't occur with Residential and vPBX because those calls use asterisk as B2BUA. Wholesale only uses Kamailios as proxies.

Best regards,


De: Brito @.> Enviado: martes, 23 de enero de 2024 13:39 Para: irontec/ivozprovider @.> Cc: Kaian @.***> Asunto: Re: [irontec/ivozprovider] Terminated calls on Wholesale customers (Issue #2484)

Attached is the log, and it actually has some Warnings, it seems to me that session timers are a problem, please keep this log confidential.

WARNING: dialog [dlg_req_within.c:212]: bye_reply_cb(): inconsistent dlg timer data on dlg 0x7f5955c7d0d0 [208:11654] with clid '5ddf7f443e3b41d191502faa2d97bb50

Em ter., 23 de jan. de 2024 às 09:23, Kaian @.@.>> escreveu:

Hi!

Can you attach the @.*** logs for this call?

Best regards

— Reply to this email directly, view it on GitHubhttps://github.com/irontec/ivozprovider/issues/2484#issuecomment-1905950817, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACL473RSVGFMZA3FSW37QBTYP6TVLAVCNFSM6AAAAABCG3WATCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBVHE2TAOBRG4. You are receiving this because you authored the thread.Message ID: @.***>

dbbrito avatar Jan 23 '24 13:01 dbbrito

in past i have raised same issue .

arsenieciprian avatar Mar 19 '24 07:03 arsenieciprian

Hello, can anyone please tell me if this problem will be resolved in version 4.1? Thanks

dbbrito avatar Jun 24 '24 16:06 dbbrito

Hi!

Version 4.1 is almost completed and this issue has not been scheduled to be fixed for that release. We have an internal ticket for this task, but none of our clients are currently affected, so currently this is not a priority.

I will update milestone as soon as it has a release confirmed.

Best regards

Kaian avatar Jun 25 '24 06:06 Kaian