Hi,<br><br> I've noticed an unusual behavior on the dialplan execution: assume this DP:<br><br>exten => _6XXX,1,NoOp(test1)<br><br>exten => _XXXX,1,NoOp(test2)<br>exten => _XXXX,2,NoOp(test3)<br><br>If I call 6000 then test1 and test3 NoOps get executed, even though the pattern is different.<br>
<br>I've always thought that if I call 6000 it would match the 6XXX pattern, that only has 1 priority, that would get executed and will be the end.<br>But it seams that it finds the 2nd priority on the other pattern, and since it matches the dialed number it carry on with the execution.<br>
<br>Is there a way to make asterisk behave like I've thought it would? Not keep executing the DP when the first pattern matched ends?<br>(I dont want to use Hangup(), since it would suppress BUSY,CONGESTION and other status...)<br>
<br>Thanks in advance,<br>Gabriel<br><br>