summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2013-11-02 01:15:11 +0000
committerRichard Mudgett <rmudgett@digium.com>2013-11-02 01:15:11 +0000
commit0721b1de836da3e91ac71d54c972caa80a9e2379 (patch)
treeeda35e14fae8ea28740bec3e7110f4fa68bb6ba2 /configs
parent5401b2bfbf9c31570439c62a3ed7165052610b51 (diff)
config: Allow ConfBridge DTMF menus to have '#' as the first digit.
ConfBridge allows custom DTMF menus to be created in the confbridge.conf file by assigning a DTMF key sequence to a sequence of actions as follows: DTMF-sequence = action,action... Unfortunately, the normal config file processing code interprets an initial '#' character as starting a directive such as #include. * Add the ability to escape the first non-blank character in a config line so the '#' character can be used without triggering the directive processing code. (closes issue AFS-2) (closes issue ASTERISK-22478) Reported by: Nicolas Tanski Patches: jira_asterisk_22478_v11.patch (license #5621) patch uploaded by rmudgett (modified) Review: https://reviewboard.asterisk.org/r/2969/ ........ Merged revisions 402407 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 402416 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r--configs/confbridge.conf.sample9
1 files changed, 7 insertions, 2 deletions
diff --git a/configs/confbridge.conf.sample b/configs/confbridge.conf.sample
index a4f829aa2..94739a6fe 100644
--- a/configs/confbridge.conf.sample
+++ b/configs/confbridge.conf.sample
@@ -62,7 +62,7 @@ type=user
; loose the user will hear themselves briefly each
; time they begin talking until the dsp has time to
; establish that they are in fact talking.
- ; 2. When talk detection AMI events are enabled, this value
+ ; 2. When talk detection AMI events are enabled, this value
; determines when talking has begun which results in
; an AMI event to fire. If this value is set too tight
; AMI events may be falsely triggered by variants in
@@ -248,6 +248,11 @@ type=bridge
; Below is a list of menu actions that can be assigned
; to a DTMF sequence.
;
+; To have the first DTMF digit in a sequence be the '#' character, you need to
+; escape it. If it is not escaped then normal config file processing will
+; think it is a directive like #include. For example:
+; \#1=toggle_mute ; Pressing #1 will toggle the mute setting.
+;
; A single DTMF sequence can have multiple actions associated with it. This is
; accomplished by stringing the actions together and using a ',' as the delimiter.
; Example: Both listening and talking volume is reset when '5' is pressed.
@@ -270,7 +275,7 @@ type=bridge
; using the '&' character as a delimiter.
; toggle_mute ; Toggle turning on and off mute. Mute will make the user silent
; to everyone else, but the user will still be able to listen in.
- ; continue to collect the dtmf sequence.
+
; no_op ; This action does nothing (No Operation). Its only real purpose exists for
; being able to reserve a sequence in the config as a menu exit sequence.
; decrease_listening_volume ; Decreases the channel's listening volume.