[asterisk-commits] tilghman: branch tilghman/compiler_attributes r129630 - /team/tilghman/compil...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 10 12:05:30 CDT 2008


Author: tilghman
Date: Thu Jul 10 12:05:29 2008
New Revision: 129630

URL: http://svn.digium.com/view/asterisk?view=rev&rev=129630
Log:
Update branch with dahdi changes

Modified:
    team/tilghman/compiler_attributes/channels/chan_dahdi.c

Modified: team/tilghman/compiler_attributes/channels/chan_dahdi.c
URL: http://svn.digium.com/view/asterisk/team/tilghman/compiler_attributes/channels/chan_dahdi.c?view=diff&rev=129630&r1=129629&r2=129630
==============================================================================
--- team/tilghman/compiler_attributes/channels/chan_dahdi.c (original)
+++ team/tilghman/compiler_attributes/channels/chan_dahdi.c Thu Jul 10 12:05:29 2008
@@ -5984,7 +5984,7 @@
 	/* Configure the new channel jb */
 	ast_jb_configure(tmp, &global_jbconf);
 
-	ast_device_state_changed_literal(tmp->name);
+	ast_devstate_changed_literal(state == AST_STATE_DOWN ? AST_DEVICE_NOT_INUSE : AST_DEVICE_INUSE, tmp->name);
 
 	for (v = i->vars ; v ; v = v->next)
                 pbx_builtin_setvar_helper(tmp, v->name, v->value);




More information about the asterisk-commits mailing list