<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Para utilizar sip, vc deve substituir o "IAX/" por 
"</FONT><FONT size=2>SIP/" no extensions.conf. Não tem problema de um ser sip e 
o outro ser iax, para o * é transparente.</FONT></DIV>
<DIV><FONT size=2>Veja: <A 
href="http://www.voip-info.org/wiki-Asterisk+-+dual+servers">http://www.voip-info.org/wiki-Asterisk+-+dual+servers</A></FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>O register é necessário em uma máquina q tenha IP dinâmico 
para ela se conectar a uma máquina com IP estático. Para fazer funcionar, 
coloquei register em ambos os sentidos. </FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Exemplo: </FONT><FONT size=2></FONT></DIV>
<DIV><FONT size=2>;iax.conf ---cliente</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>[servidor]<BR>type=user<BR>host=&lt;ip 
servidor&gt;<BR>auth=md5<BR>secret=aaaaa</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>[servidor]<BR>type=peer<BR>host=&lt;ip 
servidor&gt;<BR>username=cliente<BR>secret=bbbbb<BR>auth=md5</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>;iax.conf ----servidor</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>[cliente]<BR>type=user<BR>host=&lt;ip 
cliente&gt;<BR>secret=bbbbb<BR>auth=md5</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>[cliente]<BR>type=peer<BR>host=&lt;ip 
cliente&gt;<BR>auth=md5<BR>username=servidor<BR>secret=aaaaa</FONT></DIV>
<DIV><FONT size=2></FONT><FONT size=2></FONT><FONT size=2></FONT><FONT 
size=2></FONT><FONT size=2></FONT><FONT size=2></FONT><FONT size=2></FONT><FONT 
size=2></FONT><FONT size=2></FONT><FONT size=2></FONT><FONT size=2></FONT><FONT 
size=2></FONT><FONT size=2></FONT><BR><FONT face="Arial, Helvetica, sans-serif" 
size=2>
<P>Vc pode aproveitar o exemplo que passou pra nós do extensions.conf. </P>
<P><B></B>&nbsp;</P>
<P>Espero que eu tenha diminuído as dúvidas e não aumentado. QQ coisa , envie 
outras perguntas caso seja necessário detalhar algo.</P>
<P>Atenciosamente</P>
<P><B>Darlon Ferreira Bortolini</B><BR>Rede/Desenvolvimento<BR>Betha 
Sistemas<BR>Fone (48) 431-0750/Ramal 1000<BR><BR></FONT>----- Original Message 
----- </P></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=josueconti@gmail.com href="mailto:josueconti@gmail.com">Josué 
  Conti</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=AsteriskBrasil@listas.asteriskbrasil.org 
  href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">A Comunidade Brasileira 
  do PBX OpenSource</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, November 09, 2005 9:16 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [AsteriskBrasil] iax</DIV>
  <DIV><FONT size=2></FONT><FONT size=2></FONT><FONT size=2></FONT><FONT 
  size=2></FONT><BR></DIV>Pessoal, as configurações abaixo servem para a 
  interligação de 2<BR>asterisk? Sendo que um tem que fazer chamadas pelo outro. 
  Como<BR>ficariam os extensions.conf e o iax.conf? Se meus ramais de um 
  destes<BR>2 asterisk forem apenas sip, influenciaria em alguma 
  coisa?<BR><BR>Abraço a 
  todos.<BR><BR>(serverA)<BR>iax.conf<BR>&nbsp;[general]<BR>&nbsp;register =&gt; 
  &lt;username&gt;:&lt;password&gt;@&lt;serverB hostname or 
  IP&gt;<BR><BR>&nbsp;[serverB]<BR>&nbsp;type=friend<BR>&nbsp;user=&lt;username&gt;<BR>&nbsp;secret=&lt;password&gt;<BR>&nbsp;host=&lt;serverB 
  hostname or IP&gt;<BR><BR>extensions.conf<BR>&nbsp;exten =&gt; 
  _7XXX,1,Dial(IAX2/serverB/${EXTEN:1},30,r)<BR>&nbsp;exten =&gt; 
  _7XXX,2,Congestion<BR><BR>(serverB)<BR>iax.conf<BR>&nbsp;[serverA]<BR>&nbsp;type=friend<BR>&nbsp;user=&lt;username&gt;<BR>&nbsp;secret=&lt;password&gt;<BR>&nbsp;host=&lt;dynamic&gt; 
  | &lt;serverA hostname or IP&gt;<BR><BR>extensions.conf<BR>exten =&gt; 
  _8XXX,1,Dial(IAX2/serverA/${EXTEN:1},30,r)<BR>exten =&gt; 
  _8XXX,2,Congestion<BR><BR>In some cases the serverA and serverB, will be the 
  usernames of the 
  server.<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">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</A><BR><BR>_______________________________________________<BR>Acesse 
  o&nbsp; wiki AsteriskBrasil.org:<BR><A 
  href="http://www.asteriskbrasil.org">http://www.asteriskbrasil.org</A><BR><BR><BR></BLOCKQUOTE></BODY></HTML>