e como fica a extension para pegar a linha tmais e utilizar ?<br><br>Supondo que eu quero discar 0 para pegar linha,<br><br>Está certo isso ?<br><br>exten => 0,1,Dial(SIP/${EXTEN}@tmais,90,tr)<br>exten => 0,2,Hangup<br>
<br><br>abs,<br><br><div><span class="gmail_quote">2005/12/13, Luiz Henrique Gomes <<a href="mailto:lhgomes@treynet.com.br">lhgomes@treynet.com.br</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>Para receber vc tem que substituir o <font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US">
type=peer por
</span></font></span></font><font face="Arial"><font color="#000080"><font size="2">t<span>ype=friend e colocar no
extensions.conf:</span></font></font></font></div>
<div dir="ltr" align="left"><font face="Arial"><font color="#000080"><font size="2"><span></span></font></font></font> </div>
<div dir="ltr" align="left"><font face="Arial"><font color="#000080"><font size="2"><span>[ext-did]<br>exten =>
alias,1,SetVar(FROM_DID=alias)<br>exten =>
alias,2,Dial(SIP/2001)</span></font></font></font></div>
<div dir="ltr" align="left"><font face="Arial"><font color="#000080"><font size="2"><span></span></font></font></font> </div>
<div dir="ltr" align="left"><font face="Arial"><font color="#000080"><font size="2"><span><font color="#0000ff">substituir o <font face="Arial"><font color="#000080"><font size="2"><span>alias pelo seu usuário
da Tmais.</span></font></font></font></font></span></font></font></font></div>
<div dir="ltr" align="left"><font face="Arial"><font color="#000080"><font size="2"><span><font color="#0000ff"><font face="Arial"><font color="#000080"><font size="2"><span>
<div dir="ltr" align="left"><font face="Arial"><font color="#000080"><font size="2"><span><font color="#0000ff">substituir o <font face="Arial"><font color="#000080"><font size="2"><span>SIP/2001 pelo ramal a
ser
chamado.</span></font></font></font></font></span></font></font></font></div></span></font></font></font></font></span></font></font></font></div>
<div dir="ltr" align="left"><font face="Arial"><font color="#000080"><font size="2"><span><font color="#0000ff"><font face="Arial"><font color="#000080"><font size="2"><span></span></font></font></font> </font></span></font>
</font></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"></font><font color="#0000ff" face="Arial" size="2"></font><font color="#0000ff" face="Arial" size="2"></font><font color="#0000ff" face="Arial" size="2">
</font><font color="#0000ff" face="Arial" size="2"></font><br></div>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b>
<a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asteriskbrasil-bounces@listas.asteriskbrasil.org</a>
[mailto:<a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asteriskbrasil-bounces@listas.asteriskbrasil.org</a>] <b>On Behalf Of
</b>Marco Antonio Nogueira de Sá<br><b>Sent:</b> Tuesday, December 13, 2005 3:07
PM<br><b>To:</b> 'JOÃO LOURENÇO ESPOLAOR JR';
<a href="mailto:asteriskbrasil@listas.asteriskbrasil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asteriskbrasil@listas.asteriskbrasil.org</a><br><b>Subject:</b> [AsteriskBrasil]
RES: registro da linha tmais<br></font><br></div><div><span class="e" id="q_10824f7c9b1b3950_1">
<div></div>
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;">João,</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;"></span></font> </p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;">Tente a seguinte
configuração</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;"></span></font> </p>
<p><b><font color="navy" face="Arial" size="3"><span style="font-weight: bold; font-size: 12pt; color: navy; font-family: Arial;" lang="EN-US">sip.conf</span></font></b></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US"></span></font> </p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US">register=>
<a href="http://alias:password:alias@sip.tmais.com.br/alias" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">alias:password:alias@sip.tmais.com.br/alias</a></span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US"></span></font> </p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US">[tmais]</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US">type=peer</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US">host=<a href="http://sip.tmais.com.br" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
sip.tmais.com.br</a></span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;">secret=password
</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;">username=alias</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;">fromuser=alias</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US">auth=md5</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US">dtmfmode=rfc2833</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US">insecure=very</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US">fromdomain=<a href="http://sip.tmais.com.br" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
sip.tmais.com.br</a></span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US">context=entrada</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US">qualify=yes</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US"></span></font> </p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US"></span></font> </p>
<p><b><font color="navy" face="Arial" size="3"><span style="font-weight: bold; font-size: 12pt; color: navy; font-family: Arial;" lang="EN-US">extensions.conf</span></font></b></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US"></span></font> </p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-US">exten =>
_X.,1,Dial(SIP/${EXTEN}@tmais,90,tr)
</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;">exten =>
_X.,2,Hangup</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;"></span></font> </p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;">Note que no campo acima
(exten=> _X.,1,Dial(SIP/${EXTEN}@<b><span style="font-weight: bold;">tmais,</span></b>90,tr)) faz referencia a <b><span style="font-weight: bold;">tmais </span></b> que esta definida no
sip.conf.</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;"></span></font> </p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;"></span></font> </p>
<div>
<p><b><font color="navy" face="pala" size="2"><span style="font-weight: bold; font-size: 10pt; color: navy; font-family: pala;">Marco
Antonio Nogueira de Sá</span></font></b></p>
<p><font color="navy" face="pala" size="2"><span style="font-size: 10pt; color: navy; font-family: pala;">Engenheiro de
Telecomunicações</span></font></p>
<p><font color="navy" face="pala" size="2"><span style="font-size: 10pt; color: navy; font-family: pala;">e-mail:
</span></font><font color="navy" size="2"><span style="font-size: 10pt; color: navy;"><a href="mailto:mnogueira@tmais.com.br" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font face="pala"><span style="font-family: pala;">
mnogueira@tmais.com.br</span></font></a></span></font><font color="navy" face="pala" size="2"><span style="font-size: 10pt; color: navy; font-family: pala;"> </span></font></p>
<p><font color="navy" face="pala" size="2"><span style="font-size: 10pt; color: navy; font-family: pala;">Engenharia de acesso –
Tecnologia VoIP </span></font></p>
<p><font color="navy" face="pala" size="2"><span style="font-size: 10pt; color: navy; font-family: pala;">Telefone: 3365-1080 ou
2626-1080 <strong><b><font face="pala"><span style="font-family: pala;">ramal
1131</span></font></b></strong></span></font></p>
<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;"><a href="http://www.tmais.com.br" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><strong><b><font face="pala" size="2">
<span style="font-size: 10pt; font-family: pala; text-decoration: none;">www.tmais.com.br</span></font></b></strong></a></span></font><strong><b><font color="blue" face="Times New Roman" size="2"><span style="font-size: 10pt; color: blue;">
</span></font></b></strong></p></div>
<p style="margin-left: 35.4pt;"><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">-----Mensagem
original-----<br><b><span style="font-weight: bold;">De:</span></b>
<a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asteriskbrasil-bounces@listas.asteriskbrasil.org</a>
[mailto:<a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asteriskbrasil-bounces@listas.asteriskbrasil.org</a>] <b><span style="font-weight: bold;">
Em nome de </span></b>JOÃO LOURENÇO ESPOLAOR
JR<br><b><span style="font-weight: bold;">Enviada em:</span></b> terça-feira, 13
de dezembro de 2005 09:57<br><b><span style="font-weight: bold;">Para:</span></b>
<a href="mailto:asteriskbrasil@listas.asteriskbrasil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asteriskbrasil@listas.asteriskbrasil.org</a><br><b><span style="font-weight: bold;">Assunto:
</span></b> [AsteriskBrasil] registro da linha
tmais</span></font></p>
<p style="margin-left: 35.4pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"></span></font> </p>
<div>
<p style="margin-left: 35.4pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"></span></font> </p></div>
<div>
<p style="margin-left: 35.4pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"></span></font> </p></div>
<div>
<p style="margin-left: 35.4pt;"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Meus caros alguem já registrou uma
linha tmais , estou com um problema , registro tudo bem faço ligação, mas não
consigo receber,, se alguem tiver funcionando poderia me passar a
forma do registro e da configuração sip.conf</span></font></p></div>
<div>
<p style="margin-left: 35.4pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"></span></font> </p></div>
<div>
<p style="margin-left: 35.4pt;"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">abraço</span></font></p></div>
<div>
<p style="margin-left: 35.4pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"></span></font> </p></div>
<div>
<p style="margin-left: 35.4pt;"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">João</span></font></p></div></div>
</span></div><br>_______________________________________________<br>LIsta de discussões AsteriskBrasil.org<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">
AsteriskBrasil@listas.asteriskbrasil.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
</a><br><br>_______________________________________________<br>Acesse o wiki AsteriskBrasil.org:<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.asteriskbrasil.org" target="_blank">http://www.asteriskbrasil.org
</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>abraços,<br><br>Roberto Vinicius Aghazarian