[asterisk-users] dial plan -- help

unplug maillisting at gmail.com
Wed Jul 12 01:59:45 MST 2006


I have the following context in the dial plan.

in extension.conf
[default]
1) context1
2) context2

3) context1,1,Macro(a)
4) context2,1,NoOp
5) context2,2,NoOp

[macro-a]
6) exten => s,1, NoOp
7) exten => s,2, MacroExit

As I expect the route of a call is 3,6,7,4,5.  However, when I execute
the plan, it shows me the route as 3,6,7,5.  When the macro return to
context2, the system will search the second priority instead of the
first priority.  As a result, some action will miss.
In the case above,  Anyone can suggest me a good way to do that?  Any
reset priority command that can be used.  Or I misuse in the above
case.



More information about the asterisk-users mailing list