From e397e0fc546e5dcca9c5d3304b48bfe3022cb73c Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Wed, 22 Jun 2011 19:16:29 +0000 Subject: [PATCH] Use correct variable for text SRTP media. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@324491 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index b41f70ca61..ec79ce4e3a 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -5435,7 +5435,7 @@ static int sip_call(struct ast_channel *ast, char *dest, int timeout) return -1; } - if (p->trtp && !p->vsrtp && setup_srtp(&p->tsrtp) < 0) { + if (p->trtp && !p->tsrtp && setup_srtp(&p->tsrtp) < 0) { ast_log(LOG_WARNING, "SRTP text setup failed\n"); return -1; } -- 2.47.2