[Asterisk-Dev] Sub delimiter syntax options in extensions.conf

Nicolas Bougues nbougues-listes at axialys.net
Tue Jun 8 01:56:56 MST 2004


Dear all,

I'm developing an application that needs one more level of paramters
in extensions.conf (I need to basically put several complete and full
featured Dial commands into a single parameter list). I'm wondering
which character I should use for that kind of sub-delimiting.

I'm thinking about using ";", but could use "%", "!", "+" or whatever
else. Or myabe I should use quotes ?

The syntax would be somthing like :

MyApp(SIP/1234&IAX2/4567;20;t|Zap/g2/8765|IAX2/9876&Zap/g1/3456;;tr;http://someurl)

or

MyApp("SIP/1234&IAX2/4567|20|t"|Zap/g2/8765|"IAX2/9876&Zap/g1/3456||tr|http://someurl")

Which one would be better ?
-- 
Nicolas Bougues
Axialys Interactive



More information about the asterisk-dev mailing list