Another place where timeout events with subcmds should clear any old subcmds.
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1097 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
1
q931.c
1
q931.c
@@ -5142,6 +5142,7 @@ static int pri_internal_clear(void *data)
|
||||
|
||||
UPDATE_OURCALLSTATE(ctrl, c, Q931_CALL_STATE_NULL);
|
||||
c->peercallstate = Q931_CALL_STATE_NULL;
|
||||
q931_clr_subcommands(ctrl);
|
||||
ctrl->ev.hangup.subcmds = &ctrl->subcmds;
|
||||
ctrl->ev.hangup.channel = q931_encode_channel(c);
|
||||
ctrl->ev.hangup.cause = c->cause;
|
||||
|
||||
Reference in New Issue
Block a user