summaryrefslogtreecommitdiffstats
path: root/chan_lcr.c
diff options
context:
space:
mode:
authorAndreas Eversberg2010-01-15 21:28:33 +0100
committerAndreas Eversberg2010-01-15 21:28:33 +0100
commitbaade7996195589adedfb22210ff82bd9aaf20fc (patch)
tree8a0b26cbba37b32befb42c7868cba27beb530e0a /chan_lcr.c
parentHarald provided this patch to fix reload of interface.conf without segfault. (diff)
downloadlcr-baade7996195589adedfb22210ff82bd9aaf20fc.tar.gz
lcr-baade7996195589adedfb22210ff82bd9aaf20fc.tar.xz
lcr-baade7996195589adedfb22210ff82bd9aaf20fc.zip
Test fix for lcr and dtmf.
modified: chan_lcr.c
Diffstat (limited to 'chan_lcr.c')
-rw-r--r--chan_lcr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/chan_lcr.c b/chan_lcr.c
index e50847c..61905bf 100644
--- a/chan_lcr.c
+++ b/chan_lcr.c
@@ -1292,6 +1292,8 @@ int receive_message(int message_type, unsigned int ref, union parameter *param)
/* store new ref */
call->ref = ref;
call->ref_was_assigned = 1;
+ /* set dtmf (default, use option 'n' to disable */
+ call->dsp_dtmf = 1;
/* send pending setup info */
if (call->state == CHAN_LCR_STATE_OUT_PREPARE)
send_setup_to_lcr(call);