Fix copy/paste error in one-touch-recording implementation.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@388253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
changes/61/61/1
Sean Bright 12 years ago
parent 08c2a533f2
commit 771ce9e1e7

@ -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);

Loading…
Cancel
Save