[asterisk-commits] branch oej/metermaids-trunk r12118 -
/team/oej/metermaids-trunk/channels/
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Mar 6 12:01:33 MST 2006
Author: oej
Date: Mon Mar 6 13:01:30 2006
New Revision: 12118
URL: http://svn.digium.com/view/asterisk?rev=12118&view=rev
Log:
use AST_DEVICE instead of AST_EXTENSION
Modified:
team/oej/metermaids-trunk/channels/chan_local.c
Modified: team/oej/metermaids-trunk/channels/chan_local.c
URL: http://svn.digium.com/view/asterisk/team/oej/metermaids-trunk/channels/chan_local.c?rev=12118&r1=12117&r2=12118&view=diff
==============================================================================
--- team/oej/metermaids-trunk/channels/chan_local.c (original)
+++ team/oej/metermaids-trunk/channels/chan_local.c Mon Mar 6 13:01:30 2006
@@ -147,9 +147,9 @@
ast_log(LOG_DEBUG, "Checking if extension %s@%s exists (devicestate)\n", exten, context);
res = ast_exists_extension(NULL, context, exten, 1, NULL);
if (!res)
- return AST_EXTENSION_UNAVAILABLE;
+ return AST_DEVICE_UNAVAILABLE;
else
- return AST_EXTENSION_NOT_INUSE;
+ return AST_DEVICE_NOT_INUSE;
}
static int local_queue_frame(struct local_pvt *p, int isoutbound, struct ast_frame *f, struct ast_channel *us)
More information about the asterisk-commits
mailing list