<p>Companheiro, boa tarde!</p>
<p>Esta é minha primeira ajuda que posto aqui neste fórum.</p>
<p>Espero que ajude.</p>
<p>Passei pelo mesmo problema e consegui resolver da seguinte maneira:</p>
<p>sip.conf:</p>
<p>__________________________________________________</p>
<p>[general]<br />bindport=5060<br />externalip=xxx.xxx.xxx.xxx ;seu ip na internet</p>
<p>localnet=xxx.xxx.xxx.xxx/24 ;sua rede local<br />permit=xxx.xxx.xxx.xxx/24 ;sua rede local<br />disallow=all<br />allow=g729<br />allow=gsm<br />language=pt_BR<br />srvlookup=yes<br />register=&gt;loginvono:senhavono@vono.net.br:5060/194062xxxx<br />dtmfmode=rfc2833<br /><br />[194062xxxx]<br />type=peer<br />username=loginvono    <br />secret=senhavono<br />domain=vono.net.br<br />fromuser=loginvono<br />fromdomain=vono.net.br<br />host=vono.net.br<br />insecure=invite,port<br />disallow=all<br />allow=g729<br />qualify=no<br />port=5060<br />context=from-vono<br />canreinvite=no<br />callerid=194062xxxx<br /><br />[template](!)<br />type=friend<br />context=rotadesaida<br />host=dynamic<br />insecure=invite,port<br />canreinvite=no<br />disallow=all<br />allow=gsm<br />allow=g729<br /><br />[9001]<br /><br />type=peer<br />username=9001<br />secret=1234<br />domain=127.0.0.1<br />fromuser=9001<br />fromdomain=127.0.0.1<br />host=127.0.0.1<br />insecure=invite,port<br /
 >qualify=no<br />port=5060<br />context=entrada<br />canreinvite=no<br /><br />[217](template)<br />secret=1234<br />mailbox=217<br /><br />[254](template)<br />secret=1234<br />mailbox=254<br /><br />[213](template)<br />secret=1234<br />mailbox=213<br /><br />[230](template)<br />secret=1234<br />mailbox=230<br /><br />[222](template)<br />secret=1234<br />mailbox=222<br /><br />[250](template)<br />secret=1234<br />mailbox=250<br /><br />[235](template)<br />secret=1234<br />mailbox=235</p>
<p>_____________________________________</p>
<p>extensions.conf:</p>
<p>____________________________________</p>
<p>[general]<br />autofallthrough = yes<br /><br />[from-vono]<br />exten =&gt; _.,1,Set(NUMENTRADA=${SIP_HEADER(X-Vono-DDR)})<br />exten =&gt; _.,n,GotoIf($["${NUMENTRADA}" = ""]?nop)<br />exten =&gt; _.,n,Goto(from-trunk,${NUMENTRADA},1)<br />exten =&gt; _.,n(nop),Goto(from-trunk,${EXTEN},1)<br /><br />[from-trunk]<br />exten=&gt;194062xxxx,n,Set(TIMEOUT(digit=2))<br />exten=&gt;194062xxxx,n,Set(TIMEOUT(response=4))<br />exten=&gt;194062xxxx,1,Dial(SIP/9001)<br /><br />[entrada]<br />exten=&gt;9001,1,goto(menu,s,1)<br /><br />[menu]<br />exten=&gt;s,1,background(ura)<br />exten=&gt;3,1,goto(vendas,s,1)<br />exten=&gt;4,1,goto(assistencia,s,1)<br />exten=&gt;5,1,goto(compras,s,1)<br />exten=&gt;6,1,goto(financeiro,s,1)<br />exten=&gt;7,1,goto(pcp,s,1)<br />exten=&gt;8,1,goto(rh,s,1)<br />exten=&gt;i,1,dial(sip/254,20,tT)<br />exten=&gt;t,1,dial(sip/254,20,tT)<br />include=&gt;ramais<br /><br />[vendas]<br />exten=&gt;s,1,dial(sip/220,20,tT)<br /><br />[assistencia]<br />exte
 n=&gt;s,1,dial(sip/212,20,tT)<br /><br />[compras]<br />exten=&gt;s,1,dial(sip/254,20,tT)<br /><br />[financeiro]<br />exten=&gt;s,1,dial(sip/253,20,tT)<br /><br />[pcp]<br />exten=&gt;s,1,dial(sip/222,20,tT)<br /><br />[rh]<br />exten=&gt;s,1,dial(sip/255,20,tT)<br /><br />[ramais]<br />exten=&gt;_2XX,1,Dial(SIP/${EXTEN},10,rtT)<br /><br />[rotadesaida]<br /><br />include=&gt;ramais<br />exten=&gt;_XXXXXXXX,1,Dial(SIP/${EXTEN}@194062xxxx,50,rtT)</p>
