[asterisk-commits] branch 1.2 r9756 - /branches/1.2/apps/app_meetme.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Feb 13 10:37:57 MST 2006


Author: twisted
Date: Mon Feb 13 11:37:53 2006
New Revision: 9756

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

Modified:
    branches/1.2/apps/app_meetme.c

Modified: branches/1.2/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_meetme.c?rev=9756&r1=9755&r2=9756&view=diff
==============================================================================
--- branches/1.2/apps/app_meetme.c (original)
+++ branches/1.2/apps/app_meetme.c Mon Feb 13 11:37:53 2006
@@ -949,6 +949,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;
@@ -959,7 +961,6 @@
 		goto outrun;
 	}
 
-	ast_indicate(chan, -1);
 	retryzap = strcasecmp(chan->type, "Zap");
 	user->zapchannel = !retryzap;
 



More information about the asterisk-commits mailing list