[asterisk-bugs] [JIRA] (ASTERISK-23032) Example Configurations use old '=>' syntax

xrobau (JIRA) noreply at issues.asterisk.org
Wed Dec 18 22:03:02 CST 2013


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

xrobau commented on ASTERISK-23032:
-----------------------------------

It's reasonably historical, and whilst = and => are equivalent, the idea of using => is 'for an object', is a bit of out date now, isn't it?

What 'objects' are created, apart from dialplan? (This is an honest question, I'm unsure. Possibly voicemail? Does that count as an object?)

This bug report originated from looking at configs/asterisk.conf.sample

[directories](!)
astetcdir => /etc/asterisk
astmoddir => /usr/lib/asterisk/modules
 ... etc ...

[options]
;verbose = 3
;debug = 3
;alwaysfork = yes               ; Same as -F at startup.
 ... etc ...


Looking at codecs.conf.sample, [speex] and [plc] uses =>, whilst everything else uses =

This is just two files I picked at random.

                
> Example Configurations use old '=>' syntax
> ------------------------------------------
>
>                 Key: ASTERISK-23032
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23032
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Core/Configuration
>    Affects Versions: 12.0.0-beta2
>            Reporter: xrobau
>            Severity: Minor
>
> The example configuration files in 'configs' still use a lot of => for settings, instead of the modern '='
> Some even have an ad-hoc mix of both (eg, asterisk.conf.sample)

--
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