[Asterisk-cvs] asterisk/apps app_disa.c,1.37,1.38

markster markster
Sat Oct 22 21:46:26 CDT 2005


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv9466/apps

Modified Files:
	app_disa.c 
Log Message:
Fix app_disa to set the proper variable before goign to invalid (bug #5439)


Index: app_disa.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_disa.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- app_disa.c	21 Oct 2005 04:00:13 -0000	1.37
+++ app_disa.c	23 Oct 2005 01:39:40 -0000	1.38
@@ -338,6 +338,7 @@
 		int recheck = 0;
 
 		if (!ast_exists_extension(chan, ourcontext, exten, 1, chan->cid.cid_num)) {
+			pbx_builtin_setvar_helper(chan, "INVALID_EXTEN", exten);
 			exten[0] = 'i';
 			exten[1] = '\0';
 			recheck = 1;




More information about the svn-commits mailing list