Okay, '*' and '#' are still okay in INFO messages
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
de28fa60cf
commit
5e25770a83
1 changed files with 6 additions and 1 deletions
|
@ -4251,7 +4251,12 @@ static void receive_info(struct sip_pvt *p, struct sip_request *req)
|
|||
if (strlen(buf)) {
|
||||
if (sipdebug)
|
||||
ast_verbose("DTMF received: '%c'\n", buf[0]);
|
||||
event = atoi(buf);
|
||||
if (buf[0] == '*')
|
||||
event = 10;
|
||||
else if (buf[0] == '#')
|
||||
event = 11;
|
||||
else
|
||||
event = atoi(buf);
|
||||
if (event < 10) {
|
||||
resp = '0' + event;
|
||||
} else if (event < 11) {
|
||||
|
|
Loading…
Reference in a new issue