<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>No replies on this one – yet<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Let me add one thing – if I try to connect to the node on port 4569 while the one on port 4568 is already connected, iaxRpt gives an error message about the node already being active and refuses to attempt the connection.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>So I am sort of concluding that iaxRpt cannot handle a case where there are two nodes on different ports at the same IP address. I am (slightly) surprised that the one that works is the higher-numbered node on the non-standard port, but given the messages that app_rpt is throwing off (below), it’s clear that chan_iax.c and channel.c are working in some sort of goofball mode anyhow and I am just lucky that it fails in a way to yield a working connection (these are versions 266 and 267, incidentally).<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Has anyone else tried iaxRpt on an asterisk system with two nodes behind a common router?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Ken<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Ken [mailto:ke2n@cs.com] <br><b>Sent:</b> Friday, December 31, 2010 12:09 PM<br><b>To:</b> 'app_rpt-users@ohnosec.org'<br><b>Subject:</b> iax / Asterisk & I should never be called<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Been scratching my head here for a week with iaxRpt. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have two nodes: I can connect to one of them (so iaxRpt is obviously working) but not the other<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>App-rpt is trying to tell me something about the problem but I do not know what:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>atom2*CLI><o:p></o:p></p><p class=MsoNormal> -- Accepting AUTHENTICATED call from 69.243.53.147:<o:p></o:p></p><p class=MsoNormal> > requested format = ulaw,<o:p></o:p></p><p class=MsoNormal> > requested prefs = (),<o:p></o:p></p><p class=MsoNormal> > actual format = ulaw,<o:p></o:p></p><p class=MsoNormal> > host prefs = (ulaw|gsm),<o:p></o:p></p><p class=MsoNormal> > priority = mine<o:p></o:p></p><p class=MsoNormal> -- Executing [27021@radio-gui:1] Rpt("IAX2/gui-126", "(27021|X)") in new stack<o:p></o:p></p><p class=MsoNormal>[Dec 31 11:39:13] WARNING[1555]: app_rpt.c:20884 rpt_exec: Cannot find specified system node (27021<o:p></o:p></p><p class=MsoNormal> == Spawn extension (radio-gui, 27021, 1) exited non-zero on 'IAX2/gui-126'<o:p></o:p></p><p class=MsoNormal> -- Hungup 'IAX2/gui-126'<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have looked at iax.conf and extensions.conf and do not see any differences between the two nodes, other than the node numbers.<o:p></o:p></p><p class=MsoNormal>I am connecting from behind the same router. <o:p></o:p></p><p class=MsoNormal>The node that works is on port 4568 (on the internet side) and the one that does not work is on port 4569.<o:p></o:p></p><p class=MsoNormal>The one that works can connect both on the local IP address and on the WAN address with the 4568 port number appended.<o:p></o:p></p><p class=MsoNormal>I have tried making the iaxRpt “listener port 4567, “just for grins” – no effect.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>>>>>> Why can’t app-rtp find it *<b>own</b>* node number when called by iaxRpt?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Here is what it looks like when it works (the other node):<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>-- Accepting AUTHENTICATED call from 69.243.53.147:<o:p></o:p></p><p class=MsoNormal> > requested format = gsm,<o:p></o:p></p><p class=MsoNormal> > requested prefs = (),<o:p></o:p></p><p class=MsoNormal> > actual format = gsm,<o:p></o:p></p><p class=MsoNormal> > host prefs = (gsm),<o:p></o:p></p><p class=MsoNormal> > priority = mine<o:p></o:p></p><p class=MsoNormal> -- Executing [27061@radio-gui:1] Rpt("IAX2/gui-6459", "27061|X") in new stack<o:p></o:p></p><p class=MsoNormal>[Dec 31 12:02:43] NOTICE[22711]: channel.c:2075 __ast_read: No/unknown event '0' on timer for 'IAX2/gui-6459'?<o:p></o:p></p><p class=MsoNormal>[Dec 31 12:02:43] NOTICE[22711]: chan_iax2.c:4677 iax2_read: I should never be called!<o:p></o:p></p><p class=MsoNormal> == Spawn extension (radio-gui, 27061, 1) exited KEEPALIVE on 'IAX2/gui-6459'<o:p></o:p></p><p class=MsoNormal> -- <Zap/pseudo-363503172 ((all the callsign readouts here))<o:p></o:p></p><p class=MsoNormal> -- Hungup 'Zap/pseudo-363503172'<o:p></o:p></p><div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'><p class=MsoNormal> -- Hungup 'Zap/pseudo-135650357'<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The “I should never be called” message looks like something gone wrong in app-rpt .. except that it works.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>Ken<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>