diff options
author | Mark Spencer <markster@digium.com> | 2004-08-12 20:26:40 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-08-12 20:26:40 +0000 |
commit | 0125ed120f9a1d2336698e10cc8a12ca7e556743 (patch) | |
tree | 8d472f7761380928ee174a486539abc1b366dcc3 | |
parent | be2d39a1a518514c493bf2f12a0db9b180012328 (diff) |
Specify D/ package in mgcp send digit routine (first commit from Adtran!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-x | channels/chan_mgcp.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index 0ea32abf9..b69f02cab 100755 --- 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; } |