[Asterisk-Users] How to continue after a match in an include
Kevin P. Fleming
kpfleming at digium.com
Wed Jul 19 10:57:16 MST 2006
----- Ronald Wiplinger <ronald at elmit.com> wrote:
> The first include should just set some variables.
> I tried to number this extension block either with _. or with s
> and since it matches, the function (setting some variables) have been
> done.
> After that, I want to go to the next include, which has a match for
> _91NNN.
> However, since the first match was already successful, the next
> includes
> are not visited anymore.
Start the priority in the second 'included' context at 10 (for example), instead of 1, and then put priorities 1 through 9 in the first context (even if you have to put NoOp()s in there to use up all the priorities).
--
Kevin P. Fleming
Senior Software Engineer
Digium, Inc.
More information about the asterisk-users
mailing list