[App_rpt-users] IPs don`t update
Doug Crompton
doug at crompton.com
Wed Apr 2 16:13:24 UTC 2014
Something is happening that causes it to go out of registration and it is not recovering.
A quick fix would be to reload iax2 with a cron job sometime early in the morning. Does this always happen during the night?
73 Doug
WA3DSP
http://www.crompton.com/hamradio
From: torben at klimt-online.com
To: doug at crompton.com
CC: app_rpt-users at ohnosec.org
Date: Wed, 2 Apr 2014 15:55:41 +0200
Subject: AW: AW: [App_rpt-users] IPs don`t update
hi,
no i think the internetconnection is ok a PiIRLP Node is running well since more then 10 month without problems but i find out something else; i only paste the screenshots so you can see what i did..
DB0CJ*CLI> iax2 show registry Host dnsmgr Username Perceived Refresh State 67.215.233.178:4569 N 40636 <Unregistered> 60 Request Sent DB0CJ*CLI> iax2 reload [Apr 2 15:47:27] NOTICE[15922]: chan_iax2.c:11430 set_config: Ignoring bindport on reload [Apr 2 15:47:27] NOTICE[15922]: chan_iax2.c:11489 set_config: Ignoring bindaddr on reload [Apr 2 15:47:27] WARNING[15922]: acl.c:345 ast_append_ha: is not a valid IP == Loaded firmware 'iaxy.bin' DB0CJ*CLI>
now i do a reboot, nothing else
DB0CJ*CLI> iax2 show registryHost dnsmgr Username Perceived Refresh State 67.215.233.178:4569 N 40636 88.217.73.123:4569 60 RegisteredDB0CJ*CLI> iax2 reload [Apr 2 15:52:51] NOTICE[2664]: chan_iax2.c:11430 set_config: Ignoring bindport on reload [Apr 2 15:52:51] NOTICE[2664]: chan_iax2.c:11489 set_config: Ignoring bindaddr on reload [Apr 2 15:52:51] WARNING[2664]: acl.c:345 ast_append_ha: is not a valid IP == Loaded firmware 'iaxy.bin' -- Registered IAX2 to '67.215.233.178', who sees us as 88.217.73.123:4569 with no messages waiting DB0CJ*CLI>
now the node runs for about 24h and after that look first entry :-(
greetings
Von: hotmail_97fc649978f54bf0 at live.com [hotmail_97fc649978f54bf0 at live.com] im Auftrag von Doug Crompton [doug at crompton.com]
Gesendet: Montag, 31. März 2014 15:50
An: torben at klimt-online.com
Cc: app_rpt-users at ohnosec.org
Betreff: RE: AW: [App_rpt-users] IPs don`t update
Torben,
It just sounds like you have a poor Internet connection. Do you have problems with other connections? You should try pinging the IP address of the node you are trying to connect to and see over time if you have packet loss.
73 Doug
WA3DSP
http://www.crompton.com/hamradio
From: torben at klimt-online.com
To: rpt2 at chuck.midlandsnetworking.com
CC: app_rpt-users at ohnosec.org; doug at crompton.com
Date: Mon, 31 Mar 2014 09:05:50 +0200
Subject: AW: [App_rpt-users] IPs don`t update
tnx chuck, but in the moment the scripts runs well and update all the time.
the problem in the moment:
i connect to an node and all runs well but after some time i get ....
-- Hungup 'Zap/pseudo-740472736' [Mar 31 00:03:53] NOTICE[2576]: chan_iax2.c:4071 __auto_congest: Auto-congesting call due to slow response -- Hungup 'IAX2/141.75.245.244:4569-14285' -- rpt (attempt_reconnect) initiating call to IAX2/radio at 141.75.245.244:4569/2398 on IAX2/141.75.245.244:4569-4318[Mar 31 00:04:00] WARNING[2594]: app_rpt.c:18479 attempt_reconnect: Reconnect Attempt to 2398 in process[Mar 31 00:04:04] NOTICE[2575]: chan_iax2.c:4071 __auto_congest: Auto-congesting call due to slow response -- Hungup 'IAX2/141.75.245.244:4569-4318' -- rpt (attempt_reconnect) initiating call to IAX2/radio at 141.75.245.244:4569/2398 on IAX2/141.75.245.244:4569-11955[Mar 31 00:04:12] WARNING[2594]: app_rpt.c:18479 attempt_reconnect: Reconnect Attempt to 2398 in process[Mar 31 00:04:16] NOTICE[2576]: chan_iax2.c:4071 __auto_congest: Auto-congesting call due to slow response -- Hungup 'IAX2/141.75.245.244:4569-11955' -- rpt (attempt_reconnect) initiating call to IAX2/radio at 141.75.245.244:4569/2398 on IAX2/141.75.245.244:4569-15295[Mar 31 00:04:23] WARNING[2594]: app_rpt.c:18479 attempt_reconnect: Reconnect Attempt to 2398 in process[Mar 31 00:04:27] NOTICE[2571]: chan_iax2.c:4071 __auto_congest: Auto-congesting call due to slow response -- Hungup 'IAX2/141.75.245.244:4569-15295'
the public node ip is always the same in this cause so it can`t be the updatenodelist script :-(
73...
Von: Chuck Henderson [rpt2 at chuck.midlandsnetworking.com]
Gesendet: Freitag, 28. März 2014 18:35
An: torben at klimt-online.com
Cc: app_rpt-users at ohnosec.org; Doug Crompton
Betreff: Re: [App_rpt-users] IPs don`t update
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
On Thu, Mar 27, 2014 at 2:32 AM,
torben at klimt-online.com <torben at klimt-online.com> wrote:
hi doug,
tnx for your answer. the probelm is that the file "/var/lib/asterisk/rpt_extnodes" don`t update.
i do an ps ax | grep updatenodelist and get
[root at DB0CJ asterisk]# ps ax | grep updatenodelist 2545 ? S 0:00 /bin/bash /etc/rc.d/rc.updatenodelist
5080 pts/0 S+ 0:00 grep updatenodelist [root at DB0CJ asterisk]#
if i do an ./rc.updatenodelist in the /etc/rc.d/ nothing happen :-( i must break with CTRL+C :-(
i think here is the problem..
greetings torben dh6mbt
Von:
hotmail_97fc649978f54bf0 at live.com [hotmail_97fc649978f54bf0 at live.com] im Auftrag von Doug Crompton [doug at crompton.com]
Gesendet: Mittwoch, 26. März 2014 23:55
An: torben at klimt-online.com
Cc: app_rpt-users at ohnosec.org
Betreff: RE: [App_rpt-users] IPs don`t update
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
If it is your node that does not update then....
When this happens do 'iax2 show registry' in the asterisk client. Does it show registered and your new IP address?
You can force a registration with 'iax2 reload'
Worst case you could do the 'iax2 reload' with a cron job when you detect an IP address change.
73 Doug
WA3DSP
http://www.crompton.com/hamradio
> From: torben at klimt-online.com
> To: app_rpt-users at ohnosec.org
> Date: Wed, 26 Mar 2014 22:50:57 +0100
> Subject: [App_rpt-users] IPs don`t update
>
> Hi all,
> i set up an new allstarlink node and now i have the problem that the IPs of the other allstarlink nodes not update.
> 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.
> I think there is a problem by updating the allstarlink nodenumber - IP address database
> Where is the file located or what can I do for debugging or better fix the problem
>
> Tnx 73...
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
>
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
>
> To unsubscribe from this list please visit
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
> 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.
>
_______________________________________________
App_rpt-users mailing list
App_rpt-users at ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20140402/373c1a37/attachment.html>
More information about the App_rpt-users
mailing list