]> 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:46:00 +0000 (11:46 +0000)
committerSean Bright <sean@malleable.com>
Fri, 10 May 2013 11:46:00 +0000 (11:46 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@388253 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 51022b535ab2f245a22af2853eff5ac8c5a13052..b4399c380391a504cf9b88f87604403a2b178cc5 100644 (file)
@@ -21396,7 +21396,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);