[asterisk-commits] trunk r9759 - /trunk/apps/app_meetme.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Feb 13 10:50:55 MST 2006


Author: twisted
Date: Mon Feb 13 11:50:53 2006
New Revision: 9759

URL: http://svn.digium.com/view/asterisk?rev=9759&view=rev
Log:
Don't set the formats before we stop indications.  (issue #6380)

Modified:
    trunk/apps/app_meetme.c

Modified: trunk/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_meetme.c?rev=9759&r1=9758&r2=9759&view=diff
==============================================================================
--- trunk/apps/app_meetme.c (original)
+++ trunk/apps/app_meetme.c Mon Feb 13 11:50:53 2006
@@ -985,6 +985,8 @@
 		}
 	}
 
+	ast_indicate(chan, -1);
+
 	if (ast_set_write_format(chan, AST_FORMAT_SLINEAR) < 0) {
 		ast_log(LOG_WARNING, "Unable to set '%s' to write linear mode\n", chan->name);
 		goto outrun;
@@ -995,7 +997,6 @@
 		goto outrun;
 	}
 
-	ast_indicate(chan, -1);
 	retryzap = strcasecmp(chan->tech->type, "Zap");
 	user->zapchannel = !retryzap;
 



More information about the asterisk-commits mailing list