[asterisk-commits] russell: branch russell/ais r78351 - /team/russell/ais/res/res_ais.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 7 11:26:29 CDT 2007
Author: russell
Date: Tue Aug 7 11:26:28 2007
New Revision: 78351
URL: http://svn.digium.com/view/asterisk?view=rev&rev=78351
Log:
Actually add the filter to the filter array that is passed to the subscribe func
Modified:
team/russell/ais/res/res_ais.c
Modified: team/russell/ais/res/res_ais.c
URL: http://svn.digium.com/view/asterisk/team/russell/ais/res/res_ais.c?view=diff&rev=78351&r1=78350&r2=78351
==============================================================================
--- team/russell/ais/res/res_ais.c (original)
+++ team/russell/ais/res/res_ais.c Tue Aug 7 11:26:28 2007
@@ -458,6 +458,9 @@
filter.filter.patternSize = len;
filter.filter.pattern = (SaUint8T *) filter_str;
+ filter_array.filtersNumber = 1;
+ filter_array.filters = &filter;
+
res = saEvtEventSubscribe(event_channel->handle, &filter_array,
subscribe_event->id);
More information about the asterisk-commits
mailing list