[asterisk-dev] res_pjsip: snake case config options

Paul Belanger paul.belanger at polybeacon.com
Tue Nov 5 13:21:25 CST 2013


On 13-11-05 02:12 PM, Mark Michelson wrote:
> On 11/05/2013 10:41 AM, Kevin Harwell wrote:
>> Greetings,
>>
>> If there are no serious objections I am going to rename, where
>> appropriate, the configuration options for chan/res_pjsip to use snake
>> case (compound words separated by an underscore).
>>
>> For example, faxdetect would become fax_detect, recordofffeature would
>> become record_off_feature, etc...
>>
>> Many options are already formatted as such, so with this change I am
>> hoping to 1) make things more consistent and 2) make it easier translate
>> between case styles when needed.
>>
>> #2 by the way is the main reason this is needed as it should allow some
>> AMI event objects to be easily/automatically built.
>>
> I'm all for it, especially since 12 hasn't been released yet.
>
That said, I think we need a special documentation section in the next 
release notes for what we have explicitly broken. Both for this and ARI 
stuff.

-- 
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: 
https://twitter.com/pabelanger



More information about the asterisk-dev mailing list