<div dir="ltr">I made a modification to my script some time ago and it seems to work better for me. You might try this version that I am attaching. Your mileage may vary. Chuck, WB9UUS<div><br><div><br><div><br></div></div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 27, 2014 at 2:32 AM, <a href="mailto:torben@klimt-online.com">torben@klimt-online.com</a> <span dir="ltr"><<a href="mailto:torben@klimt-online.com" target="_blank">torben@klimt-online.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:x-small;font-family:Tahoma">
<div>hi doug,<br>
tnx for your answer. the probelm is that the file "/var/lib/asterisk/rpt_extnodes" don`t update.</div>
<div><font face="calibri">i do an ps ax | grep updatenodelist and get</font></div>
<font face="calibri"></font>
<div><br>
</div>
<pre><div style="min-height:16px"><span>[root@DB0CJ asterisk]# ps ax | grep updatenodelist</span><span> </span></div><div style="min-height:16px"><span> 2545 ? S 0:00 /bin/bash /etc/rc.d/rc.updatenodelist</span><span> </span></div>
<div style="min-height:16px"><span> 5080 pts/0 S+ 0:00 grep updatenodelist</span><span> </span></div><div style="min-height:16px"><span>[root@DB0CJ asterisk]# </span><span> </span></div>
</pre>
<div>if i do an ./rc.updatenodelist in the /etc/rc.d/ nothing happen :-( i must break with CTRL+C :-(
</div>
<div>i think here is the problem..</div>
<div><font face="calibri"></font> </div>
<div><font face="calibri">greetings torben dh6mbt</font></div>
<div>
<pre style="WIDTH:8px;min-height:16px"> </pre>
</div>
<font color="#000000" face="Tahoma"></font>
<div style="DIRECTION:ltr">
<hr>
<font color="#000000" face="Tahoma"><b>Von:</b> <a href="mailto:hotmail_97fc649978f54bf0@live.com" target="_blank">hotmail_97fc649978f54bf0@live.com</a> [<a href="mailto:hotmail_97fc649978f54bf0@live.com" target="_blank">hotmail_97fc649978f54bf0@live.com</a>] im Auftrag von Doug Crompton [<a href="mailto:doug@crompton.com" target="_blank">doug@crompton.com</a>]<br>
<b>Gesendet:</b> Mittwoch, 26. März 2014 23:55<br>
<b>An:</b> <a href="mailto:torben@klimt-online.com" target="_blank">torben@klimt-online.com</a><br>
<b>Cc:</b> <a href="mailto:app_rpt-users@ohnosec.org" target="_blank">app_rpt-users@ohnosec.org</a><br>
<b>Betreff:</b> RE: [App_rpt-users] IPs don`t update<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>
<div dir="ltr"><font face="Tahoma">I am not clear on what you said. Is it your nodes or the node database that is not being updated? Nodes are updated by a script called 'updatenodelist' This should be running on your system. do 'PS AX | grep updatenodelist'
at the linux prompt and see if it is running. The nodes database is put in /var/lib/asterisk/rpt_extnodes
<br>
<br>
If it is your node that does not update then.... <br>
<br>
When this happens do 'iax2 show registry' in the asterisk client. Does it show registered and your new IP address?<br>
<br>
You can force a registration with 'iax2 reload'<br>
<br>
Worst case you could do the 'iax2 reload' with a cron job when you detect an IP address change.<br>
<br>
</font><b><font style="FONT-SIZE:16pt" size="4">73 Doug</font><font style="FONT-SIZE:16pt" size="4"><br>
</font><font style="FONT-SIZE:16pt" size="4">WA3DSP</font><font style="FONT-SIZE:16pt" size="4"><br>
</font><font style="FONT-SIZE:16pt" size="4"><a href="http://www.crompton.com/hamradio" target="_blank">http://www.crompton.com/hamradio</a></font></b><font style="FONT-SIZE:16pt" size="4"><br>
</font><br>
<br>
<div>> From: <a href="mailto:torben@klimt-online.com" target="_blank">torben@klimt-online.com</a><br>
> To: <a href="mailto:app_rpt-users@ohnosec.org" target="_blank">app_rpt-users@ohnosec.org</a><br>
> Date: Wed, 26 Mar 2014 22:50:57 +0100<br>
> Subject: [App_rpt-users] IPs don`t update<br>
> <br>
> Hi all,<br>
> i set up an new allstarlink node and now i have the problem that the IPs of the other allstarlink nodes not update.<br>
> After restart the machine the IPs in the Database are correct and I can connect to my other nodes. But after 24h my nodes get new IPs from the Internetprovider and then it is no longer possible cause the new allstarlink node should always try to reach the
old IP address. <br>
> I think there is a problem by updating the allstarlink nodenumber - IP address database<br>
> Where is the file located or what can I do for debugging or better fix the problem<br>
> <br>
> Tnx 73...<br>
> _______________________________________________<br>
> App_rpt-users mailing list<br>
> <a href="mailto:App_rpt-users@ohnosec.org" target="_blank">App_rpt-users@ohnosec.org</a><br>
> <a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a><br>
> <br>
> To unsubscribe from this list please visit <a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a> and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"<br>
> You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
<br>
> <br>
</div>
</div>
</div>
</div></div></div>
</div>
<br>_______________________________________________<br>
App_rpt-users mailing list<br>
<a href="mailto:App_rpt-users@ohnosec.org">App_rpt-users@ohnosec.org</a><br>
<a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a><br>
<br>
To unsubscribe from this list please visit <a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a> and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"<br>
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem. <br></blockquote></div><br></div>