From cf15740eaf6de047096a25afe678a577a574a9aa Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Mon, 10 Apr 2006 23:01:22 +0000 Subject: remove support for BYEXTENSION (which nobody even knows about anymore) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18977 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_rpt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/app_rpt.c') diff --git a/apps/app_rpt.c b/apps/app_rpt.c index a9c53ba7f..d4e817799 100644 --- a/apps/app_rpt.c +++ b/apps/app_rpt.c @@ -6452,9 +6452,9 @@ static int rpt_exec(struct ast_channel *chan, void *data) } /* At this point we have a priority and maybe an extension and a context */ chan->priority = atoi(priority); - if(exten && strcasecmp(exten, "BYEXTENSION")) + if (exten) strncpy(chan->exten, exten, sizeof(chan->exten)-1); - if(context) + if (context) strncpy(chan->context, context, sizeof(chan->context)-1); } else { /* increment the priority by default*/ chan->priority++; -- cgit v1.2.3