<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 69.6pt 70.85pt 69.6pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=PT-BR link=blue vlink=purple>
<div class=Section1>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Daniel,<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>O que interessa é o digimap e o timeout.<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Faz tempo que alterei isso, então não lembro mais como formata as opções,
mas o que usamos aqui é:<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> <dialplan><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> <digitmap dialplan.digitmap="x.T"
dialplan.digitmap.timeOut="2"/><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> </dialplan><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Ou seja, aceita qualquer coisa, depois de 2 segundos manda para o
asterisk e trato lá.<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Para criar um específico direto no Polycom, crie as máscaras (ex para
DDD: 0xxxxxxxxxxT) e as separe com |, depois mande para a lista.<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Para os interessados, recomendo Polycom a todos.<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Att,<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Rafael!<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;
padding:0cm 0cm 1.0pt 0cm'>
<p class=MsoPlainText style='border:none;padding:0cm'><font size=2
face="Courier New"><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
</div>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>A título de conhecimento, você não precisa alterar o sip.cfg, você pode
criar um novo arquivo com somente suas alterações, e no arquivo de cada
telefone alterar o CONFIG_FILES:<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span lang=EN-US
style='font-size:10.0pt'><APPLICATION APP_FILE_PATH="sip.ld"
CONFIG_FILES="<b><font color=blue><span style='color:blue;font-weight:
bold'>SEUTELEFONE.cfg</span></font></b>, phone1.cfg, <b><font color=blue><span
style='color:blue;font-weight:bold'>SUAEMPRESA.cfg</span></font></b>,
sip.cfg" ...><o:p></o:p></span></font></p>
<div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;
padding:0cm 0cm 1.0pt 0cm'>
<p class=MsoPlainText style='border:none;padding:0cm'><font size=2
face="Courier New"><span lang=EN-US style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText style='border:none;padding:0cm'><font size=2
face="Courier New"><span lang=EN-US style='font-size:10.0pt'><o:p> </o:p></span></font></p>
</div>
<p class=MsoPlainText><font size=2 face="Courier New"><span lang=EN-US
style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Para escolher um tipo de toque pelo Asterisk:<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'> </span></font><font
size=1 face="Courier New"><span lang=EN-US style='font-size:9.0pt;font-family:
"Courier New"'><voIpProt><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'> <SIP><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'> <b><font
color=blue><span style='color:blue;font-weight:bold'><alertInfo
voIpProt.SIP.alertInfo.2.value="Bellcore-r2"
voIpProt.SIP.alertInfo.2.class="12"/><o:p></o:p></span></font></b></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'> </SIP><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face="Courier New"><span lang=EN-US
style='font-size:9.0pt'> </voIpProt></span></font><span lang=EN-US><o:p></o:p></span></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span lang=EN-US
style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'>
<sound_effects><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'>
<ringType><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=1 color=blue
face="Courier New"><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";
color:blue;font-weight:bold'> <BELLCORE_R2
se.rt.12.name="Bellcore-r2" se.rt.12.type="ring"
se.rt.12.ringer="3" se.rt.12.callWait="6"
se.rt.12.mod="1"/><o:p></o:p></span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'> </span></font><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'></ringType><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'> </sound_effects><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Aí você manda o Bellcore-r2 via sip headers pelo asterisk.<o:p></o:p></span></font></p>
<p class=MsoPlainText><b><font size=1 color=blue face="Courier New"><span
lang=EN-US style='font-size:9.0pt;color:blue;font-weight:bold'>exten => 100,1,SIPAddHeader(Alert-Info:
Bellcore-r2</span></font></b><font size=1><span lang=EN-US style='font-size:
9.0pt'>)<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face="Courier New"><span lang=EN-US
style='font-size:9.0pt'><o:p> </o:p></span></font></p>
<div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;
padding:0cm 0cm 1.0pt 0cm'>
<p class=MsoPlainText style='border:none;padding:0cm'><font size=2
face="Courier New"><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
</div>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Para usar um servidor de horas e alterar o horário de verão (-10800 segundos
é -3 horas)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'> <TCP_IP><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'> <SNTP
tcpIpApp.sntp.address="<b><font color=blue><span style='color:blue;
font-weight:bold'>X.X.X.X</span></font></b>"
tcpIpApp.sntp.gmtOffset="<b><font color=blue><span style='color:blue;
font-weight:bold'>-10800"</span></font></b><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'> tcpIpApp.sntp.daylightSavings.enable="1"
tcpIpApp.sntp.daylightSavings.fixedDayEnable="<b><font color=blue><span
style='color:blue;font-weight:bold'>1</span></font></b>" <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'> </span></font><font
size=1 face="Courier New"><span lang=EN-US style='font-size:9.0pt;font-family:
"Courier New"'>tcpIpApp.sntp.daylightSavings.start.month="<b><font
color=blue><span style='color:blue;font-weight:bold'>10</span></font></b>"<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'> tcpIpApp.sntp.daylightSavings.start.date="<b><font
color=blue><span style='color:blue;font-weight:bold'>18</span></font></b>"
<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'> tcpIpApp.sntp.daylightSavings.start.time="<b><font
color=blue><span style='color:blue;font-weight:bold'>0</span></font></b>"<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'> tcpIpApp.sntp.daylightSavings.stop.month="<b><font
color=blue><span style='color:blue;font-weight:bold'>2</span></font></b>" <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'> </span></font><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>tcpIpApp.sntp.daylightSavings.stop.date="<b><font
color=blue><span style='color:blue;font-weight:bold'>21</span></font></b>"
<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'> </span></font><font
size=1 face="Courier New"><span lang=EN-US style='font-size:9.0pt;font-family:
"Courier New"'>tcpIpApp.sntp.daylightSavings.stop.time="<b><font
color=blue><span style='color:blue;font-weight:bold'>0</span></font></b>"/><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=1 face="Courier New"><span lang=EN-US
style='font-size:9.0pt'> </TCP_IP></span></font><span lang=EN-US><o:p></o:p></span></p>
<div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;
padding:0cm 0cm 1.0pt 0cm'>
<p class=MsoPlainText style='border:none;padding:0cm'><font size=2
face="Courier New"><span lang=EN-US style='font-size:10.0pt'><o:p> </o:p></span></font></p>
</div>
<p class=MsoPlainText><font size=2 face="Courier New"><span lang=EN-US
style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span lang=EN-US
style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span lang=EN-US
style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>-----Mensagem original-----<br>
De: asteriskbrasil-bounces@listas.asteriskbrasil.org
[mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org] Em nome de Daniel
Checchia (daniel)<br>
Enviada em: quinta-feira, 5 de maio de 2011 15:55<br>
Para: <st1:PersonName w:st="on">asteriskbrasil@listas.asteriskbrasil.org</st1:PersonName><br>
Assunto: [AsteriskBrasil] Asterisk e Polycom (sip.cfg)</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Pessoal,<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Alguém com aparelhos polycom IP SIP poderia me ajudar?<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Quando digito o número e pressiono a tecla de dial, minhas ligações
(DDD e DDI) funcionam normalmente; Quando teclo <new call>, o equivalente
a tirar o fone do gancho e começo a discar (tanto DDI como DDD), ele corta e
diz que não foi possível completar a ligação.<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Olhando na internet e na documentação, identifiquei que no sip.cfg é
que há este controle, mas não consegui chegar em uma configuração que atenda
nossas necessidades.<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>O que tenho no arquivo:<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><dialplan dialplan.impossibleMatchHandling="0" dialplan.removeEndOfDial="1"
dialplan.applyToUserSend="1" dialplan.applyToUserDial="1"
dialplan.applyToCallListDial="0"
dialplan.applyToDirectoryDial="0"><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> <digitmap
dialplan.digitmap="[2-9]11|0T|011xxx.T|[0-1][2-9]xxxxxxxxx|[2-9]xxxxxxxxx|[2-9]xxxT"
dialplan.digitmap.timeOut="3|3|3|3|3|3"/><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> <routing><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> <server dialplan.routing.server.1.address=""
dialplan.routing.server.1.port="5060"/><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> <emergency
dialplan.routing.emergency.1.value="190"
dialplan.routing.emergency.1.server.1="1"/><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> </routing><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'> </dialplan><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Alguém já passou por algo similar no SIP.CFG?<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Daniel Checchia<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>Gerente de Infra-estrutura<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>(21) 8355-0552<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>(11) 8305-7387<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>daniel@grupoxango.com<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>