[Kamailio-Devel] Syntax for mi commands

Henning Westerholt henning.westerholt at 1und1.de
Fri Jan 30 14:19:21 CET 2009


On Friday 30 January 2009, Iñaki Baz Castillo wrote:
> 2009/1/30 Daniel-Constantin Mierla <miconda at gmail.com>:
> > Please contribute there with suggestions and discuss them here. I am for
> > "module-identifier - underscore - command name".
>
> I agree. Also I suggest that "module-identifier" would be, strictly,
> the module real name, without using abbreviations. For example:
>
> Wrong:
>   ul_rm
>
> Correct:
>   usrloc_rm
>
> Do you agree? Since a MI commands depends on the module it's built on,
> I think this approach would be the best and easiest.

Hi Iñaki,

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.

Cheers,

Henning



More information about the Devel mailing list