Galera,<br><br>&nbsp;Venho pedir a ajuda de vcs.<br>&nbsp;Li várias mensagens aqui da lista mas estou com um problema no trunk iax da minha empresa e estou precisando solucioná-lo.<br>&nbsp;Aparece o erro: <br>


        

        
        
        
        
        
        

<p style="margin-bottom: 0cm;"><span>[Jul
17 11:47:25] NOTICE[4122]: chan_iax2.c:5054 register_verify: Peer
&#39;matriz&#39; is not dynamic (from <a href="http://10.2.33.241" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.2.33.241</a>)
</span></p>
<p style="margin-bottom: 0cm;"><span>[Jul
17 11:47:32] NOTICE[4124]: chan_iax2.c:7585 socket_process:
Registration of &#39;filial&#39; rejected: &#39;Registration Refused&#39; from:
&#39;<a href="http://10.2.33.241" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.2.33.241</a>&#39;
</span></p>
<br>Segue a minha configuração<br><br>


        

        
        
        
        
        
        

<p style="margin-bottom: 0cm;"><u><b>MATRIZ:</b></u></p>
<p style="margin-bottom: 0cm;">FAIXA DE RAMAL: 3000
(SIP)</p>
<p style="margin-bottom: 0cm;">IP DO ASTERISK:
<a href="http://10.2.33.241" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.2.33.241</a></p>

<p style="margin-bottom: 0cm; text-decoration: none;"><b>IAX</b></p>
<p style="margin-bottom: 0cm;">
[general]
</p>
<p style="margin-bottom: 0cm;">port=4569
</p>
<p style="margin-bottom: 0cm;">bandwidth=low
</p>
<p style="margin-bottom: 0cm;">register =&gt;
<a href="mailto:matriz:nova@10.2.33.242" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">matriz:nova@10.2.33.242</a>
</p>
<p style="margin-bottom: 0cm;">
</p>
<p style="margin-bottom: 0cm;">[matriz]
</p>
<p style="margin-bottom: 0cm;">type=friend
</p>
<p style="margin-bottom: 0cm;">username=matriz
</p>
<p style="margin-bottom: 0cm;">secret=nova
</p>
<p style="margin-bottom: 0cm;">auth=plaintext
</p>
<p style="margin-bottom: 0cm;">host=<a href="http://10.2.33.242" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.2.33.242</a>
</p>
<p style="margin-bottom: 0cm;">context=interno
</p>
<p style="margin-bottom: 0cm;">trunk=yes
</p>
<p style="margin-bottom: 0cm;">qualify=yes
</p>
<p style="margin-bottom: 0cm;">

</p>
<p style="margin-bottom: 0cm;">[filial]
</p>
<p style="margin-bottom: 0cm;">type=friend
</p>
<p style="margin-bottom: 0cm;">username=filial
</p>
<p style="margin-bottom: 0cm;">secret=nova
</p>
<p style="margin-bottom: 0cm;">auth=plaintext
</p>
<p style="margin-bottom: 0cm;">host=<a href="http://10.2.33.242" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.2.33.242</a>
</p>
<p style="margin-bottom: 0cm;">context=interno</p>

<p style="margin-bottom: 0cm; text-decoration: none;"><b>EXTENSIONS</b></p>
<p style="margin-bottom: 0cm;">
[globals]
</p>
<p style="margin-bottom: 0cm;">
TRUNKMAT=<a href="mailto:iax2/matriz@10.2.33.242" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">iax2/matriz@10.2.33.242</a>
</p>
<p style="margin-bottom: 0cm;">

</p>
<p style="margin-bottom: 0cm;">[internal]
</p>
<p style="margin-bottom: 0cm;">
exten =&gt;
3000,1,Dial(SIP/3000,30)
</p>
<p style="margin-bottom: 0cm;">exten =&gt;
3000,2,Hangup
</p>
<p style="margin-bottom: 0cm;">exten =&gt;
3001,1,Dial(SIP/3001,30)
</p>
<p style="margin-bottom: 0cm;">exten =&gt;
3001,2,Hangup
</p>
<p style="margin-bottom: 0cm;">exten =&gt;
_5.,1,Dial(SIP/callman01,30,r)
</p>
<p style="margin-bottom: 0cm;">include =&gt; interno
</p>
<p style="margin-bottom: 0cm;">
</p>
<p style="margin-bottom: 0cm;">[interno]
</p>
<p style="margin-bottom: 0cm;">
exten =&gt;
_4XXX,1,Answer
</p>
<p style="margin-bottom: 0cm;">exten =&gt;
_4XXX,2,Dial(${TRUNKMAT}/${EXTEN},40,Ttr)
</p>
<p style="margin-bottom: 0cm;">exten =&gt;
_4XXX,3,Hangup
</p>

<p style="margin-bottom: 0cm; text-decoration: none;"><b>RAMAL
SIP</b></p>
<p style="margin-bottom: 0cm;">[general]
</p>
<p style="margin-bottom: 0cm;">
port = 5060
</p>
<p style="margin-bottom: 0cm;">bindaddr = <a href="http://10.2.33.241" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.2.33.241</a>
</p>
<p style="margin-bottom: 0cm;">context = default
</p>
<p style="margin-bottom: 0cm;">
</p>
<p style="margin-bottom: 0cm;">[3000]
</p>
<p style="margin-bottom: 0cm;">type=friend
</p>
<p style="margin-bottom: 0cm;">secret=3000
</p>
<p style="margin-bottom: 0cm;">callerid = &quot;TI&quot;
&lt;3000&gt;
</p>
<p style="margin-bottom: 0cm;">host=dynamic
</p>
<p style="margin-bottom: 0cm;">canreinvite=no
</p>
<p style="margin-bottom: 0cm;">disallow=all
</p>
<p style="margin-bottom: 0cm;">allow=ulaw
</p>
<p style="margin-bottom: 0cm;">allow=alaw
</p>
<p style="margin-bottom: 0cm;">nat=yes
</p>
<p style="margin-bottom: 0cm;">context=internal
</p>
<p style="margin-bottom: 0cm;">
</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><u><b>FILIAL:</b></u></p>
<p style="margin-bottom: 0cm;">FAIXA DE RAMAL: 4000
(SIP)</p>
<p style="margin-bottom: 0cm;">IP DO ASTERISK:
<a href="http://10.2.33.242" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.2.33.242</a></p>

