[asterisk-commits] qwell: branch qwell/hold_events r389591 - /team/qwell/hold_events/channels/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu May 23 15:16:22 CDT 2013
Author: qwell
Date: Thu May 23 15:16:18 2013
New Revision: 389591
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=389591
Log:
We need to unhold here, not hold.
Modified:
team/qwell/hold_events/channels/chan_dahdi.c
Modified: team/qwell/hold_events/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/team/qwell/hold_events/channels/chan_dahdi.c?view=diff&rev=389591&r1=389590&r2=389591
==============================================================================
--- team/qwell/hold_events/channels/chan_dahdi.c (original)
+++ team/qwell/hold_events/channels/chan_dahdi.c Thu May 23 15:16:18 2013
@@ -6560,7 +6560,7 @@
p->owner = p->subs[SUB_REAL].owner;
if (ast_channel_state(p->owner) != AST_STATE_UP)
p->subs[SUB_REAL].needanswer = 1;
- ast_queue_hold(p->subs[SUB_REAL].owner, NULL);
+ ast_queue_unhold(p->subs[SUB_REAL].owner);
} else if (p->subs[SUB_THREEWAY].dfd > -1) {
swap_subs(p, SUB_THREEWAY, SUB_REAL);
unalloc_sub(p, SUB_THREEWAY);
More information about the asterisk-commits
mailing list