[Asterisk-cvs] asterisk/channels chan_mgcp.c,1.64,1.65

malcolmd at lists.digium.com malcolmd at lists.digium.com
Fri Jul 30 14:16:14 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory localhost.localdomain:/tmp/cvs-serv534/channels

Modified Files:
	chan_mgcp.c 
Log Message:
Bug # 2181: Support the PING event in MGCP.


Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- chan_mgcp.c	26 Jul 2004 19:37:11 -0000	1.64
+++ chan_mgcp.c	30 Jul 2004 18:02:18 -0000	1.65
@@ -3072,9 +3072,12 @@
             if (strstr(p->curtone, "wt") && (ev[0] == 'A')) {
                 memset(p->curtone, 0, sizeof(p->curtone));
             }
-		} 
-        else if (!strcasecmp(ev, "T")) {
+		}
+	else if (!strcasecmp(ev, "T")) {
 			/* Digit timeout -- unimportant */
+	}
+	else if (!strcasecmp(ev, "ping")) {
+			/* ping -- unimportant */
 		} else {
 			ast_log(LOG_NOTICE, "Received unknown event '%s' from %s@%s\n", ev, p->name, p->parent->name);
 		}




More information about the svn-commits mailing list