[asterisk-dev] Syntax for application parameters
Philipp Kempgen
philipp.kempgen at amooma.de
Tue Jun 9 08:50:15 CDT 2009
Jared Smith schrieb:
> Eliel and I started a vigorous discussion on the asterisk-dev IRC
> channel earlier today regarding the syntax for application parameters in
> the built-in help, and I'd like to open up the discussion for more
> members of the development community before we agree on a format.
>
>>From what we've discussed this morning, it appears we have four
> different proposed versions of the syntax:
>
> 1) Application([param1][,param2[,param3]])
> 2) Application([param1[,param2[,param3]]])
> 3) Application([[param1][,[param2][,[param3]]])
> 4) Application([param1][,[param2][,[param3]]])
>
> In this case, we're talking about cases where each parameter is
> optional, and is not dependent upon any previous parameters. (For
> example, param3 doesn't depend on param2 being set.)
IMHO 2) looks good.
Philipp Kempgen
--
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de
--
More information about the asterisk-dev
mailing list