[asterisk-bugs] [Asterisk 0018206]: [patch] Hold/Unhold not possible with SIP using SRTP

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 13 13:04:52 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18206 
====================================================================== 
Reported By:                bernhards
Assigned To:                bbryant
====================================================================== 
Project:                    Asterisk
Issue ID:                   18206
Category:                   Channels/chan_sip/SRTP
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     confirmed
Target Version:             1.8.5
Asterisk Version:           SVN 
JIRA:                       SWP-2482 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-10-25 03:31 CDT
Last Modified:              2011-05-13 13:04 CDT
====================================================================== 
Summary:                    [patch] Hold/Unhold not possible with SIP using SRTP
Description: 
2 phones connected with SIP on Asterisk. Both are configured with SRTP.
Call from phone A to phone B. Then A press "hold" and after 20 seconds, A
press unhold. Then there is no voice from A to B and also no voice from B
to A. On the console I get the error:

res_srtp.c:338 ast_srtp_unprotect: SRTP unprotect: replay check failed
(index too old)

If the hold time is less (e.g. not 20 seconds but 2 seconds) it does
_sometimes_ work.

====================================================================== 

---------------------------------------------------------------------- 
 (0134913) svnbot (reporter) - 2011-05-13 13:04
 https://issues.asterisk.org/view.php?id=18206#c134913 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 318919

U   branches/1.8/res/res_srtp.c

------------------------------------------------------------------------
r318919 | bbryant | 2011-05-13 13:04:51 -0500 (Fri, 13 May 2011) | 10
lines

This patch fixes an issue with SRTP which makes HOLD/UNHOLD impossible
when too
much time has passed between sending audio.

(closes issue https://issues.asterisk.org/view.php?id=18206)
Reported by: bernhardsi
Patches: 
      res_srtp_unhold.patch uploaded by bernhards (license 1138)
Tested by: bernhards, notthematrix


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=318919 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-13 13:04 svnbot         Checkin                                      
2011-05-13 13:04 svnbot         Note Added: 0134913                          
======================================================================




More information about the asterisk-bugs mailing list