projects
/
lcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c4b239
)
chan_lcr: fixed SRCUPDATE
author
Peter Schlaile
<root@asterisk.schlaile.de>
Sat, 25 Oct 2008 17:02:14 +0000
(19:02 +0200)
committer
root
<root@asterisk.schlaile.de>
Sat, 25 Oct 2008 17:02:14 +0000
(19:02 +0200)
Asterisk 1.4.21 already has source update, so let's check for it by
ifdef again.
chan_lcr.c
patch
|
blob
|
history
diff --git
a/chan_lcr.c
b/chan_lcr.c
index
1cf4656
..
3573e27
100644
(file)
--- a/
chan_lcr.c
+++ b/
chan_lcr.c
@@
-2132,7
+2132,7
@@
static int lcr_indicate(struct ast_channel *ast, int cond, const void *data, siz
ast_moh_stop(ast);
call->on_hold = 0;
break;
-#if
ASTERISK_VERSION_NUM >= 10600
+#if
def AST_CONTROL_SRCUPDATE
case AST_CONTROL_SRCUPDATE:
CDEBUG(call, ast, "Received AST_CONTROL_SRCUPDATE from Asterisk.\n");
break;