<p style="margin-bottom: 0cm;"><b>IAX</b></p>
<p style="margin-bottom: 0cm;">[general]
</p>
<p style="margin-bottom: 0cm;">port=4569
</p>
<p style="margin-bottom: 0cm;">bandwidth=low
</p>
<p style="margin-bottom: 0cm;">register =&gt;
<a href="mailto:filial:nova@10.2.33.241" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">filial:nova@10.2.33.241</a>
</p>
<p style="margin-bottom: 0cm;">
</p>
<p style="margin-bottom: 0cm;">
[filial]
</p>
<p style="margin-bottom: 0cm;">username=filial
</p>
<p style="margin-bottom: 0cm;">type=friend
</p>
<p style="margin-bottom: 0cm;">secret=nova
</p>
<p style="margin-bottom: 0cm;">host=<a href="http://10.2.33.241" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.2.33.241</a>
</p>
<p style="margin-bottom: 0cm;">context=ramais
</p>
<p style="margin-bottom: 0cm;">trunk=yes
</p>
<p style="margin-bottom: 0cm;">qualify=yes
</p>
<p style="margin-bottom: 0cm;">

</p>
<p style="margin-bottom: 0cm;">[matriz]
</p>
<p style="margin-bottom: 0cm;">username=matriz
</p>
<p style="margin-bottom: 0cm;">type=peer
</p>
<p style="margin-bottom: 0cm;">secret=nova
</p>
<p style="margin-bottom: 0cm;">host=<a href="http://10.2.33.241" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.2.33.241</a>
</p>
<p style="margin-bottom: 0cm;">context=ramais
</p>
<p style="margin-bottom: 0cm;">trunk=yes
</p>
<p style="margin-bottom: 0cm;">qualify=yes
</p>

<p style="margin-bottom: 0cm;"><b>EXTENSIONS</b></p>

<p style="margin-bottom: 0cm;">[globals]
</p>
<p style="margin-bottom: 0cm;">
TRUNKFIL=<a href="mailto:IAX2/filial@10.2.33.241" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">IAX2/filial@10.2.33.241</a>
</p>
<p style="margin-bottom: 0cm;">

</p>
<p style="margin-bottom: 0cm;">[internal]
</p>
<p style="margin-bottom: 0cm;">exten =&gt;
4000,1,Dial(SIP/4000,30)
</p>
<p style="margin-bottom: 0cm;">exten =&gt;
4000,2,Hangup
</p>
<p style="margin-bottom: 0cm;">exten =&gt;
4001,1,Dial(SIP/4001,30)
</p>
<p style="margin-bottom: 0cm;">exten =&gt;
4001,2,Hangup
</p>
<p style="margin-bottom: 0cm;">include =&gt; ramais
</p>
<p style="margin-bottom: 0cm;">
</p>
<p style="margin-bottom: 0cm;">[ramais]
</p>
<p style="margin-bottom: 0cm;">exten =&gt;
_3XXX,1,Answer
</p>
<p style="margin-bottom: 0cm;">exten =&gt;
_3XXX,2,Dial(${TRUNKFIL}/${EXTEN},40,Ttr)
</p>
<p style="margin-bottom: 0cm;">exten =&gt;
_3XXX,3,Hangup
</p>

<p style="margin-bottom: 0cm;"><b>SIP</b></p>

<p style="margin-bottom: 0cm;"><span>[general]
</span></p>
<p style="margin-bottom: 0cm;"><span>
port
= 5060
</span></p>
<p style="margin-bottom: 0cm;"><span>bindaddr
= <a href="http://10.2.33.242" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.2.33.242</a>
</span></p>
<p style="margin-bottom: 0cm;"><span>context
= default
</span></p>
<p style="margin-bottom: 0cm;"><span>
</span></p>
<p style="margin-bottom: 0cm;"><span>[4000]
</span></p>
<p style="margin-bottom: 0cm;"><span>type=friend
</span></p>
<p style="margin-bottom: 0cm;"><span>secret=4000
</span></p>
<p style="margin-bottom: 0cm;"><span>callerid
= &quot;Deivison - TI&quot; &lt;4000&gt;
</span></p>
<p style="margin-bottom: 0cm;"><span>host=dynamic
</span></p>
<p style="margin-bottom: 0cm;"><span>canreinvite=no
</span></p>
<p style="margin-bottom: 0cm;"><span>context=internal
</span></p>
<p style="margin-bottom: 0cm;"><span>disallow=all
</span></p>
<p style="margin-bottom: 0cm;"><span>allow=ulaw
</span></p>
<p style="margin-bottom: 0cm;"><span>allow=alaw
</span></p>
<p style="margin-bottom: 0cm;"><span>nat=yes
</span></p>
<br><br>se alguém puder me ajuda.<br><br>abraços<br><br>Leonardo Degobi<br>