Summary:ASTERISK-14534: [patch] Rtptimeout not honored when sip channels are bridged
Reporter:kriborgen (kriborgen)Labels:
Date Opened:2010-12-24 17:09:31.000-0600Date Closed:2012-01-24 10:32:41.000-0600
Versions:Frequency of
is duplicated byASTERISK-19004 RTP timeout won't work with locally bridged SIP channels
Environment:Attachments:( 0) chan_sip.patch
Description:When sip channels are bridged rtp timeout is never checked.


A possible fix is to move check_rtp_timeout up before bridge check in dialog_needdestroy as done in the patch, unless it was intended to do it in the new rtp engine where i cant find any attempt to check timeout.
Comments:By: Stefan Schmidt (schmidts) 2010-12-27 06:14:58.000-0600

its a known problem of 1.6 and also 1.8 but your patch would even make the handling of do_monitor slower than now, which is just very slow at all :D

take a look at https://reviewboard.asterisk.org/r/917/ it should be easy to use the patch against trunk for 1.8 which fixes your problem.

By: kriborgen (kriborgen) 2010-12-27 08:01:54.000-0600

I think that many depends on this feature to make sure that cdr's are ended in case of a network problem, in 1.6 this works and it is not described in upgrade.txt or sip.conf that it will not work on bridged calls in 1.8, so i assumed it was a bug.

By: Stefan Schmidt (schmidts) 2010-12-27 08:28:41.000-0600

in fact it is a regression when this doesnt work like in 1.6.

By: Joshua C. Colp (jcolp) 2012-01-24 10:32:41.233-0600

Put into 1.8 as of revision 352287. Thank you very much!