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

Modified Files:
        chan_mgcp.c 
Log Message:
ensure that MGCP AMA flags are passed into CDR (bug #3962)


Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -d -r1.113 -r1.114
--- chan_mgcp.c 5 Apr 2005 04:41:15 -0000       1.113
+++ chan_mgcp.c 5 Apr 2005 21:40:37 -0000       1.114
@@ -3710,6 +3710,7 @@
                                        strncpy(e->mailbox, mailbox, 
sizeof(e->mailbox) - 1);
                                        snprintf(e->rqnt_ident, 
sizeof(e->rqnt_ident), "%08x", rand());
                                        e->msgstate = -1;
+                                       e->amaflags = amaflags;
                                        e->capability = capability;
                                        e->parent = gw;
                                        e->dtmfmode = dtmfmode;
@@ -3812,6 +3813,7 @@
                                                e->msgstate = -1;
                                                e->parent = gw;
                                        }
+                                       e->amaflags = amaflags;
                                        e->capability = capability;
                                        e->dtmfmode = dtmfmode;
                                        e->adsi = adsi;

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

Reply via email to