Displaying 2 results from an estimated 2 matches for "disca".
Did you mean:
disc1
2009 Aug 17
1
Goto mask
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...
2011 Jun 10
0
(no subject)
...*,2,DBdel(CF/${CALLERID(num)})
exten => _*72*,3,Playback(cancelled) exten => _*72*,4,Playback(beep)
exten => _*72*,5,Hangup
Bom, agora vamos ao pulo do gato, esse passo ? muito importante pois ?
ele quem verifica se existe ou n?o o siga-me para o ramal.
Vamos ao contexto:
[disca]
exten => _3XXX,1,Noop(CF/${EXTEN})
exten => _3XXX,2,Set(siga=${DB(CF/${EXTEN})})
exten => _3XXX,3,Dial(SIP/${siga},30,Ttw)
exten => _3XXX,4,Dial(SIP/${EXTEN}) ; Unconditional forward
exten => _3XXX,5,Hangup
-------------- next part --------------
An HTML attachment was scrub...