[asterisk-dev] Parsing in Asterisk

Philipp Kempgen philipp.kempgen at amooma.de
Mon Mar 19 07:28:11 MST 2007


Leif Madsen wrote:

> On Tuesday 13 March 2007 13:25:11 Steve Murphy wrote:
>> On Mon, 2007-03-12 at 14:33 -0600, Tilghman Lesher wrote:

>>> exten => s,n,Set(ODBC_TEST3(foo)=123\,\\"456\,789\\"\,012)

What I miss most is "real" strings as you know them from other
languages - quoted in single or double quotes with escaping
only being necessary for the quotes themselves (and maybe
chars in hex notation).

exten => s,n,Set(ODBC_TEST3(foo) = 123, "456,789", 012 )

And it's really unusal to *write* to functions. Something
like this would be my favorite:

ODBC_TEST3( "foo", [123, "456,789", 012] )

:)

Regards,
  Philipp

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
     Let's use IT to solve problems and not to create new ones.
           Asterisk? -> http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998


More information about the asterisk-dev mailing list