[Asterisk-cvs] asterisk/channels chan_mgcp.c,1.73,1.74
markster at lists.digium.com
markster at lists.digium.com
Thu Aug 12 16:40:31 CDT 2004
Update of /usr/cvsroot/asterisk/channels
In directory localhost.localdomain:/tmp/cvs-serv1393/channels
Modified Files:
chan_mgcp.c
Log Message:
Specify D/ package in mgcp send digit routine (first commit from Adtran!)
Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- chan_mgcp.c 8 Aug 2004 17:15:02 -0000 1.73
+++ chan_mgcp.c 12 Aug 2004 20:26:40 -0000 1.74
@@ -1160,9 +1160,11 @@
static int mgcp_senddigit(struct ast_channel *ast, char digit)
{
struct mgcp_subchannel *sub = ast->pvt->pvt;
- char tmp[2];
- tmp[0] = digit;
- tmp[1] = '\0';
+ char tmp[4];
+ tmp[0] = 'D';
+ tmp[1] = '/';
+ tmp[2] = digit;
+ tmp[3] = '\0';
transmit_notify_request(sub, tmp);
return -1;
}
More information about the svn-commits
mailing list