[svn-commits] branch oej/metermaids-trunk r35238 - in /team/oej/metermaids-trunk: ./ res/

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Jun 21 07:42:40 MST 2006


Author: oej
Date: Wed Jun 21 09:42:39 2006
New Revision: 35238

URL: http://svn.digium.com/view/asterisk?rev=35238&view=rev
Log:
Fixing metermaids - now working again. 

Modified:
    team/oej/metermaids-trunk/devicestate.c
    team/oej/metermaids-trunk/res/res_features.c

Modified: team/oej/metermaids-trunk/devicestate.c
URL: http://svn.digium.com/view/asterisk/team/oej/metermaids-trunk/devicestate.c?rev=35238&r1=35237&r2=35238&view=diff
==============================================================================
--- team/oej/metermaids-trunk/devicestate.c (original)
+++ team/oej/metermaids-trunk/devicestate.c Wed Jun 21 09:42:39 2006
@@ -178,7 +178,9 @@
 	AST_LIST_UNLOCK(&devstate_cbs);
 }
 
-/*! \brief Notify callback watchers of change, and notify PBX core for hint updates */
+/*! \brief Notify callback watchers of change, and notify PBX core for hint updates
+	Normally executed within a separate thread
+*/
 static void do_state_change(const char *device)
 {
 	int state;

Modified: team/oej/metermaids-trunk/res/res_features.c
URL: http://svn.digium.com/view/asterisk/team/oej/metermaids-trunk/res/res_features.c?rev=35238&r1=35237&r2=35238&view=diff
==============================================================================
--- team/oej/metermaids-trunk/res/res_features.c (original)
+++ team/oej/metermaids-trunk/res/res_features.c Wed Jun 21 09:42:39 2006
@@ -2074,9 +2074,10 @@
 	int numext;
 	char device[AST_MAX_EXTENSION];
 	char exten[10];
+
 	for (numext = start; numext <= stop; numext++) {
 		snprintf(exten, sizeof(exten), "%d", numext);
-		snprintf(device, sizeof(device), "Local/%s@%s", exten, context);
+		snprintf(device, sizeof(device), "Local/%s@%s/park", exten, context);
 		ast_add_extension(context, 1, exten, PRIORITY_HINT, NULL, NULL, device, NULL, NULL, registrar);
 	}
 }



More information about the svn-commits mailing list