<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Galera seguinte, não estou conseguindo receber ligação de 2 (dois) sip, só funciona 1 deles, ou seja, só funciona o ultimo que for apresentado no sip.conf<BR>
&nbsp;<BR>
&nbsp;<BR>
se alguem poder me dar uma luz!<BR><BR>
Obrigado!<BR>
&nbsp;<BR>
&nbsp;<BR>
Oque eu tenho no sip.conf é o seguinte:<BR>
&nbsp;<BR>
[general] ; configurações básicas do protocolo<BR>context=default ; Context padrão para recebimento de chamadas<BR>bindport=5060 ; Porta UDP (A padrão é 5060)<BR>bindaddr=0.0.0.0 ; Endereço IP para escutar (0.0.0.0 Escuta todos)<BR>srvlookup=yes<BR>
&nbsp;<BR>
# liga com servidores sip<BR>
register=gregorye:senha@vono.net.br:5060/gregorye<BR>register=user1:senha@vono.net.br:5060/user1<BR>register=user2:senha@vono.net.br:5060/user2<BR><BR>
[gregorye]<BR>type=peer<BR>username=gregorye<BR>secret=senha<BR>domain=vono.net.br<BR>fromuser=gregorye<BR>fromdomain=vono.net.br<BR>host=vono.net.br<BR>insecure=very<BR>qualify=no<BR>port=5060<BR>nat=no<BR>allow=all<BR>dtmfmode=rfc2833<BR>context=rotadesaida<BR>reinvite=no<BR>canreinvite=no<BR><BR>
[user1]<BR>type=peer<BR>username=user1<BR>secret=senha<BR>domain=vono.net.br<BR>fromuser=user1<BR>fromdomain=vono.net.br<BR>host=vono.net.br<BR>insecure=very<BR>qualify=no<BR>port=5060<BR>nat=no<BR>allow=all<BR>dtmfmode=rfc2833<BR>context=recebe_fixo<BR>reinvite=no<BR>canreinvite=no<BR>
&nbsp;<BR>
[user2]<BR>type=peer<BR>username=user2<BR>secret=senha<BR>domain=vono.net.br<BR>fromuser=user2<BR>fromdomain=vono.net.br<BR>host=vono.net.br<BR>insecure=very<BR>qualify=no<BR>port=5060<BR>nat=yes<BR>allow=all<BR>dtmfmode=rfc2833<BR>context=recebe_41<BR>reinvite=no<BR>canreinvite=no<BR>
&nbsp;<BR>
[gregorym]<BR>type=friend<BR>callerid = "Gregory MOBILE" &lt;22&gt;<BR>username=gregorym<BR>secret=senha<BR>
host= dynamic<BR>nat=yes<BR>canreinvite=no<BR>context=rotadesaida<BR><BR><BR><BR>
<DIV>já no extensions.conf tenho o seguinte:</DIV>
<DIV>&nbsp;</DIV>
<DIV>[datacenter]<BR>include =&gt; datacenter</DIV>
<DIV>exten =&gt; 25,1,Dial(SIP/gregorym,25)<BR>exten =&gt; 25,2,Hangup</DIV>
<DIV>&nbsp;</DIV>
<DIV># VONO-user1 ENTRADA<BR>[recebe_fixo]<BR>exten =&gt; user1,1,Goto(rotadeentrada,s,1)<BR>[rotadeentrada]<BR>exten =&gt; s,1,Dial(SIP/gregorym,50)</DIV>
<DIV>&nbsp;</DIV>
<DIV># VONO-user2 - ENTRADA<BR>[recebe_41]<BR>exten =&gt; user2,1,Goto(rotadeentrada2,s,1)<BR>[rotadeentrada2]<BR>exten =&gt; s,1,Dial(SIP/gregorym,50)<BR><BR># VONO-GREGORYE - SAIDA<BR>[rotadesaida]</DIV>
<DIV>include =&gt; datacenter<BR>exten =&gt; _252.,1,Dial(SIP/${EXTEN:3}@gregorye,50,rT)<BR>exten =&gt; _252.,n,Hangup<BR></DIV>
<DIV>&nbsp;</DIV><br /><hr />Veja mapas e encontre as melhores rotas para fugir do trânsito com o Live Search Maps! <a href='http://www.livemaps.com.br/index.aspx?tr=true' target='_new'>Experimente já!</a></body>
</html>