[asterisk-commits] file: trunk r42262 - /trunk/apps/app_read.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Sep 7 09:40:16 MST 2006


Author: file
Date: Thu Sep  7 11:40:15 2006
New Revision: 42262

URL: http://svn.digium.com/view/asterisk?rev=42262&view=rev
Log:
Set the variable even if the caller disconnects (issue #7896 reported by jsmith)

Modified:
    trunk/apps/app_read.c

Modified: trunk/apps/app_read.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_read.c?rev=42262&r1=42261&r2=42262&view=diff
==============================================================================
--- trunk/apps/app_read.c (original)
+++ trunk/apps/app_read.c Thu Sep  7 11:40:15 2006
@@ -207,6 +207,7 @@
 				}
 				res = 0;
 			} else {
+				pbx_builtin_setvar_helper(chan, arglist.variable, tmp);
 				if (option_verbose > 2)
 					ast_verbose(VERBOSE_PREFIX_3 "User disconnected\n");
 			}



More information about the asterisk-commits mailing list