dect
/
asterisk
Archived
13
0
Fork 0

Bug # 2181: Support the PING event in MGCP.

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3537 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
malcolmd 2004-07-30 18:02:18 +00:00
parent 728c392195
commit 65f8cc1881
1 changed files with 5 additions and 2 deletions

View File

@ -3072,9 +3072,12 @@ static int handle_request(struct mgcp_subchannel *sub, struct mgcp_request *req,
if (strstr(p->curtone, "wt") && (ev[0] == 'A')) {
memset(p->curtone, 0, sizeof(p->curtone));
}
}
else if (!strcasecmp(ev, "T")) {
}
else if (!strcasecmp(ev, "T")) {
/* Digit timeout -- unimportant */
}
else if (!strcasecmp(ev, "ping")) {
/* ping -- unimportant */
} else {
ast_log(LOG_NOTICE, "Received unknown event '%s' from %s@%s\n", ev, p->name, p->parent->name);
}