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

Modified Files:
      Tag: v1-0
        chan_mgcp.c 
Log Message:
fix accountcode (bug #3951)


Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.79.2.9
retrieving revision 1.79.2.10
diff -u -d -r1.79.2.9 -r1.79.2.10
--- chan_mgcp.c 4 Jan 2005 05:47:49 -0000       1.79.2.9
+++ chan_mgcp.c 5 Apr 2005 05:33:13 -0000       1.79.2.10
@@ -3559,6 +3559,7 @@
                     strncpy(gw->wcardep, v->value, sizeof(gw->wcardep)-1);
                                        /*strncpy(e->name, "aaln/" "*", 
sizeof(e->name) - 1);*/
                                        /* XXX Should we really check for 
uniqueness?? XXX */
+                                       strncpy(e->accountcode, accountcode, 
sizeof(e->accountcode) - 1);       
                                        strncpy(e->context, context, 
sizeof(e->context) - 1);
                                        strncpy(e->callerid, callerid, 
sizeof(e->callerid) - 1);
                                        strncpy(e->language, language, 
sizeof(e->language) - 1);
@@ -3651,6 +3652,7 @@
                         e->needaudit = 1;
                     }
                                        /* XXX Should we really check for 
uniqueness?? XXX */
+                                       strncpy(e->accountcode, accountcode, 
sizeof(e->accountcode) - 1);       
                                        strncpy(e->context, context, 
sizeof(e->context) - 1);
                                        strncpy(e->callerid, callerid, 
sizeof(e->callerid) - 1);
                                        strncpy(e->language, language, 
sizeof(e->language) - 1);

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to