aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-04 14:45:03 +0000
committerrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-04 14:45:03 +0000
commit36f38358f727207413134fd0cb4bda7bdfd9d214 (patch)
treea0bc1283be2113ba9a8d300ed60293805c9ca335 /channels
parent10b6f5384ac9800a1dbd8d4e3fea23f24853c2dc (diff)
Incoming overlap dialing no longer works after sig_pri extraction.
The problem would manifest itself if your dialplan matching could accept more digits to match than were actually dialed. The time out waiting for overlap digits disconnected the call instead of matching any accumulated digits to the dialplan. Accidental conversion of a break out of loop as a break out of switch. (closes issue #17401) Reported by: avalentin Patches: issue17401_digit_timeout.patch uploaded by rmudgett (license 664) Tested by: avalentin, rmudgett git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267928 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/sig_pri.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/channels/sig_pri.c b/channels/sig_pri.c
index 8e7c73c22..e93140330 100644
--- a/channels/sig_pri.c
+++ b/channels/sig_pri.c
@@ -1477,7 +1477,7 @@ static void *pri_ss_thread(void *data)
exten[len++] = res;
exten[len] = '\0';
} else
- goto exit;
+ break;
}
/* if no extension was received ('unspecified') on overlap call, use the 's' extension */
if (ast_strlen_zero(exten)) {
@@ -1522,13 +1522,6 @@ static void *pri_ss_thread(void *data)
p->call = NULL;
}
return NULL;
-
-exit:
- res = sig_pri_play_tone(p, SIG_PRI_TONE_CONGESTION);
- if (res < 0)
- ast_log(LOG_WARNING, "Unable to play congestion tone on channel %d\n", p->channel);
- ast_hangup(chan);
- return NULL;
}
void pri_event_alarm(struct sig_pri_pri *pri, int index, int before_start_pri)