Fiz o que você sugeriu, mas continua acontecendo:<br>quando tendo discar da central Avaya, não se consegue completar a ligação logo é desligada na Avaya, nem chegando alguma coisa no Asterisk.<br><br>Marcos Evan<br><br><div class="gmail_quote">
2009/10/16 Rodrigo Graeff <span dir="ltr">&lt;<a href="mailto:delphusbsd@gmail.com">delphusbsd@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Marcos,<br>
<br>
Adicione allowguests=yes no sip.conf em general<br>
<br>
Todas as requisições sip irão para o contexto default do teu sip.conf<br>
que é from-sip-external<br>
<br>
Neste contexto, tente direcionar tudo para um ramal válido, apenas para<br>
teste, ex:<br>
<br>
[from-sip-external]<br>
exten=&gt;s,1,Dial(SIP/1000|60)<br>
exten=&gt;X.,1,Dial(SIP/1000|60)<br>
<br>
[ ]s<br>
<div><div></div><div class="h5"><br>
On Fri, 2009-10-16 at 14:17 -0300, Marcos Evan Evan wrote:<br>
&gt; Não tem esse arquivo, tem o sip_additional.conf, que coloquei o<br>
&gt; conteudo anteriormente, aparte com a configuração dos troncos.<br>
&gt;<br>
&gt; [tronco1]<br>
&gt; username=nucleo<br>
&gt; type=peer<br>
&gt; secret=1234<br>
&gt; host=10.1.1.100 (ip da central Avaya)<br>
&gt; domain= 10.1.1.100<br>
&gt; context=from-avaya<br>
&gt;<br>
&gt; [tronco2]<br>
&gt; username=nucleo09<br>
&gt; type=friend<br>
&gt; secret=nucleo09<br>
&gt; qualify=yes<br>
&gt; nat=yes<br>
&gt; insecure=very<br>
&gt; host=10.1.1.6 (ip da central asterisk 2)<br>
&gt;<br>
&gt; domain=10.1.1.6<br>
&gt;<br>
&gt; context=from-pstn<br>
&gt; auth=md5<br>
&gt;<br>
&gt;<br>
&gt; Marcos Evan<br>
&gt;<br>
&gt; 2009/10/16 Rodrigo Graeff &lt;<a href="mailto:delphusbsd@gmail.com">delphusbsd@gmail.com</a>&gt;<br>
&gt;         Marcos,<br>
&gt;<br>
&gt;         O que temos no sip_general_additional.conf ??<br>
&gt;<br>
&gt;         Sugiro ativar o allowguests e testar.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         On Fri, 2009-10-16 at 13:41 -0300, Marcos Evan Evan wrote:<br>
&gt;         &gt; Segue o sip.conf<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; [general]<br>
&gt;         &gt; #include sip_general_additional.conf<br>
&gt;         &gt; register=<a href="http://nucleo:nucleo09@10.1.1.6:5060" target="_blank">nucleo:nucleo09@10.1.1.6:5060</a><br>
&gt;         &gt;<br>
&gt;         &gt; bindport = 5060           ; Port to bind to (SIP is 5060)<br>
&gt;         &gt; bindaddr = 0.0.0.0    ; Address to bind to (all addresses on<br>
&gt;         machine)<br>
&gt;         &gt;<br>
&gt;         &gt; disallow=all<br>
&gt;         &gt; allow=ulaw<br>
&gt;         &gt; allow=alaw<br>
&gt;         &gt; allow=gsm<br>
&gt;         &gt; allow=ilbc<br>
&gt;         &gt; allow=g723<br>
&gt;         &gt; allow=g711<br>
&gt;         &gt; externip=189.44.46.4<br>
&gt;         &gt; localnet=<a href="http://10.1.1.0/24" target="_blank">10.1.1.0/24</a><br>
&gt;         &gt; nat=no<br>
&gt;         &gt; #nat=yes<br>
&gt;         &gt; dtmfmode=rfc2833<br>
&gt;         &gt;<br>
&gt;         &gt; ; If you need to answer unauthenticated calls, you should<br>
&gt;         change this<br>
&gt;         &gt; ; next line to &#39;from-trunk&#39;, rather than<br>
&gt;         &#39;from-sip-external&#39;.<br>
&gt;         &gt; ; You&#39;ll know this is happening if when you call in you get<br>
&gt;         a message<br>
&gt;         &gt; ; saying &quot;The number you have dialed is not in service.<br>
&gt;         Please check<br>
&gt;         &gt; the<br>
&gt;         &gt; ; number and try again.&quot;<br>
&gt;         &gt; context = from-sip-external ; Send unknown SIP callers to<br>
&gt;         this context<br>
&gt;         &gt; callerid = Unknown<br>
&gt;         &gt; tos=0x68<br>
&gt;         &gt; language=pt_BR<br>
&gt;         &gt;<br>
&gt;         &gt; ; Reported as required for Asterisk 1.4<br>
&gt;         &gt; ;notifyringing=yes<br>
&gt;         &gt; ;notifyhold=yes<br>
&gt;         &gt; ;limitonpeers=yes<br>
&gt;         &gt; ;jbenable = yes<br>
&gt;         &gt; ;jbforce=yes<br>
&gt;         &gt;<br>
&gt;         &gt; ; #, in this configuration file, is NOT A COMMENT. This is<br>
&gt;         exactly<br>
&gt;         &gt; ; how it should be.<br>
&gt;         &gt; #include sip_general_custom.conf<br>
&gt;         &gt; #include sip_nat.conf<br>
&gt;         &gt; #include sip_registrations_custom.conf<br>
&gt;         &gt; #include sip_registrations.conf<br>
&gt;         &gt; #include sip_custom.conf<br>
&gt;         &gt; #include sip_additional.conf<br>
&gt;         &gt;<br>
&gt;         &gt; #[nucleo]<br>
&gt;         &gt; #username=nucleo<br>
&gt;         &gt; #type=peer<br>
&gt;         &gt; #secret=nucleo09<br>
&gt;         &gt; #fromuser=nucleo<br>
&gt;         &gt; #fromdomain=10.1.1.6<br>
&gt;         &gt; #context=from-nucleo<br>
&gt;         &gt; #disallow=all<br>
&gt;         &gt; #allow=ulaw<br>
&gt;         &gt; #allow=alaw<br>
&gt;         &gt; #allow=gsm<br>
&gt;         &gt; #allow=ilbc<br>
&gt;         &gt; #allow=g723<br>
&gt;         &gt; #allow=g711<br>
&gt;         &gt; #host=10.1.1.6<br>
&gt;         &gt; #insecure=very<br>
&gt;         &gt; #qualify=no<br>
&gt;         &gt; #port=5060<br>
&gt;         &gt; #aut=md5<br>
&gt;         &gt; #nat=yes<br>
&gt;         &gt; #canreinvite=no<br>
&gt;         &gt; #dtmfmode=rf2833<br>
&gt;         &gt;<br>
&gt;         &gt; #[template]<br>
&gt;         &gt; #type=friend<br>
&gt;         &gt; #context=rotadesaida<br>
&gt;         &gt; #host=dynamic<br>
&gt;         &gt; #insecure=invite,port<br>
&gt;         &gt; #canreinvite=no<br>
&gt;         &gt; #disallow=all<br>
&gt;         &gt; #allow=gsm<br>
&gt;         &gt; #allow=g729<br>
&gt;         &gt;<br>
&gt;         &gt; #[9001]<br>
&gt;         &gt;<br>
&gt;         &gt; #type=peer<br>
&gt;         &gt; #username=9001<br>
&gt;         &gt; #secret=1234<br>
&gt;         &gt; #domain=127.0.0.1<br>
&gt;         &gt; #fromuser=9001<br>
&gt;         &gt; #fromdomain=127.0.0.1<br>
&gt;         &gt; #host=127.0.0.1<br>
&gt;         &gt; #insecure=invite,port<br>
&gt;         &gt; #qualify=no<br>
&gt;         &gt; #port=5060<br>
&gt;         &gt; #context=entrada<br>
&gt;         &gt; #canreinvite=no<br>
&gt;         &gt;<br>
&gt;         &gt; #[5171](template)<br>
&gt;         &gt; #secret=1234<br>
&gt;         &gt; #mailbox=5151<br>
&gt;         &gt;<br>
&gt;         &gt; #[5172](template)<br>
&gt;         &gt; #secret=1234<br>
&gt;         &gt; #mailbox=5172<br>
&gt;         &gt;<br>
&gt;         &gt; #[5173](template)<br>
&gt;         &gt; #secret=1234<br>
&gt;         &gt; #mailbox=5173<br>
&gt;         &gt;<br>
&gt;         &gt; #[5174](template)<br>
&gt;         &gt; #secret=1234<br>
&gt;         &gt; #mailbox=5174<br>
&gt;         &gt;<br>
&gt;         &gt; #[5175](template)<br>
&gt;         &gt; #secret=1234<br>
&gt;         &gt; #mailbox=5175<br>
&gt;         &gt;<br>
&gt;         &gt; #[5176](template)<br>
&gt;         &gt; #secret=1234<br>
&gt;         &gt; #mailbox=5176<br>
&gt;         &gt;<br>
&gt;         &gt; #[5177](template)<br>
&gt;         &gt; #secret=1234<br>
&gt;         &gt; #mailbox=5177<br>
&gt;         &gt;<br>
&gt;         &gt; Fico no aguardo.<br>
&gt;         &gt;<br>
&gt;         &gt; Marcos Evan<br>
&gt;         &gt;<br>
&gt;         &gt; 2009/10/16 Rodrigo Lang &lt;<a href="mailto:rodrigoferreiralang@gmail.com">rodrigoferreiralang@gmail.com</a>&gt;<br>
&gt;         &gt;         Marcos, está com verbose setada no seu console?<br>
&gt;         Poste seu<br>
&gt;         &gt;         sip.conf!<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;         Ats,<br>
&gt;         &gt;         Rodrigo Lang.<br>
&gt;         &gt;<br>
&gt;         &gt;         2009/10/16 Marcos Evan Evan &lt;<a href="mailto:marcosevane@gmail.com">marcosevane@gmail.com</a>&gt;<br>
&gt;         &gt;<br>
&gt;         &gt;                 Estou tentando fazer uma central Avaya<br>
&gt;         IPO500<br>
&gt;         &gt;                 conversar com Asterisk via Trunk SIP, só que<br>
&gt;         está<br>
&gt;         &gt;                 acontecendo o seguinte:<br>
&gt;         &gt;                 Asterisk - Avaya  = funciona perfeitamente,<br>
&gt;         faço<br>
&gt;         &gt;                 ligação pra qualquer ramal da Avaya.<br>
&gt;         &gt;                 Avaya - Asterisk = quando ligo não completa,<br>
&gt;         na Avaya<br>
&gt;         &gt;                 da informação que foi desconectado pela<br>
&gt;         outra ponta,<br>
&gt;         &gt;                 mas no asterisk não consigo vê nada<br>
&gt;         chegando.<br>
&gt;         &gt;<br>
&gt;         &gt;                 Alguém já tentou fazer algo parecido? Se<br>
&gt;         puderem<br>
&gt;         &gt;                 ajudar fico agradecido.<br>
&gt;         &gt;<br>
&gt;         &gt;                 --<br>
&gt;         &gt;                 Marcos Evan<br>
&gt;         &gt;                 85 3455 2733<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         _______________________________________________<br>
&gt;         &gt;                 <a href="http://www.voipmania.com.br" target="_blank">http://www.voipmania.com.br</a><br>
&gt;         &gt;                 Telefone IP sem fio Gigaset A580IP por 6 x R<br>
&gt;         $59,90.<br>
&gt;         &gt;                 Promoção por tempo limitado!<br>
&gt;         &gt;                 Acesse agora <a href="http://promo.voipmania.com.br" target="_blank">http://promo.voipmania.com.br</a><br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         _______________________________________________<br>
&gt;         &gt;                 Lista de discussões AsteriskBrasil.org<br>
&gt;         &gt;                 <a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br>
&gt;         &gt;<br>
&gt;         <a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;         --<br>
&gt;         &gt;         Rodrigo F. Lang<br>
&gt;         &gt;         Amd. de Redes<br>
&gt;         &gt;         <a href="http://twitter.com/Rodrigo_Lang" target="_blank">twitter.com/Rodrigo_Lang</a><br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;         _______________________________________________<br>
&gt;         &gt;         <a href="http://www.voipmania.com.br" target="_blank">http://www.voipmania.com.br</a><br>
&gt;         &gt;         Telefone IP sem fio Gigaset A580IP por 6 x R$59,90.<br>
&gt;         &gt;         Promoção por tempo limitado!<br>
&gt;         &gt;         Acesse agora <a href="http://promo.voipmania.com.br" target="_blank">http://promo.voipmania.com.br</a><br>
&gt;         &gt;<br>
&gt;         &gt;         _______________________________________________<br>
&gt;         &gt;         Lista de discussões AsteriskBrasil.org<br>
&gt;         &gt;         <a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br>
&gt;         &gt;<br>
&gt;         <a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; --<br>
&gt;         &gt; Marcos Evan<br>
&gt;         &gt; 85 3455 2733<br>
&gt;         &gt; _______________________________________________<br>
&gt;         &gt; <a href="http://www.voipmania.com.br" target="_blank">http://www.voipmania.com.br</a><br>
&gt;         &gt; Telefone IP sem fio Gigaset A580IP por 6 x R$59,90.<br>
&gt;         &gt; Promoção por tempo limitado!<br>
&gt;         &gt; Acesse agora <a href="http://promo.voipmania.com.br" target="_blank">http://promo.voipmania.com.br</a><br>
&gt;         &gt;<br>
&gt;         &gt; _______________________________________________<br>
&gt;         &gt; Lista de discussões AsteriskBrasil.org<br>
&gt;         &gt; <a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br>
&gt;         &gt;<br>
&gt;         <a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br>
&gt;         --<br>
&gt;         --<br>
&gt;<br>
&gt;<br>
&gt;         Rodrigo Graeff<br>
&gt;         ICQ: 9636816<br>
&gt;         <a href="http://www.delphus.org" target="_blank">http://www.delphus.org</a><br>
&gt;<br>
&gt;<br>
&gt;         _______________________________________________<br>
&gt;<br>
&gt;<br>
&gt;         <a href="http://www.voipmania.com.br" target="_blank">http://www.voipmania.com.br</a><br>
&gt;         Telefone IP sem fio Gigaset A580IP por 6 x R$59,90.<br>
&gt;         Promoção por tempo limitado!<br>
&gt;         Acesse agora <a href="http://promo.voipmania.com.br" target="_blank">http://promo.voipmania.com.br</a><br>
&gt;<br>
&gt;         _______________________________________________<br>
&gt;         Lista de discussões AsteriskBrasil.org<br>
&gt;         <a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br>
&gt;         <a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Marcos Evan<br>
&gt; 85 3455 2733<br>
&gt; _______________________________________________<br>
&gt; <a href="http://www.voipmania.com.br" target="_blank">http://www.voipmania.com.br</a><br>
&gt; Telefone IP sem fio Gigaset A580IP por 6 x R$59,90.<br>
&gt; Promoção por tempo limitado!<br>
&gt; Acesse agora <a href="http://promo.voipmania.com.br" target="_blank">http://promo.voipmania.com.br</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Lista de discussões AsteriskBrasil.org<br>
&gt; <a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br>
&gt; <a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br>
--<br>
--<br>
<br>
Rodrigo Graeff<br>
ICQ: 9636816<br>
<a href="http://www.delphus.org" target="_blank">http://www.delphus.org</a><br>
<br>
<br>
_______________________________________________<br>
<a href="http://www.voipmania.com.br" target="_blank">http://www.voipmania.com.br</a><br>
Telefone IP sem fio Gigaset A580IP por 6 x R$59,90.<br>
Promoção por tempo limitado!<br>
Acesse agora <a href="http://promo.voipmania.com.br" target="_blank">http://promo.voipmania.com.br</a><br>
<br>
_______________________________________________<br>
Lista de discussões AsteriskBrasil.org<br>
<a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br>
<a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Marcos Evan<br>85 3455 2733<br>