|Summary:||ASTERISK-02434: Unable to pass parameters of macro into Dial (from AGI script).|
|Date Opened:||2004-09-19 19:22:10||Date Closed:||2004-09-25 02:01:40|
|Description:||I'm using M(x) option of command Dial from AGI script. Problem that M(x) does not take multiple parameters, or am i doing someting wrong?|
Here is AGI command example: "EXEC Dial 20|mM(mymacro|123)"
Everything works fine, except "mymacro" are not getting parameters.
|Comments:||By: mustdie (mustdie) 2004-09-20 11:52:07|
M(mymacro,123) - does not work either.
By: Mark Spencer (markster) 2004-09-20 17:16:58
This isn't really able to be fixed in any reasonable way. I suggest that you instead use SetVar to set a variable and then call the macro which can use the variable you pass.