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:
parent
728c392195
commit
65f8cc1881
|
@ -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);
|
||||
}
|
||||
|
|
Reference in New Issue