<p>_________________________________________</p>
<p>Capisce???</p>
<p>E viva a Croácia campeã da copa do mundo de 2010!!!</p>
<p> </p>
<p>José Rapadura<br />Violeiro<br />MSN: zerapadura@uol.com.br</p>
<p><br /><br />Em 26/08/2009 12:20, <strong><span>Eduardo Carrilho Jr &lt; educarrilhojr@gmail.com &gt;</span></strong> escreveu:</p>
<blockquote style="border-left: 2px solid #6868cc; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br />
<p>Bom dia Senhores,</p>
<p>Estou com um problema que não consigo resolver.</p>
<p>Tenho um ramal com PAP2, e toda vez que eu vou fazer uma ligação eu recebo tom de ocupado</p>
<p>No asterisk aparece esse log.</p>
<p>[Aug 26 11:48:04] WARNING[2423]: rtp.c:1997 ast_rtp_settos: Unable to set TOS to 184<br />[Aug 26 11:48:05] NOTICE[2423]: chan_sip.c:14383 handle_request_invite: Call from '1000' to extension '026324409' rejected because extension not found.</p>
<p>_____</p>
<p>sip_custom.conf</p>
<p>[GENERAL]<br />register=<a href="http://loginvono:senhavono@vono.net.br:5060/loginvono" target="_blank">loginvono:senhavono@vono.net.br:5060/loginvono</a></p>
<p>[1000]<br />username=1000<br />secret=1000<br />type=friend<br />host=dynamic<br />callerid=1000 &lt;1000&gt;<br />context=ext-local</p>
<p>[loginvono]<br />type=peer<br />username=loginvono<br />secret=senhavono<br />fromuser=loginvono<br />fromdomain=<a href="http://vono.net.br" target="_blank">vono.net.br</a><br />context=gvt<br />disallow=all<br />allow=alaw<br />allow=ilbc<br />allow=ulaw<br /> host=<a href="http://vono.net.br" target="_blank">vono.net.br</a><br />insecure=very<br />qualify=no<br />port=5060<br />aut=md5<br />nat=yes<br />canreinvite=no<br />dtmfmode=rfc2833</p>
<p>-----------</p>
<p>extensions_custom.conf</p>
<p>[ext-local]<br />exten =&gt; 1000,1,Dial(SIP/1000,30)<br />exten =&gt; 1000,n,Hangup()</p>
<p>exten =&gt; _0.,1,Dial(<a href="../../../undefined//compose?to=SIP" target="_blank">SIP/${EXTEN}@loginvono,90,rT</a>)</p>
<p>[gvt]<br />exten =&gt; digitalway,1,Dial(SIP/1000,20)<br />exten =&gt; digitalway,2,Hangup</p>
<p>_____________________</p>
<p>sip show peers<br />Name/username              Host            Dyn Nat ACL Port     Status          <br />loginvono/loginvono      201.86.87.5          N      5060     Unmonitored     <br />1000/1000                  192.168.0.196    D   N      5060     OK (17 ms)      <br /> 2 sip peers [Monitored: 1 online, 0 offline Unmonitored: 1 online, 0 offline]</p>
<br /></blockquote>