projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be2d39a
)
Specify D/ package in mgcp send digit routine (first commit from Adtran!)
author
Mark Spencer
<markster@digium.com>
Thu, 12 Aug 2004 20:26:40 +0000
(20:26 +0000)
committer
Mark Spencer
<markster@digium.com>
Thu, 12 Aug 2004 20:26:40 +0000
(20:26 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3602
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_mgcp.c
patch
|
blob
|
history
diff --git
a/channels/chan_mgcp.c
b/channels/chan_mgcp.c
index
0ea32ab
..
b69f02c
100755
(executable)
--- a/
channels/chan_mgcp.c
+++ b/
channels/chan_mgcp.c
@@
-1160,9
+1160,11
@@
static int mgcp_fixup(struct ast_channel *oldchan, struct ast_channel *newchan)
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;
}