info@cybernergies.com
2005-Feb-21 11:04 UTC
[Asterisk-Users] Why can't I make inter IAX calls between 2 Asterisk servers
<div><FONT size=2>Hello,</FONT></div> <div><FONT size=2>two questions: </FONT></div> <div><FONT size=2></FONT> </div> <div><STRONG><FONT size=2>1: How can I open/enable network connection to B?</FONT></STRONG></div> <div><FONT size=2><STRONG>scenerio:</STRONG></FONT></div> <div><FONT size=2>I have 2 Asterisk servers, A and B, running Fedora Core1 on my local network. B refuses any network connection attempts from A, i.e. I can't even telnet or FTP to B from A, but I can to A from B. This makes B refuse any IAX connection attempt from A. </FONT></div> <div><FONT size=2></FONT> </div> <div><FONT size=2><STRONG></STRONG></FONT> </div> <div><FONT size=2><STRONG>2: what's wrong with my configurations, why can't I dial A from B, and vice versa?</STRONG></FONT></div> <div><FONT size=2><STRONG>scenerio:</STRONG></FONT></div> <div><FONT size=2>A and B each has an analog device connected to their Zap/1 channels, on extensions 2000 and 3000 respectively. I am trying to make IAX calls to each extension from the other, i.e call 3000 (on B) from A, and call 2000 (on A) from B. I get two different errors. While calling ext 2000 (on B) from A, connection was refused because of problem 1 above. While calling ext 3000 (on A) from B, it says context/extension does not exist on A. Here are my config files:</FONT></div> <div><FONT size=2></FONT> </div> <div><FONT size=2>A's extension.config</FONT></div> <div><FONT size=2></FONT> </div><FONT size=2> <div>[internal]</div> <div>exten => 3000,1,DIAL(IAX2/chuks:password@192.168.1.107/3000) </div> <div>exten => 3000,2,congestion</div></FONT><FONT size=2><FONT size=2> <div>include -> from-iax</div> <div> </div> <div>[from-iax]</div></FONT> <div>exten => s,1,Wait(2)</div> <div>exten => s,2,Answer</div> <div>exten => 2000,3,Dial(Zap/1,20)</div> <div> </div> <div><FONT size=2>NB: A's zapata.conf points to the internal context</FONT></div> <div> </div> <div><FONT size=2>A's iax.conf</FONT></div> <div> </div><FONT size=2> <div>[general]</div> <div>port=5036</div> <div>bandwidth=high</div> <div>disallow=lpc10 </div> <div>tos=lowdelay</div> <div> </div> <div>[michael]</div> <div>type=friend</div> <div>secret=password</div> <div>auth=plaintext</div> <div>host=192.168.1.107</div> <div>context=from-iax</div> <div>allow=all</div> <div>trunk=yes</div></FONT> <div><FONT size=2></FONT> </div> <div><FONT size=2></FONT> </div> <div><FONT size=2>B's extension.config</FONT></div> <div><FONT size=2></FONT> </div><FONT size=2> <div>[internal]</div> <div>exten => 2000,1,DIAL(IAX2/michael:password@192.168.1.103/2000) ;A is on 192.168.1.103</div> <div>exten => 2000,2,congestion</div></FONT><FONT size=2><FONT size=2> <div>include -> from-iax</div> <div> </div> <div>[from-iax]</div></FONT> <div>exten => s,1,Wait(2)</div> <div>exten => s,2,Answer</div> <div>exten => 3000,3,Dial(Zap/1,20)</div> <div> </div> <div><FONT size=2>NB: B's zapata.conf points to the internal context</FONT></div> <div> </div> <div><FONT size=2>B's iax.conf</FONT></div> <div> </div><FONT size=2> <div>[general]</div> <div>port=5036</div> <div>bandwidth=high</div> <div>disallow=lpc10 </div> <div>tos=lowdelay</div> <div> </div> <div>[chuks]</div> <div>type=friend</div> <div>secret=password</div> <div>auth=plaintext</div> <div>host=192.168.1.103</div> <div>context=from-iax</div> <div>allow=all</div> <div>trunk=yes</div></FONT></FONT></FONT> <div> </div> <div> </div> <div>At least I thought I'd hear A ring when I dial 2000 from B, instead, I get the congestion (busy) tone. Can anyone tell me what I'm doing wrong? If I can open up B's network connectios, I know I'll get the same problem each way. </div> <div> </div> <div>thx,</div> <div>chuks</div> <div><A href="mailto:info@cybernergies.com">info@cybernergies.com</A></div> <div> </div> <div> </div> <div><BR> </div>
info@cybernergies.com
2005-Feb-21 11:15 UTC
[Asterisk-Users] Why can't I make inter IAX calls between 2 Asterisk servers
<BLOCKQUOTE style="PADDING-LEFT: 8px; MARGIN-LEFT: 8px; BORDER-LEFT: blue 2px solid"><BR> <DIV><FONT size=2>Hello,</FONT></DIV> <DIV><FONT size=2>two questions: </FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><STRONG><FONT size=2>1: How can I open/enable network connection to B?</FONT></STRONG></DIV> <DIV><FONT size=2><STRONG>scenerio:</STRONG></FONT></DIV> <DIV><FONT size=2>I have 2 Asterisk servers, A and B, running Fedora Core1 on my local network. B refuses any network connection attempts from A, i.e. I can't even telnet or FTP to B from A, but I can to A from B. This makes B refuse any IAX connection attempt from A. </FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2><STRONG></STRONG></FONT> </DIV> <DIV><FONT size=2><STRONG>2: what's wrong with my configurations, why can't I dial A from B, and vice versa?</STRONG></FONT></DIV> <DIV><FONT size=2><STRONG>scenerio:</STRONG></FONT></DIV> <DIV><FONT size=2>A and B each has an analog device connected to their Zap/1 channels, on extensions 2000 and 3000 respectively. I am trying to make IAX calls to each extension from the other, i.e call 3000 (on B) from A, and call 2000 (on A) from B. I get two different errors. While calling ext 2000 (on B) from A, connection was refused because of problem 1 above. While calling ext 3000 (on A) from B, it says context/extension does not exist on A. Here are my config files:</FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2>A's extension.config</FONT></DIV> <DIV><FONT size=2></FONT> </DIV><FONT size=2> <DIV>[internal]</DIV> <DIV>exten => 3000,1,DIAL(IAX2/chuks:password@192.168.1.107/3000) </DIV> <DIV>exten => 3000,2,congestion</DIV></FONT><FONT size=2><FONT size=2> <DIV>include -> from-iax</DIV> <DIV> </DIV> <DIV>[from-iax]</DIV></FONT> <DIV>exten => s,1,Wait(2)</DIV> <DIV>exten => s,2,Answer</DIV> <DIV>exten => 2000,3,Dial(Zap/1,20)</DIV> <DIV> </DIV> <DIV><FONT size=2>NB: A's zapata.conf points to the internal context</FONT></DIV> <DIV> </DIV> <DIV><FONT size=2>A's iax.conf</FONT></DIV> <DIV> </DIV><FONT size=2> <DIV>[general]</DIV> <DIV>port=5036</DIV> <DIV>bandwidth=high</DIV> <DIV>disallow=lpc10 </DIV> <DIV>tos=lowdelay</DIV> <DIV> </DIV> <DIV>[michael]</DIV> <DIV>type=friend</DIV> <DIV>secret=password</DIV> <DIV>auth=plaintext</DIV> <DIV>host=192.168.1.107</DIV> <DIV>context=from-iax</DIV> <DIV>allow=all</DIV> <DIV>trunk=yes</DIV></FONT> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2>B's extension.config</FONT></DIV> <DIV><FONT size=2></FONT> </DIV><FONT size=2> <DIV>[internal]</DIV> <DIV>exten => 2000,1,DIAL(IAX2/michael:password@192.168.1.103/2000) ;A is on 192.168.1.103</DIV> <DIV>exten => 2000,2,congestion</DIV></FONT><FONT size=2><FONT size=2> <DIV>include -> from-iax</DIV> <DIV> </DIV> <DIV>[from-iax]</DIV></FONT> <DIV>exten => s,1,Wait(2)</DIV> <DIV>exten => s,2,Answer</DIV> <DIV>exten => 3000,3,Dial(Zap/1,20)</DIV> <DIV> </DIV> <DIV><FONT size=2>NB: B's zapata.conf points to the internal context</FONT></DIV> <DIV> </DIV> <DIV><FONT size=2>B's iax.conf</FONT></DIV> <DIV> </DIV><FONT size=2> <DIV>[general]</DIV> <DIV>port=5036</DIV> <DIV>bandwidth=high</DIV> <DIV>disallow=lpc10 </DIV> <DIV>tos=lowdelay</DIV> <DIV> </DIV> <DIV>[chuks]</DIV> <DIV>type=friend</DIV> <DIV>secret=password</DIV> <DIV>auth=plaintext</DIV> <DIV>host=192.168.1.103</DIV> <DIV>context=from-iax</DIV> <DIV>allow=all</DIV> <DIV>trunk=yes</DIV></FONT></FONT></FONT> <DIV> </DIV> <DIV> </DIV> <DIV>At least I thought I'd hear A ring when I dial 2000 from B, instead, I get the congestion (busy) tone. Can anyone tell me what I'm doing wrong? If I can open up B's network connectios, I know I'll get the same problem each way. </DIV> <DIV> </DIV> <DIV>thx,</DIV> <DIV>chuks</DIV> <DIV><A href="mailto:info@cybernergies.com">info@cybernergies.com</A></DIV> <DIV> </DIV> <DIV> </DIV> <DIV><BR> </DIV></BLOCKQUOTE>
info@cybernergies.com
2005-Feb-21 15:41 UTC
[Asterisk-Users] Why can't I make inter IAX calls between 2 Asterisk servers
<div>Hello,</div> <div> Can anyone help with this please?</div> <div> </div> <div>thx,</div> <div>chuks<BR><BR></div> <BLOCKQUOTE style="PADDING-LEFT: 8px; MARGIN-LEFT: 8px; BORDER-LEFT: blue 2px solid"><BR>-------- Original Message --------<BR>Subject: [Asterisk-Users] Why can't I make inter IAX calls between<BR>2 Asterisk servers<BR>From: info@cybernergies.com<BR>Date: Mon, February 21, 2005 11:04 am<BR>To: asterisk-users@lists.digium.com<BR><BR> <DIV><FONT size=2>Hello,</FONT></DIV> <DIV><FONT size=2>two questions: </FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><STRONG><FONT size=2>1: How can I open/enable network connection to B?</FONT></STRONG></DIV> <DIV><FONT size=2><STRONG>scenerio:</STRONG></FONT></DIV> <DIV><FONT size=2>I have 2 Asterisk servers, A and B, running Fedora Core1 on my local network. B refuses any network connection attempts from A, i.e. I can't even telnet or FTP to B from A, but I can to A from B. This makes B refuse any IAX connection attempt from A. </FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2><STRONG></STRONG></FONT> </DIV> <DIV><FONT size=2><STRONG>2: what's wrong with my configurations, why can't I dial A from B, and vice versa?</STRONG></FONT></DIV> <DIV><FONT size=2><STRONG>scenerio:</STRONG></FONT></DIV> <DIV><FONT size=2>A and B each has an analog device connected to their Zap/1 channels, on extensions 2000 and 3000 respectively. I am trying to make IAX calls to each extension from the other, i.e call 3000 (on B) from A, and call 2000 (on A) from B. I get two different errors. While calling ext 2000 (on B) from A, connection was refused because of problem 1 above. While calling ext 3000 (on A) from B, it says context/extension does not exist on A. Here are my config files:</FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2>A's extension.config</FONT></DIV> <DIV><FONT size=2></FONT> </DIV><FONT size=2> <DIV>[internal]</DIV> <DIV>exten => 3000,1,DIAL(IAX2/chuks:password@192.168.1.107/3000) </DIV> <DIV>exten => 3000,2,congestion</DIV></FONT><FONT size=2><FONT size=2> <DIV>include -> from-iax</DIV> <DIV> </DIV> <DIV>[from-iax]</DIV></FONT> <DIV>exten => s,1,Wait(2)</DIV> <DIV>exten => s,2,Answer</DIV> <DIV>exten => 2000,3,Dial(Zap/1,20)</DIV> <DIV> </DIV> <DIV><FONT size=2>NB: A's zapata.conf points to the internal context</FONT></DIV> <DIV> </DIV> <DIV><FONT size=2>A's iax.conf</FONT></DIV> <DIV> </DIV><FONT size=2> <DIV>[general]</DIV> <DIV>port=5036</DIV> <DIV>bandwidth=high</DIV> <DIV>disallow=lpc10 </DIV> <DIV>tos=lowdelay</DIV> <DIV> </DIV> <DIV>[michael]</DIV> <DIV>type=friend</DIV> <DIV>secret=password</DIV> <DIV>auth=plaintext</DIV> <DIV>host=192.168.1.107</DIV> <DIV>context=from-iax</DIV> <DIV>allow=all</DIV> <DIV>trunk=yes</DIV></FONT> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2>B's extension.config</FONT></DIV> <DIV><FONT size=2></FONT> </DIV><FONT size=2> <DIV>[internal]</DIV> <DIV>exten => 2000,1,DIAL(IAX2/michael:password@192.168.1.103/2000) ;A is on 192.168.1.103</DIV> <DIV>exten => 2000,2,congestion</DIV></FONT><FONT size=2><FONT size=2> <DIV>include -> from-iax</DIV> <DIV> </DIV> <DIV>[from-iax]</DIV></FONT> <DIV>exten => s,1,Wait(2)</DIV> <DIV>exten => s,2,Answer</DIV> <DIV>exten => 3000,3,Dial(Zap/1,20)</DIV> <DIV> </DIV> <DIV><FONT size=2>NB: B's zapata.conf points to the internal context</FONT></DIV> <DIV> </DIV> <DIV><FONT size=2>B's iax.conf</FONT></DIV> <DIV> </DIV><FONT size=2> <DIV>[general]</DIV> <DIV>port=5036</DIV> <DIV>bandwidth=high</DIV> <DIV>disallow=lpc10 </DIV> <DIV>tos=lowdelay</DIV> <DIV> </DIV> <DIV>[chuks]</DIV> <DIV>type=friend</DIV> <DIV>secret=password</DIV> <DIV>auth=plaintext</DIV> <DIV>host=192.168.1.103</DIV> <DIV>context=from-iax</DIV> <DIV>allow=all</DIV> <DIV>trunk=yes</DIV></FONT></FONT></FONT> <DIV> </DIV> <DIV> </DIV> <DIV>At least I thought I'd hear A ring when I dial 2000 from B, instead, I get the congestion (busy) tone. Can anyone tell me what I'm doing wrong? If I can open up B's network connectios, I know I'll get the same problem each way. </DIV> <DIV> </DIV> <DIV>thx,</DIV> <DIV>chuks</DIV> <DIV><A href="mailto:info@cybernergies.com">info@cybernergies.com</A></DIV> <DIV> </DIV> <DIV> </DIV> <DIV><BR> </DIV> <HR> _______________________________________________<BR>Asterisk-Users mailing list<BR>Asterisk-Users@lists.digium.com<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR>To UNSUBSCRIBE or update options visit:<BR> http://lists.digium.com/mailman/listinfo/asterisk-users </BLOCKQUOTE>