Hi all,
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}?
Eg. DID range is 1200-1349 -> call Macro(disca), what mask to use? (I just
got it with 2 masks, but I didn't wanted to duplicate the dialplan for both)
[test]
exten => _12XX,1,Set(DIR=3)
exten => _12XX,n,Set(GROUP(flux)=internal)
exten => _12XX,n,Macro(disca)
exten => _13[0-4]X,1,Goto(1200,1) ; what to put here to go to 12XX ??
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.
thanks already,
Gabriel Ortiz
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users