mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Make chan_misdn compile.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -8171,7 +8171,7 @@ static void do_immediate_setup(struct misdn_bchannel *bc, struct chan_list *ch,
|
||||
|
||||
strcpy(ast->exten, "s");
|
||||
|
||||
if (!ast_canmatch_extension(ast, ast->context, ast->exten, 1, bc->oad) || pbx_start_chan(ch) < 0) {
|
||||
if (!ast_canmatch_extension(ast, ast->context, ast->exten, 1, bc->caller.number) || pbx_start_chan(ch) < 0) {
|
||||
ast = NULL;
|
||||
bc->out_cause = AST_CAUSE_UNALLOCATED;
|
||||
hangup_chan(ch);
|
||||
|
Reference in New Issue
Block a user