[asterisk-dev] Syntax for multiple arguments to function

Olle E Johansson oej at edvina.net
Sun Jun 4 05:03:31 MST 2006


Currently IAXPEER and SIPPEER separate arguments with : and  
DUNDILOOKUP with |

[Syntax]
DUNDILOOKUP(number[|context[|options]])

[Syntax]
IAXPEER(<peername|CURRENTCHANNEL>[:item])

REGEX use space

[Syntax]
REGEX("<regular expression>" <data>)

STRPTIME use vertical bar too
[Syntax]
STRPTIME(<datetime>|<timezone>|<format>)


I guess we need to make some rules here...

/O



---
* Olle E Johansson - oej at edvina.net
* Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden






More information about the asterisk-dev mailing list