summaryrefslogtreecommitdiffstats
path: root/chan_lcr.c
diff options
context:
space:
mode:
authorPeter Schlaile2008-10-25 19:02:14 +0200
committerroot2008-10-25 19:02:14 +0200
commitc37c79c76b04b3633769382168984b4dcd9f0acf (patch)
tree5292015826712f49e672a39747cba1b0d8e28352 /chan_lcr.c
parentchan_lcr: Fixed automagic 's' extension and made pickup work. (diff)
downloadlcr-c37c79c76b04b3633769382168984b4dcd9f0acf.tar.gz
lcr-c37c79c76b04b3633769382168984b4dcd9f0acf.tar.xz
lcr-c37c79c76b04b3633769382168984b4dcd9f0acf.zip
chan_lcr: fixed SRCUPDATE
Asterisk 1.4.21 already has source update, so let's check for it by ifdef again.
Diffstat (limited to 'chan_lcr.c')
-rw-r--r--chan_lcr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chan_lcr.c b/chan_lcr.c
index 1cf4656..3573e27 100644
--- 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
+#ifdef AST_CONTROL_SRCUPDATE
case AST_CONTROL_SRCUPDATE:
CDEBUG(call, ast, "Received AST_CONTROL_SRCUPDATE from Asterisk.\n");
break;