mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
if no extension is specified on an overlap call, use the 's' extension (bug #4317)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4638,6 +4638,13 @@ static void *ss_thread(void *data)
|
||||
} else
|
||||
break;
|
||||
}
|
||||
/* if no extension was received ('unspecified') on overlap call, use the 's' extension */
|
||||
if (ast_strlen_zero(exten)) {
|
||||
if (option_verbose > 2)
|
||||
ast_verbose(VERBOSE_PREFIX_3 "Going to extension s|1 because of empty extension received on overlap call\n");
|
||||
exten[0] = 's';
|
||||
exten[1] = '\0';
|
||||
}
|
||||
tone_zone_play_tone(p->subs[index].zfd, -1);
|
||||
if (ast_exists_extension(chan, chan->context, exten, 1, p->callerid)) {
|
||||
/* Start the real PBX */
|
||||
|
Reference in New Issue
Block a user