[Asterisk-cvs] asterisk/channels chan_mgcp.c,1.102,1.103

markster at lists.digium.com markster at lists.digium.com
Thu Jan 6 02:11:48 CST 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv23523/channels

Modified Files:
	chan_mgcp.c 
Log Message:
Improve MGCP formatting (bug #3247)


Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -d -r1.102 -r1.103
--- chan_mgcp.c	6 Jan 2005 04:02:33 -0000	1.102
+++ chan_mgcp.c	6 Jan 2005 08:16:43 -0000	1.103
@@ -3,7 +3,7 @@
  *
  * Implementation of Media Gateway Control Protocol
  * 
- * Copyright (C) 1999-2004, Digium, Inc.
+ * Copyright (C) 1999-2005, Digium, Inc.
  *
  * Mark Spencer <markster at digium.com>
  *
@@ -48,9 +48,10 @@
    -- enhance retransmit mechanism (RTO calc. etc.)
    -- embedded command support
[...4616 lines suppressed...]
-    return 0;
+	mgcp_reload(0, 0, NULL);
+	return 0;
 }
 
 int unload_module()
@@ -4264,7 +4267,7 @@
 		/* Hangup all interfaces if they have an owner */
 		p = iflist;
 		while(p) {
-            mgcp_queue_hangup(p);
+			mgcp_queue_hangup(p);
 			p = p->next;
 		}
 		iflist = NULL;
@@ -4326,4 +4329,3 @@
 {
 	return desc;
 }
-




More information about the svn-commits mailing list