Hi all,<br><br>  When I have 2 masks that would like to execute the same logic, there is the way to use the Goto (or any other) command without changing the ${EXTEN}?<br><br>Eg. DID range is 1200-1349 -&gt; call Macro(disca), what mask to use? (I just got it with 2 masks, but I didn&#39;t wanted to duplicate the dialplan for both)<br>
<br><br>[test]<br>exten =&gt; _12XX,1,Set(DIR=3)<br>exten =&gt; _12XX,n,Set(GROUP(flux)=internal)<br>exten =&gt; _12XX,n,Macro(disca)<br><br>exten =&gt; _13[0-4]X,1,Goto(1200,1)  ; what to put here to go to 12XX ??<br><br>
The example above would not work because it will try to call 1200 always for the 13[0-4]X mask, since it will change the ${EXTEN} variable.<br><br>thanks already,<br>Gabriel Ortiz<br>