]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix copy/paste error in one-touch-recording implementation.
authorSean Bright <sean@malleable.com>
Fri, 10 May 2013 11:47:04 +0000 (11:47 +0000)
committerSean Bright <sean@malleable.com>
Fri, 10 May 2013 11:47:04 +0000 (11:47 +0000)
........

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

channels/chan_sip.c

index 7cf5f37ddae995145ec1e2ea40f8ea77227d24f1..9b7c14be7b465fd9798666b79603eeb3ee122eaa 100644 (file)
@@ -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);