From: Sean Bright Date: Fri, 10 May 2013 11:47:04 +0000 (+0000) Subject: Fix copy/paste error in one-touch-recording implementation. X-Git-Tag: 13.0.0-beta1~1826 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cfedc12adf64cc24e855bd9ea30df3aa1b759ce;p=thirdparty%2Fasterisk.git Fix copy/paste error in one-touch-recording implementation. ........ Merged revisions 388253 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@388254 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 7cf5f37dda..9b7c14be7b 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -21729,7 +21729,7 @@ static void handle_request_info(struct sip_pvt *p, struct sip_request *req) feat = ast_find_call_feature(p->relatedpeer->record_on_feature); } } else if (!strcasecmp(c, "off")) { - if (ast_strlen_zero(p->relatedpeer->record_on_feature)) { + if (ast_strlen_zero(p->relatedpeer->record_off_feature)) { suppress_warning = 1; } else { feat = ast_find_call_feature(p->relatedpeer->record_off_feature);