<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 HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Pr\00E9-formata\00E7\00E3o HTML Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.Pr-formataoHTMLChar
        {mso-style-name:"Pr\00E9-formata\00E7\00E3o HTML Char";
        mso-style-priority:99;
        mso-style-link:"Pr\00E9-formata\00E7\00E3o HTML";
        font-family:Consolas;}
span.EstiloDeEmail19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</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=blue vlink=purple>
<div class=Section1>
<div>
<p class=MsoNormal>buenas caros...<br>
configurei 2 ramais no asterisk para fazer um teste, segue a .conf do sip:<o:p></o:p></p>
<pre>general]<br>
port=5060<br>
bindaddr=<a href="http://192.168.1.211">192.168.1.211</a><br>
srvlookup=yes<br>
context=default<br>
<br>
<o:p></o:p></pre><pre>allow=all<br>
<br>
[8000]<br>
username=8000<br>
type=friend<br>
secret=8000<br>
record_out=Adhoc<br>
record_in=Adhoc<br>
qualify=no<br>
port=5060<br>
nat=no<br>
mail=8000@device<br>
host=dymamic<br>
dtmfmode=rfc2833<br>
context=outline<br>
<br>
<o:p></o:p></pre><pre>canreinvite=no<br>
callerid=8000 <8000><br>
<br>
<br>
<br>
[8001]<br>
username=8001<br>
type=friend<br>
secret=8001<br>
record_out=Adhoc<br>
record_in=Adhoc<br>
qualify=no<br>
port=5060<br>
nat=no<br>
mail=8001@device<br>
host=dymamic<br>
<br>
<o:p></o:p></pre><pre>dtmfmode=rfc2833<br>
context=outline<br>
canreinvite=no<br>
callerid=8001 <8001><o:p></o:p></pre>
<p class=MsoNormal style='margin-bottom:12.0pt'>e o extensions<o:p></o:p></p>
<pre>[default]<br>
exten=>9000,1,Answer()<br>
exten=>9000,2,Playback(demo-thanks)<br>
exten=>9000,3,hangup<br>
<br>
<o:p></o:p></pre>
<p class=MsoNormal><br>
quando eu dou um sip show peers no cli nao aparece nada,<br>
<br>
slackware*CLI> sip show peers<br>
Name/username
Host Dyn Nat
ACL Port
Status
<br>
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]<br>
<br>
mas, quando eu tento discar de um numero para o outro aparece o seguinte no
cli:<br>
"[Oct 9 13:03:58] NOTICE[2582]: chan_sip.c:14035
handle_request_invite: Call from '8000' to extension '8001' rejected because
extension not found."<br>
<br>
<br>
gostaria de saber se falta alguma config pra conseguir fazer esse teste...<br>
abs.<o:p></o:p></p>
</div>
</div>
</body>
</html>