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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Sep 9 12:19:50 CDT 2010


The following issue has been set as DUPLICATE OF issue 0017563. 
====================================================================== 
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:                     closed
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:              
Resolution:                 duplicate
Duplicate:                  0
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-08-13 01:25 CDT
Last Modified:              2010-09-09 12:19 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
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0017563 [patch] SRTP (SRTP unprotect: authentic...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-09 12:19 lmadsen        Relationship added       duplicate of 0017563
======================================================================




More information about the asterisk-bugs mailing list