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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 27 04:06:16 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18206 
====================================================================== 
Reported By:                bernhards
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18206
Category:                   Resources/res_srtp
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.0 
JIRA:                        
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:              2010-10-27 04: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.

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

---------------------------------------------------------------------- 
 (0128412) bernhards (reporter) - 2010-10-27 04:06
 https://issues.asterisk.org/view.php?id=18206#c128412 
---------------------------------------------------------------------- 
Please find attached a patch. The patch does simply re-establish the SRTP
session and add all the policies to it again. Maybe just a "try" to show
how the real fix should look like. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-27 04:06 bernhards      Note Added: 0128412                          
======================================================================




More information about the asterisk-bugs mailing list