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.
_______________________________________________
--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

Reply via email to