<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18975">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial> Boa tarde
pessoal!!</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> Eu tenho um contexto para
uma ivr. Gostaria de saber como que eu faço para encaminhar a chamada para um
grupo de ramais caso o usuário não digite nenhuma das opções.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>[ivr-2]<BR>include => ivr-2-custom<BR>include
=> from-did-direct-ivr<BR>include => app-directory<BR>exten =>
#,1,dbDel(${BLKVM_OVERRIDE})<BR>exten => #,n,Set(__NODEST=)<BR>exten =>
#,n,Goto(app-directory,#,1)<BR>exten => h,1,Hangup<BR>exten =>
s,1,Set(MSG=custom/bem-vindo)<BR>exten => s,n,Set(LOOPCOUNT=0)<BR>exten =>
s,n,Set(__DIR-CONTEXT=default)<BR>exten =>
s,n,Set(_IVR_CONTEXT_${CONTEXT}=${IVR_CONTEXT})<BR>exten =>
s,n,Set(_IVR_CONTEXT=${CONTEXT})<BR>exten =>
s,n,GotoIf($["${CDR(disposition)}" = "ANSWERED"]?begin)<BR>exten =>
s,n,Answer<BR>exten => s,n,Wait(1)<BR>exten =>
s,n(begin),Set(TIMEOUT(digit)=3)<BR>exten =>
s,n,Set(TIMEOUT(response)=10)<BR>exten => s,n,Set(__IVR_RETVM=)<BR>exten
=> s,n,ExecIf($["${MSG}" != ""]?Background(${MSG}))<BR>exten =>
s,n,Playback(beep);<BR>exten => s,n,WaitExten(,)
##############################Aguarda 10 segundos para que o usuário digite uma
das opções#############################<BR>exten =>
hang,1,Playback(vm-goodbye) #################Se não digitar, da mensagem de
goodbye###################</FONT></DIV>
<DIV><FONT size=2 face=Arial>exten => hang,n,Hangup
#######################Desliga a ligação##################<BR>exten =>
2,1,dbDel(${BLKVM_OVERRIDE})<BR>exten => 2,n,Set(__NODEST=)<BR>exten =>
2,n,Goto(ext-group,060,1)<BR>exten => 3,1,dbDel(${BLKVM_OVERRIDE})<BR>exten
=> 3,n,Set(__NODEST=)<BR>exten => 3,n,Goto(ext-group,050,1)<BR>exten =>
i,1,Set(MSG=custom/bem-vindo)<BR>exten => i,n,Goto(loop,1)<BR>exten =>
t,1,Goto(loop,1)<BR>exten => loop,1,Set(LOOPCOUNT=$[${LOOPCOUNT} +
1])<BR>exten => loop,n,GotoIf($[${LOOPCOUNT} > 0]?hang,1)<BR>exten =>
loop,n,Goto(ivr-2,s,begin)<BR>exten =>
return,1,Set(MSG=custom/bem-vindo)<BR>exten =>
return,n,Set(_IVR_CONTEXT=${CONTEXT})<BR>exten =>
return,n,Set(_IVR_CONTEXT_${CONTEXT}=${IVR_CONTEXT_${CONTEXT}})<BR>exten =>
return,n,Goto(ivr-2,s,begin)<BR>exten =>
fax,1,Goto(ext-fax,in_fax,1)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>; end of [ivr-2]<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Atenciosamente</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Paulo Sergio Simões.</FONT></DIV></BODY></HTML>