mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-25 07:01:09 +00:00
Export AOCD variables on misdn_hangup.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2400,13 +2400,12 @@ static int misdn_hangup(struct ast_channel *ast)
|
|||||||
|
|
||||||
bc=p->bc;
|
bc=p->bc;
|
||||||
|
|
||||||
|
if (p)
|
||||||
|
export_aoc_vars(p->originator, ast, bc);
|
||||||
|
|
||||||
MISDN_ASTERISK_TECH_PVT(ast)=NULL;
|
MISDN_ASTERISK_TECH_PVT(ast)=NULL;
|
||||||
p->ast=NULL;
|
p->ast=NULL;
|
||||||
|
|
||||||
bc=p->bc;
|
|
||||||
|
|
||||||
if (ast->_state == AST_STATE_RESERVED ||
|
if (ast->_state == AST_STATE_RESERVED ||
|
||||||
p->state == MISDN_NOTHING ||
|
p->state == MISDN_NOTHING ||
|
||||||
p->state == MISDN_HOLDED ||
|
p->state == MISDN_HOLDED ||
|
||||||
|
Reference in New Issue
Block a user