projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
760bc42
)
Bug # 2181: Support the PING event in MGCP.
author
Malcolm Davenport
<malcolmd@digium.com>
Fri, 30 Jul 2004 18:02:18 +0000
(18:02 +0000)
committer
Malcolm Davenport
<malcolmd@digium.com>
Fri, 30 Jul 2004 18:02:18 +0000
(18:02 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3537
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_mgcp.c
patch
|
blob
|
history
diff --git
a/channels/chan_mgcp.c
b/channels/chan_mgcp.c
index
3edad93
..
50f873a
100755
(executable)
--- a/
channels/chan_mgcp.c
+++ b/
channels/chan_mgcp.c
@@
-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);
}