[asterisk-bugs] [JIRA] (ASTERISK-22478) Can't use pound(hash) symbol for custom DTMF menus in ConfBridge (processed as directive)

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Sep 11 10:35:04 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-22478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=210144#comment-210144 ] 

Rusty Newton edited comment on ASTERISK-22478 at 9/11/13 10:34 AM:
-------------------------------------------------------------------

1. I answered my own question about digits 'ABCD', they all work fine as far as defining menu options with them.

2. re: Josh - Good idea! I forgot about that.  I tried adding the '\' in front and got the following on parsing

{noformat}
[Sep 10 19:29:28] VERBOSE[13593] config.c:   == Parsing '/etc/asterisk/confbridge.conf': Found
[Sep 10 19:29:28] DEBUG[13593] config.c: extract int from [0] in [-2147483648, 2147483647] gives [0](0)
[Sep 10 19:29:28] DEBUG[13593] config.c: extract int from [0] in [-2147483648, 2147483647] gives [0](0)
[Sep 10 19:29:28] DEBUG[13593] config.c: extract int from [0] in [-2147483648, 2147483647] gives [0](0)
[Sep 10 19:29:28] DEBUG[13593] config.c: extract int from [4] in [-2147483648, 2147483647] gives [4](0)
[Sep 10 19:29:28] DEBUG[13593] config.c: extract int from [2500] in [-2147483648, 2147483647] gives [2500](0)
[Sep 10 19:29:28] DEBUG[13593] config.c: extract int from [160] in [-2147483648, 2147483647] gives [160](0)
[Sep 10 19:29:28] ERROR[13593] config_options.c: Could not find option suitable for category 'default_menu' named '\#2' at line 14 of
[Sep 10 19:29:28] ERROR[13593] config_options.c: In confbridge.conf: Processing options for default_menu failed
[Sep 10 19:29:28] ERROR[13593] app_confbridge.c: Unable to load config. Not loading module.
{noformat}

Adding two '\' characters got the same result.


Config used:

{noformat}
[default_bridge]
type=bridge
max_members=4

[default_user]
type=user
announce_only_user=yes
dtmf_passthrough=no

[default_menu]
type=menu
1=leave_conference
\#2=dialplan_exec(teste,s,1)
{noformat}

                
      was (Author: rnewton):
    1. I answered my own question about digits 'ABCD', they all work fine as far as defining menu options with them.

2. re: Josh - Good idea! I forgot about that.  I tried adding the '\' in front and got the following on parsing

{noformat}
[Sep 10 19:29:28] VERBOSE[13593] config.c:   == Parsing '/etc/asterisk/confbridge.conf': Found
[Sep 10 19:29:28] DEBUG[13593] config.c: extract int from [0] in [-2147483648, 2147483647] gives [0](0)
[Sep 10 19:29:28] DEBUG[13593] config.c: extract int from [0] in [-2147483648, 2147483647] gives [0](0)
[Sep 10 19:29:28] DEBUG[13593] config.c: extract int from [0] in [-2147483648, 2147483647] gives [0](0)
[Sep 10 19:29:28] DEBUG[13593] config.c: extract int from [4] in [-2147483648, 2147483647] gives [4](0)
[Sep 10 19:29:28] DEBUG[13593] config.c: extract int from [2500] in [-2147483648, 2147483647] gives [2500](0)
[Sep 10 19:29:28] DEBUG[13593] config.c: extract int from [160] in [-2147483648, 2147483647] gives [160](0)
[Sep 10 19:29:28] ERROR[13593] config_options.c: Could not find option suitable for category 'default_menu' named '\#2' at line 14 of
[Sep 10 19:29:28] ERROR[13593] config_options.c: In confbridge.conf: Processing options for default_menu failed
[Sep 10 19:29:28] ERROR[13593] app_confbridge.c: Unable to load config. Not loading module.
{noformat}

Adding two '\' characters got the same result.


                  
> Can't use pound(hash) symbol for custom DTMF menus in ConfBridge (processed as directive)
> -----------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-22478
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22478
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_confbridge
>    Affects Versions: 11.5.0
>            Reporter: Nicolas Tanski
>            Severity: Minor
>
> The # is not recognized within the file confbridge.conf the other values
> {noformat}
> [fancymenu]
> type=menu
> #=dialplan_exec(test,1,1) ; ERROR
> *=playback_and_continue(conf-togglemute)
> *1=toggle_mute
> 1=toggle_mute
> *2=leave_conference
> 2=leave_conference
> *3=dialplan_exec(addcallers,1,1)
> 3=dialplan_exec(addcallers,1,1)
> *4=decrease_listening_volume
> 4=decrease_listening_volume
> *5=reset_listening_volume
> 5=reset_listening_volume
> *6=increase_listening_volume
> 6=increase_listening_volume
> *7=decrease_talking_volume
> 7=decrease_talking_volume
> *8=reset_talking_volume
> 8=reset_talking_volume
> *9=increase_talking_volume
> 9=increase_talking_volume
> *0=no_op
> 0=no_op
> {noformat}
> [Edit by Rusty Newton - added below questions]
> Additional questions:
>  * Do we have the available DTMF digits for confbridge menus documented anywhere?
>  * The examples in confbridge.conf show *1234567890, what about #ABCD? Should we be able to use those?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list