<!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.18702"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN class=421093511-24032010>Bom dia a
todos....</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=421093511-24032010>tenho este meu
contexto contexto a baixo funcionando certinho, porem agora tenho que gravar as
ligações que entram e que saem, gravar o áudio delas.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=421093511-24032010>Pensei em usar o
mixmonitor, mas não tenho idéia de como, alguém pode me dar umas
dicas.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=421093511-24032010>Obrigado maus uma
vez.</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT size=2 face=Arial>[entrada]</FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial>exten =
s,1,NoOp(${CALLERID(NUM)})<BR>exten = s,2,GotoIf($["${CALLERID(NUM)}" =
"4888439543"]?callback)<BR>exten = s,3,GotoIf($["${CALLERID(NUM)}" =
"4888000088"]?callback)<BR>exten = s,4,GotoIf($["${CALLERID(NUM)}" =
"4884146008"]?totalcallback:rejeita)</FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial>exten =
s,n(totalcallback),goto(callbacktotal,s,1)<BR>exten =
s,n(callback),goto(callback,s,1)</FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial>exten =
s,n(rejeita),Goto(incovisa,s,1)<BR>exten = s,n,Hangup()</FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial>;Musica em espera entre
ramais<BR>exten => _99XX,1,dial(SIP/${EXTEN},30,Ttrm)<BR>exten =>
_99XX,2,MusicOnHold()<BR>exten => _99XX,3,Hangup()</FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial>;Saida para interurbanos<BR>exten
=> _0ZZ[2-9]XXXXXXX,1,Dial(SIP/vono/${EXTEN},90)</FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial>;Saida local fixo pela placa<BR>exten
=> _[2-6]XXXXXXX,1,Dial(ZAP/1/${EXTEN},20,r)</FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial>;Saida Local celular<BR>exten =>
_[789]XXXXXXX,1,Dial(SIP/vono/041${EXTEN},90)</FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial>;Saida para 0800<BR>exten =>
_0800XXXXXXX,1,Dial(ZAP/1/${EXTEN},20,r)</FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial>[callbacktotal]<BR>exten =>
s,1,System(bash /etc/asterisk/totalcallback.sh ${CALLERID(NUM)})</FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial>[callback]<BR>exten =>
s,1,System(bash /etc/asterisk/callback.sh ${CALLERID(NUM)})</FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial>[<SPAN
class=421093511-24032010>empresa</SPAN>]<BR>exten => s,1,Wait(0) ; Wait
a second, just for fun<BR>exten =>
s,2,Answer
; Answer the line<BR>exten => s,3,Wait(3)<BR>exten =>
s,4,Set(TIMEOUT(digit)=3) ; Set Digit Timeout to 5
seconds<BR>exten => s,5,Set(TIMEOUT(response)=5) ; Set Response Timeout
to 10 seconds<BR>exten =>
s,6,background(/var/lib/asterisk/sounds/urasjp)<BR>exten =>
s,n,WaitExten<BR>exten => 1,1,goto(box,s,1)<BR>exten =>
2,1,goto(fax,s,1)<BR>exten => t,1,Dial(SIP/9960&SIP/9961,20,mr)<BR>exten
=> t,2,MusicOnHold()</FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial>[box]<BR>exten =>
s,n,Answer<BR>exten => s,1,Dial(SIP/9960,20,mr)<BR>exten =>
s,2,MusicOnHold()</FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial>[fax]<BR>exten =>
s,n,Answer<BR>exten => s,1,Dial(SIP/9961,20,mr)<BR>exten =>
s,2,MusicOnHold()</FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial>[ramais]<BR>exten =>
s,1,Dial(SIP/9961,20,t)</FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial>[externo]<BR>exten =>
s,1,Answer()<BR>exten => s,n,PlayBack(vm-enter-num-to-call)<BR>exten =>
s,n,DISA(no-password|entrada)<BR>exten => s,n,Hangup()</FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial>[ramal]<BR>exten =>
_99XX,1,dial(SIP/${EXTEN},30,Ttrm)<BR>exten => _99XX,2,MusicOnHold()<BR>exten
=> _99XX,3,Hangup()</FONT></P>
<P class=MsoNormal><FONT size=2 face=Arial></FONT> </P>
<P class=MsoNormal><FONT size=2 face=Arial></FONT> </P>
<P class=MsoNormal><FONT size=2 face=Arial></FONT> </P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p> </o:p></SPAN></P>
<P class=MsoNormal><STRONG><SPAN
style="FONT-FAMILY: Webdings; COLOR: green; FONT-SIZE: 24pt">P
</SPAN></STRONG><STRONG><SPAN
style="FONT-FAMILY: Tahoma; COLOR: green; FONT-SIZE: 8pt">Antes de
imprimir</SPAN></STRONG><SPAN
style="FONT-FAMILY: Tahoma; COLOR: green; FONT-SIZE: 8pt"> pense em sua
responsabilidade e compromisso com o <STRONG><SPAN
style="FONT-FAMILY: Tahoma">Meio Ambiente</SPAN></STRONG>!</SPAN> <B><SPAN
style="FONT-FAMILY: Webdings; COLOR: green; FONT-SIZE: 24pt"><o:p></o:p></SPAN></B></P></DIV>
<DIV> </DIV></BODY></HTML>