[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:06:29 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-10-25 03:31 CDT
Last Modified:              2011-05-13 13:06 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.

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

---------------------------------------------------------------------- 
 (0134914) svnbot (reporter) - 2011-05-13 13:06
 https://issues.asterisk.org/view.php?id=18206#c134914 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 318920

_U  trunk/
U   trunk/res/res_srtp.c

------------------------------------------------------------------------
r318920 | bbryant | 2011-05-13 13:06:28 -0500 (Fri, 13 May 2011) | 16
lines

Merged revisions 318919 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r318919 | bbryant | 2011-05-13 14:04:50 -0400 (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=318920 

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




More information about the asterisk-bugs mailing list