diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-07 09:29:01 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-07 09:29:01 +0100 |
commit | cebe4bed4d5cf561944baaded80f37355d0ca5fd (patch) | |
tree | e219446f066009f883c8fab1e7b9d172abff6b8b /misc/freeswitch/scripts/dialplan | |
parent | 72f100c680ddcf9c36448ae3ee367eab19052adc (diff) | |
parent | df663953901e5d4192cb38e56f5b6e27d6daf3fb (diff) |
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'misc/freeswitch/scripts/dialplan')
-rw-r--r-- | misc/freeswitch/scripts/dialplan/sip_call.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/freeswitch/scripts/dialplan/sip_call.lua b/misc/freeswitch/scripts/dialplan/sip_call.lua index 806c72c..1b5c6e1 100644 --- a/misc/freeswitch/scripts/dialplan/sip_call.lua +++ b/misc/freeswitch/scripts/dialplan/sip_call.lua @@ -195,6 +195,12 @@ function SipCall.fork(self, destinations, arg ) fork_index = tonumber(session_callee:getVariable('gs_fork_index')) or 0; local destination = destinations[fork_index]; + if arg.detect_dtmf_after_bridge_caller then + session:execute('start_dtmf'); + end + if arg.detect_dtmf_after_bridge_callee then + session_callee:execute('start_dtmf'); + end if arg.bypass_media_network then local callee_uuid = session_callee:get_uuid(); |