[Kamailio-Devel] Syntax for mi commands

Iñaki Baz Castillo ibc at aliax.net
Fri Jan 30 15:21:13 CET 2009


2009/1/30 Henning Westerholt <henning.westerholt at 1und1.de>:
> On Friday 30 January 2009, Iñaki Baz Castillo wrote:
>> 2009/1/30 Henning Westerholt <henning.westerholt at 1und1.de>:
>> > hm, this would lead to long module names in certain cases, e.g. for
>> > carrierroute - "carrierroute_reload_routes". There was a reason i used
>> > 'cr_' as prefix. :-) And for the case of usrloc, i think that using 'ul'
>> > is ok, instead of renaming all commands.
>>
>> There will be more and more modules. The MI command "cr_do_something"
>> is part of "carrierroute" module or part of a new module called
>> "codec_replace"? :)
>
> Hi Iñaki,
>
> valid argument. But what is then with modules that already uses a abbreviation
> as their name, as e.g. 'lcr'? :-)

Also good argument :)
IMHO naming a module with an abbreviation (rr, lcr, tm, sl...) is not
a good idea. Perhaps core and very important modules (tm, sl) can have
this short name, but other modules that provide logic features rather
than SIP core features, should (IMHO) be named with no abbreviation.


-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the Devel mailing list