[asterisk-commits] rmudgett: trunk r196187 - /trunk/channels/chan_misdn.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 22 10:07:24 CDT 2009


Author: rmudgett
Date: Fri May 22 10:07:21 2009
New Revision: 196187

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=196187
Log:
Make chan_misdn compile.

Modified:
    trunk/channels/chan_misdn.c

Modified: trunk/channels/chan_misdn.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_misdn.c?view=diff&rev=196187&r1=196186&r2=196187
==============================================================================
--- trunk/channels/chan_misdn.c (original)
+++ trunk/channels/chan_misdn.c Fri May 22 10:07:21 2009
@@ -8171,7 +8171,7 @@
 
 	strcpy(ast->exten, "s");
 
-	if (!ast_canmatch_extension(ast, ast->context, ast->exten, 1, bc->oad) || pbx_start_chan(ch) < 0) {
+	if (!ast_canmatch_extension(ast, ast->context, ast->exten, 1, bc->caller.number) || pbx_start_chan(ch) < 0) {
 		ast = NULL;
 		bc->out_cause = AST_CAUSE_UNALLOCATED;
 		hangup_chan(ch);




More information about the asterisk-commits mailing list