[svn-commits] rmudgett: branch rmudgett/ntptmp r1104 - /team/rmudgett/ntptmp/q931.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Sep 18 13:46:50 CDT 2009
Author: rmudgett
Date: Fri Sep 18 13:46:46 2009
New Revision: 1104
URL: http://svn.asterisk.org/svn-view/libpri?view=rev&rev=1104
Log:
Allow the BRI NT PTMP broadcast call winner to pass up its events by default.
Modified:
team/rmudgett/ntptmp/q931.c
Modified: team/rmudgett/ntptmp/q931.c
URL: http://svn.asterisk.org/svn-view/libpri/team/rmudgett/ntptmp/q931.c?view=diff&rev=1104&r1=1103&r2=1104
==============================================================================
--- team/rmudgett/ntptmp/q931.c (original)
+++ team/rmudgett/ntptmp/q931.c Fri Sep 18 13:46:46 2009
@@ -5326,7 +5326,7 @@
{
struct q931_call *master = c->master_call;
struct q931_call *winner = q931_get_subcall_winner(master);
- int newstate;
+ enum Q931_CALL_STATE newstate;
/* For broadcast calls, we default to not allowing events to keep events received to a minimum
* and to allow post processing, since that is where hangup and subcall state handling and other processing is done */
@@ -5378,6 +5378,9 @@
}
break;
default:
+ if (winner && c == winner) {
+ *allow_event = 1;
+ }
break;
}
}
More information about the svn-commits
mailing list