[asterisk-commits] file: branch file/audiohooks-1.4 r88232 - /team/file/audiohooks-1.4/apps/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 2 08:43:02 CDT 2007


Author: file
Date: Fri Nov  2 08:43:01 2007
New Revision: 88232

URL: http://svn.digium.com/view/asterisk?view=rev&rev=88232
Log:
Silly me modifying app_meetme with the spy stuff.

Modified:
    team/file/audiohooks-1.4/apps/app_meetme.c

Modified: team/file/audiohooks-1.4/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/team/file/audiohooks-1.4/apps/app_meetme.c?view=diff&rev=88232&r1=88231&r2=88232
==============================================================================
--- team/file/audiohooks-1.4/apps/app_meetme.c (original)
+++ team/file/audiohooks-1.4/apps/app_meetme.c Fri Nov  2 08:43:01 2007
@@ -1572,7 +1572,7 @@
 		goto outrun;
 	}
 
-	retryzap = (strcasecmp(chan->tech->type, "Zap") || chan->spies ? 1 : 0);
+	retryzap = (strcasecmp(chan->tech->type, "Zap") || chan->audiohooks ? 1 : 0);
 	user->zapchannel = !retryzap;
 
  zapretry:
@@ -1890,14 +1890,14 @@
 				break;
 
 			if (c) {
-				if (c->fds[0] != origfd || (user->zapchannel && c->spies)) {
+				if (c->fds[0] != origfd || (user->zapchannel && c->audiohooks)) {
 					if (using_pseudo) {
 						/* Kill old pseudo */
 						close(fd);
 						using_pseudo = 0;
 					}
 					ast_log(LOG_DEBUG, "Ooh, something swapped out under us, starting over\n");
-					retryzap = (strcasecmp(c->tech->type, "Zap") || c->spies ? 1 : 0);
+					retryzap = (strcasecmp(c->tech->type, "Zap") || c->audiohooks ? 1 : 0);
 					user->zapchannel = !retryzap;
 					goto zapretry;
 				}




More information about the asterisk-commits mailing list