<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="IncrediMail 1.0" name=GENERATOR>
<STYLE>v\:* {
        BEHAVIOR: url (#default#vml)
}
</STYLE>
<style>v\:* {
        BEHAVIOR: url (#default#vml)
}
</style>
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>B433CDFE-B71C-42C2-A5C1-D34C076A9851</X-FID>
<X-FVER></X-FVER>
<X-FIT></X-FIT>
<X-FILE></X-FILE>
<X-FCOL></X-FCOL>
<X-FCAT></X-FCAT>
<X-FDIS></X-FDIS>
<X-Extensions></X-Extensions>
<X-BG>cid:41575A43-1FDE-4AAA-8A74-923E17FF309A</X-BG>
<X-BGT>no-repeat</X-BGT>
<X-BGC>#ffffff</X-BGC>
<X-BGPX>right</X-BGPX>
<X-BGPY>bottom</X-BGPY>
<X-ASN>7A42E450-357F-11D4-BA31-0050DAC68030</X-ASN>
<X-ASNF>0</X-ASNF>
<X-ASH>BCEB29C0-42D3-11D4-BA3E-0050DAC68030</X-ASH>
<X-ASHF>1</X-ASHF>
<X-AN>EE860250-5330-11D4-BA52-0050DAC68030</X-AN>
<X-ANF>0</X-ANF>
<X-AP>EE860250-5330-11D4-BA52-0050DAC68030</X-AP>
<X-APF>1</X-APF>
<X-AD>601231A0-325F-11D4-BA2D-0050DAC68030</X-AD>
<X-ADF>0</X-ADF>
<X-AUTO>X-ASN,X-ASH,X-AN,X-AP,X-AD</X-AUTO>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd-->
</HEAD>
<BODY style="BACKGROUND-POSITION: right bottom; FONT-SIZE: 12pt; MARGIN: 0px 150px 10px 10px; COLOR: #1c3966; BACKGROUND-REPEAT: no-repeat; FONT-FAMILY: Verdana" text=#1c3966 bgProperties=fixed bgColor=#ffffff background=cid:41575A43-1FDE-4AAA-8A74-923E17FF309A scroll=yes INCREDIFIXEDFORIMOL="true" SIGCOLOR="11031552">
<TABLE id=INCREDIMAINTABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD id=INCREDITEXTREGION dir=ltr style="FONT-SIZE: 12pt; DIRECTION: ltr" vAlign=top width="100%">
<DIV>Na realidade o que eu queria era uma&nbsp;logica que "arredondaria"&nbsp;o o tempo:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Exemplo:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Falou 33 seg, arredondaria para 36 segundos.</DIV>
<DIV>Falou&nbsp;61 seg, arredondaria para&nbsp;66 segundos.</DIV>
<DIV>&nbsp;</DIV>
<DIV>E assim por diante.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Alguém tem ideia de como pode ser feito?</DIV>
<DIV>&nbsp;</DIV>
<DIV id=IncrediOriginalMessage dir=ltr><I>-------Mensagem original-------</I></DIV>
<DIV>&nbsp;</DIV>
<DIV id=receivestrings>
<DIV dir=ltr style="FONT-SIZE: 11pt"><I><B>De:</B></I> <A href="mailto:itamar@ispbrasil.com.br">Itamar Reis Peixoto</A></DIV>
<DIV dir=ltr style="FONT-SIZE: 11pt"><I><B>Data:</B></I> 22/4/2009 09:23:27</DIV>
<DIV dir=ltr style="FONT-SIZE: 11pt"><I><B>Para:</B></I> <A href="mailto:asteriskbrasil@listas.asteriskbrasil.org">asteriskbrasil@listas.asteriskbrasil.org</A></DIV>
<DIV dir=ltr style="FONT-SIZE: 11pt"><I><B>Assunto:</B></I> Re: [AsteriskBrasil] Tarifação 30/6</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>cobre os primeiros 30 segundos, depois divida o que sobrar por 6 e cobre.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>2009/4/22 Fernando - Talkmais &lt;<A href="mailto:fernando@talkmais.com.br">fernando@talkmais.com.br</A>&gt;:</DIV>
<DIV>&gt; Pessoal bom dia,</DIV>
<DIV>&gt;</DIV>
<DIV>&gt; Estou com a seguinte duvida:</DIV>
<DIV>&gt;</DIV>
<DIV>&gt; Não entendi muito bem como funciona o sistema de tarifação (billing) e estou</DIV>
<DIV>&gt; com algumas duvidas.</DIV>
<DIV>&gt;</DIV>
<DIV>&gt; Exemplo: Realizei uma chamada que durou 33 segundos e a tarifação é de 30/6,</DIV>
<DIV>&gt; ou seja, deveria cobrar 36 segundos. Para os bons de matemática aí da lista:</DIV>
<DIV>&gt; Como calcular para chegar a esses 36?</DIV>
<DIV>&gt;</DIV>
<DIV>&gt; Ou melhor, como criar uma lógica, que arredonde sempre para +6 ou algo</DIV>
<DIV>&gt; assim?</DIV>
<DIV>&gt;</DIV>
<DIV>&gt; Tipo,</DIV>
<DIV>&gt; falou&nbsp;33 seg, cobra 36 segundos.</DIV>
<DIV>&gt; falou&nbsp;45 seg, cobra 46 segundos.</DIV>
<DIV>&gt; falou 47 seg, cobra 52 segundos.</DIV>
<DIV>&gt;</DIV>
<DIV>&gt; Alguém pode me ajudar?</DIV>
<DIV>&gt;</DIV>
<DIV>&gt; ps: É de quebrar a cabeça ;-)</DIV>
<DIV>&gt; _______________________________________________</DIV>
<DIV>&gt; Openmoko Freerunner, primeiro telefone open source, disponível no Brasil</DIV>
<DIV>&gt; rodando o Android da Google.</DIV>
<DIV>&gt; <A href="http://www.neodroid.com">http://www.neodroid.com</A></DIV>
<DIV>&gt;</DIV>
<DIV>&gt; Compre uma camiseta da AsteriskBrasil.org!</DIV>
<DIV>&gt; <A href="http://www.voipmania.com.br">http://www.voipmania.com.br</A></DIV>
<DIV>&gt;</DIV>
<DIV>&gt; Acesse o canal IRC de discussão sobre Asterisk em Português Brasileiro na</DIV>
<DIV>&gt; rede Freenode.net: #asterisk-br</DIV>
<DIV>&gt; _______________________________________________</DIV>
<DIV>&gt; Lista de discussões AsteriskBrasil.org</DIV>
<DIV>&gt; <A href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</A></DIV>
<DIV>&gt; <A href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</A></DIV>
<DIV>&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>--</DIV>
<DIV>------------</DIV>
<DIV>&nbsp;</DIV>
<DIV>Itamar Reis Peixoto</DIV>
<DIV>&nbsp;</DIV>
<DIV>e-mail/msn: <A href="mailto:itamar@ispbrasil.com.br">itamar@ispbrasil.com.br</A></DIV>
<DIV>sip: <A href="mailto:itamar@ispbrasil.com.br">itamar@ispbrasil.com.br</A></DIV>
<DIV>skype: itamarjp</DIV>
<DIV>icq: 81053601</DIV>
<DIV>+55 11 4063 5033</DIV>
<DIV>+55 34 3221 8599</DIV>
<DIV>_______________________________________________</DIV>
<DIV>Openmoko Freerunner, primeiro telefone open source, disponível no Brasil rodando o Android da Google.</DIV>
<DIV><A href="http://www.neodroid.com">http://www.neodroid.com</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>Compre uma camiseta da AsteriskBrasil.org!</DIV>
<DIV><A href="http://www.voipmania.com.br">http://www.voipmania.com.br</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>Acesse o canal IRC de discussão sobre Asterisk em Português Brasileiro na rede Freenode.net: #asterisk-br</DIV>
<DIV>_______________________________________________</DIV>
<DIV>Lista de discussões AsteriskBrasil.org</DIV>
<DIV><A href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</A></DIV>
<DIV><A href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</A></DIV></TD></TR>
<TR>
<TD id=INCREDIFOOTER width="100%">
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD width="100%"></TD>
<TD id=INCREDISOUND vAlign=bottom align=middle></TD>
<TD id=INCREDIANIM vAlign=bottom align=middle></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>