Primeiro, ambos softfones estão usando a mesma codec ? Abraços.
Em 12/01/06, Marcos Abadi <marcosabadi em gmail.com> escreveu: > > Olá pessoal instalei a última versão do asterisk home e configurei > > os arquivos sip.conf e extensions.conf só para fazer ligações voip de > ramal para ramal > > usando o softfone X-lite mas quando disco para o ramal desejando dá uma > mensagem de erro no X-lite > > "Call Failed: 404 Not Found" e fica dando um sinal de ocupado. O que > poderá ser....???? > > Meu sip.conf > > ; Note: If your SIP devices are behind a NAT and your Asterisk > ; server isn't, try adding "nat=1" to each peer definition to > ; solve translation problems. > > [general] > > port = 5060 ; Port to bind to (SIP is 5060) > bindaddr = 200.198.xxx.xxx ; Address to bind to (all addresses on > machine) > localnet = 200.198.xxx.xxx /255.255.255.240 ; trocar pelo range da sua > rede > disallow=all ; Desabilita todos os codecs > allow=ulaw ; habilita o codec g711u > allow=alaw > allow=gsm > context=default ; Send unknown SIP callers to this context > ;callerid = 20062005 > > ; Agora vc vai registrar os clientes ainda no sip.conf > register => 1012006:25129900 em 200.198.xxx.xxx/1012006 > register => 1022006:orlando2006 em 200.198.xxx.xxx/1022006 > > > [1012006] > type= friend ; pode fazer e receber ligacoes > ;allow = g711 > username = 1012006 ; trocar pelo usuario que colocou no register > secret = 25129900 ; trocar pela senha que vc colocou no register > hos t = dynamic ; > ;nat = yes ; se os clientes estiverem atras de nat > > [1022006] > type= friend ; pode fazer e receber ligacoes > ;allow = g711 > username = 1022006 ; trocar pelo usuario que colocou no register > secret = orlando2006 ; trocar pela senha que vc colocou no register > hos t = dynamic > nat = yes ; se os clientes estiverem atras de nat > > > > ------------------------------------------------------------------------------------------------------ > Meu extensions.conf > > ------------------------------------------------------------------------------------------------------ > [general] > static = yes > writeprotect = yes ; para evitar que seu plano de discagem seja > ;sobrescrito > > ;agora as extensoes mesmo > exten => 1012006,1,Dial(SIP/1012006,70) ; > ;exten => 101,2,Hangup ; > > exten => 1022006,1,Dial(SIP/1022006,70) ; > ;exten => 102,2,Hangup ; > > > -- > Marcos Abadi > CCNA - Cisco Certified > CSCO10868158 > LPI ID: LPI000064006 > User Linux #385452 > Porto Alegre - RS > Fone:(51)9975-2060 > _______________________________________________ > LIsta de discussões AsteriskBrasil.org > AsteriskBrasil em listas.asteriskbrasil.org > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil > > _______________________________________________ > Acesse o wiki AsteriskBrasil.org: > http://www.asteriskbrasil.org > > -------------- Próxima Parte ---------- Um anexo em HTML foi limpo... URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20060113/c679dd45/attachment.html