Steve Edwards wrote:
On Thu, 11 Jan 2007, Yuan LIU wrote:
AGI doesn't see the name "var"; all it sees is an array @ARGV (or
whatever in the respective language). As the documentation says,
values are passed like command line arguments.
But, in the interest of "more maintainable code," you can pass the
option name and use "getopt_long()" in "C" or whatever language you use.
For example,
agi(block-ani,--ani=555555555,--dnis=8005551212,--debug,--verbose)
vs
agi(block-ani|555555555|8005551212|y|y)
AGI() does not support more than 1 parameter to AGIs.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users