[asterisk-bugs] [Asterisk 0017855]: Asterisk with SRTP Record and Playback Issue

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Aug 19 11:01:35 CDT 2010


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17855 
====================================================================== 
Reported By:                hemanshurpatel
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17855
Category:                   Resources/res_srtp
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
Target Version:             1.8.0
Asterisk Version:           Older Addons - please test a newer version 
JIRA:                       SWP-2050 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-08-13 01:25 CDT
Last Modified:              2010-08-19 11:01 CDT
====================================================================== 
Summary:                    Asterisk with SRTP Record and Playback Issue
Description: 
I am using asterisk successfully with SRTP for Calling.
I havent tested my installation for record and playback since i added SRTP
support to it.
i have configured extention 999 for record task:

exten => 999,1,Set(_SIPSRTP_CRYPTO=enable)
exten => 999,n,Set(_SIPSRTP=1)
exten => 999,n,Answer
exten => 999,n,Record(hemu.ulaw)
exten => 999,n,Hangup


When i call 999, application receives INVITE packet with crypto tag in
SDP. I am using Grandstream GVX3410 phone which supports SRTP.Apllication
process the message, Process_crypto function call and call is established.
I mean asterisk starts recording, but while recording in rtp_recvfrom
function, rtp->srtp == NULL and so it doesnt decrypt the packets. Stores
packet as it is.

and same happens while playback, and so packet which asterisk sends while
playback are encyrpted with tags of recording call, so its just blank
screen and Noise on speakers.

What extra happens in normal call is that asterisk also processes 200 OK
with crypto header and so it calls process_crypto function two times while
in record and playback function it calls those function one time only.

Anyone has got same problem?

regards
Hemanshu Patel
====================================================================== 

---------------------------------------------------------------------- 
 (0126141) russell (administrator) - 2010-08-19 11:01
 https://issues.asterisk.org/view.php?id=17855#c126141 
---------------------------------------------------------------------- 
What version of Asterisk are you using?  Are you using 1.8 or trunk, or
some other version with a patch applied? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-19 11:01 russell        Note Added: 0126141                          
2010-08-19 11:01 russell        Status                   acknowledged =>
feedback
======================================================================




More information about the asterisk-bugs mailing list