<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EstiloDeEmail19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EstiloDeEmail20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=PT-BR link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Só um detalhe: ESQUECI DE CHAMAR O ARQUIVO .sh, rsrs.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Então o correto seria:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>[ramal-alarme]<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,1,Set(LAST=${DB(CENTRAL/last_call)})<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n,Set(NOW=${STRFTIME(${EPOCH},,%s)})<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n,GotoIf($[${ISNULL(${LAST})}]?:continue)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n,Set(DB(CENTRAL/last_call)=${STRFTIME(${EPOCH},,%s)})<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n,Set(LAST=${DB(CENTRAL/last_call)})<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n(continue),Set(HORA=${MATH(${NOW}-${LAST},int)})<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n,GotoIf($[${HORA} &gt;= 60]?:hangup)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n,Set(DB(CENTRAL/last_call)=${STRFTIME(${EPOCH},,%s)})<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n,System(/home/usuario/hangup_all.sh 1000)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n,Wait(2)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n,Dial(SIP/1000,,tT)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n(hangup),Hangup</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Atenciosamente,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-family:"Calibri","sans-serif";color:#2F5496'>Fernando da Silva Santos<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>CEO</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'> &#8211; Chief Executive Officer<o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>NextBilling IP Solutions<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'><o:p>&nbsp;</o:p></span></b></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>SP: </span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>+55 (11) 3522-9200<o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>RJ: </span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>+55 (21) 4063-8854<o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>Tollfree:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'> 0800 580-9200<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'><a href="http://www.nextbilling.com.br/">http://www.nextbilling.com.br</a><o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:35.4pt'><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>De:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> asteriskbrasil-bounces@listas.asteriskbrasil.org [mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org] <b>Em nome de </b>Fernando - NextBilling IP Solutions<br><b>Enviada em:</b> sexta-feira, 16 de agosto de 2013 06:44<br><b>Para:</b> asteriskbrasil@listas.asteriskbrasil.org<br><b>Assunto:</b> [AsteriskBrasil] RES: Ramal prioritário<br><b>Prioridade:</b> Alta<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:35.4pt'><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Opa, bom dia.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:red;mso-fareast-language:EN-US'>PS: Essa foi boa pra colocar o cérebro pra pensar, rsrsrs... Não testei então talvez tenha que alterar algo.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Você pode executar um script sh para isso. Algo do tipo:<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>[ramal-alarme]<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,1,Set(LAST=${DB(CENTRAL/last_call)})<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n,Set(NOW=${STRFTIME(${EPOCH},,%s)})<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n,GotoIf($[${ISNULL(${LAST})}]?:continue)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n,Set(DB(CENTRAL/last_call)=${STRFTIME(${EPOCH},,%s)})<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n,Set(LAST=${DB(CENTRAL/last_call)})<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n(continue),Set(HORA=${MATH(${NOW}-${LAST},int)})<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n,GotoIf($[${HORA} &gt;= 60]?:hangup)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n,Set(DB(CENTRAL/last_call)=${STRFTIME(${EPOCH},,%s)})<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n,Dial(SIP/1000,,tT)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;background:silver;mso-highlight:silver;mso-fareast-language:EN-US'>exten =&gt; 1000,n(hangup),Hangup</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>-----------------------------------------------------------------<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>CONTEÚDO DO hangup_all.sh<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>#!/bin/bash</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>&nbsp;</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'>&nbsp;<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>if [ $# != 1 ]</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>then</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>&nbsp;&nbsp;&nbsp;echo &quot;&nbsp;&nbsp; Uso: $0 ramal&quot;</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>&nbsp;&nbsp;&nbsp;exit</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>fi</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>echo;</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>&nbsp;</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'>&nbsp;<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>CHANNEL=`asterisk -rx &quot;core show channels concise&quot; | cut -f1 -d'!' | grep $1`</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>&nbsp;</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'>&nbsp;<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>for i in ${CHANNEL}</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>do</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>&nbsp;&nbsp;&nbsp;#echo -n &quot;Desligar canal ${i} &quot;</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>&nbsp;&nbsp;&nbsp;#read -p &quot;(s/n)? &quot; ans</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>&nbsp;&nbsp;&nbsp;#if [ ${ans} == &quot;s&quot; ]</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>&nbsp;&nbsp;&nbsp;#then</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#echo &quot;Requesting hangup on ${i}...&quot;</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;asterisk -rx &quot;channel request hangup ${i}&quot;</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>&nbsp;&nbsp;&nbsp;#fi</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>done</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>&nbsp;</span><span style='font-size:10.0pt;font-family:Consolas;color:black;background:silver;mso-highlight:silver'>&nbsp;<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;line-height:10.55pt'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>echo;</span><span style='font-size:10.0pt;font-family:Consolas;color:black'><o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Atenciosamente,<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><b><span style='font-family:"Calibri","sans-serif";color:#2F5496'>Fernando da Silva Santos<o:p></o:p></span></b></p><p class=MsoNormal style='margin-left:35.4pt'><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>CEO</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'> &#8211; Chief Executive Officer<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>NextBilling IP Solutions<o:p></o:p></span></b></p><p class=MsoNormal style='margin-left:35.4pt'><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'><o:p>&nbsp;</o:p></span></b></p><p class=MsoNormal style='margin-left:35.4pt'><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>SP: </span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>+55 (11) 3522-9200<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>RJ: </span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>+55 (21) 4063-8854<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>Tollfree:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'> 0800 580-9200<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'><a href="http://www.nextbilling.com.br/">http://www.nextbilling.com.br</a><o:p></o:p></span></p></div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:70.8pt'><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>De:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> <a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org">asteriskbrasil-bounces@listas.asteriskbrasil.org</a> [<a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org">mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org</a>] <b>Em nome de </b>Daniel Feliciano<br><b>Enviada em:</b> sexta-feira, 16 de agosto de 2013 02:38<br><b>Para:</b> asterisk<br><b>Assunto:</b> [AsteriskBrasil] Ramal prioritário<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:70.8pt'><o:p>&nbsp;</o:p></p><div><p class=MsoNormal style='margin-left:70.8pt'><span style='font-family:"Calibri","sans-serif"'>Pessoal,<o:p></o:p></span></p><div><p class=MsoNormal style='margin-left:70.8pt'><span style='font-family:"Calibri","sans-serif"'>estou inserindo um sistema de emergencia no asterisk onde tenho 2 ramais especificos que vao ligar para outro ramal central, esse ramal central é utilizado normalmente no asterisk, porem quando ele receber um ligacao de qualquer um desses ramais especificos gostaria que fosse dada prioridade para eles, se for preciso, derrubando a ligacao desse ramal central caso esteja em conversacao.<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:70.8pt'><span style='font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal style='margin-left:70.8pt'><span style='font-family:"Calibri","sans-serif"'>Paralelo a isso, para que acabe nao gerando dores de cabecas futuras de alguem ficar ligando varias vezes desse ramal de emergencia, gostaria de limitar o tempo entre uma chamada e outra, ou seja, liguei 1 vez, desliguei, só posso ligar novamente daqui a 1 minuto, por exemplo.&nbsp;<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:70.8pt'><span style='font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal style='margin-left:70.8pt'><span style='font-family:"Calibri","sans-serif"'>Acredito que seja algo com o set variable, com relacao ao tempo, ja para derrubar a ligacao e entrar em seguida, nao sei se é possivel...<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:70.8pt'><span style='font-family:"Calibri","sans-serif"'>Qualquer tipo de esclarecimento é bem vindo. Abs<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:70.8pt'><span style='font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal style='margin-left:70.8pt'><span style='font-family:"Calibri","sans-serif"'>Daniel<o:p></o:p></span></p></div></div></div></body></html>