Okay, '*' and '#' are still okay in INFO messages
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1642 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
6528d5f1c7
commit
ee1c0238d6
|
@ -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) {
|
||||
|
|
Reference in New Issue