[music playing in the background] you have entered the twilight zone... or is it the toilet zone.. im not sure Well, congradulations! You have found yet another bug in Asterisk. For some odd reason, which I havent even attempted to try to understand and have no intention to, either, when you use the username of 'A2529' the mysql-based authentication does not properly match the md5 checksums and it WONT login. Poop! So, I changed your node number to 2535. I hope this is okay. Usually, when I find bugs like this, I fix them, but I dont see how its worth it in this case. So dont feel bad, its not anything you have done other then being in the wrong place at the wrong time and getting the 'lemon'. :-) JIM WB6NIL
From: tim.sawyer@mac.com To: app_rpt-users@qrvc.com Date: Tue, 25 Aug 2009 09:34:23 -0700 Subject: Re: [App_rpt-users] Registration Refused
... and this is my nodes stanza
[nodes] 2528 = radio@127.0.0.1/2528,NONE ; VHF 2529 = radio@127.0.0.1/2529,NONE ; UHF
-- Tim :wq
On Aug 25, 2009, at 8:39 AM, Tim Sawyer wrote:
Thanks Jon,
I removed the second statpost_program and restarted asterisk but it still is not reporting. Here are my two node stanzas:
[2528] ; Change this to your assigned node number
rxchannel = Radio/usb ; Rx audio/signalling channel controlstates=controlstates ; system control state list scheduler=schedule; ; scheduler entries functions=functions ; Repeater Function Table phone_functions=functions ; Repeater Function Table link_functions=link-functions ; Link Function Table telemetry=telemetry ; Telemetry descriptions wait_times=wait-times ; Wait times context = radio ; dialing context for phone callerid = "WD6AWP Repeater" <7140000000> ; callerid for phone calls ; idrecording = |iwd6awp/r ; Main ID message idrecording = /etc/asterisk/wd6awp-r ; Main ID message accountcode=RADIO ; account code (optional) hangtime=1000 ; squelch tail hang time (in ms) (optional) althangtime=5000 ; longer squelch tail totime=1200000 ; transmit time-out time (in ms) (optional) idtime=540000 ; id interval time (in ms) (optional) ; The default values for hangtime, time-out time, and id interval time are ; 5 seconds (5000 ms), 3 minutes (180000 ms), and 5 minutes (300000 ms) ; respectively
politeid=30000 ; time in milliseconds before ID timer
; expires to try and ID in the tail. ; (optional, default is 30000). idtalkover=|iwd6awp/r ; Talkover ID (optional) default is none unlinkedct=ct9 ; unlinked courtesy tone (optional) default is none remotect=ct3 linkunkeyct=ct1 statpost_program=/usr/bin/wget,-q,--output-document=/dev/null statpost_url=http://stats.allstarlink.org/uhandler.php erxgain=-3.0 ; defaults to -3.0 db etxgain=3.0 ; defaults to 3.0 db. irxgain=-3.0 ; defaults to -10.0 db itxgain=3.0 ; defaults to 10.0 db. macro = mymacros
[2529] ; Change this to your assigned node number
rxchannel = Radio/usb1 ; Rx audio/signalling channel controlstates=controlstates ; system control state list scheduler=schedule; ; scheduler entries functions=functions ; Repeater Function Table phone_functions=functions ; Repeater Function Table link_functions=link-functions ; Link Function Table telemetry=telemetry ; Telemetry descriptions wait_times=wait-times ; Wait times context = radio ; dialing context for phone callerid = "WD6AWP Repeater" <7140000000> ; callerid for phone calls ; idrecording = |iwd6awp/r ; Main ID message idrecording = /etc/asterisk/wd6awp-r ; Main ID message accountcode=RADIO ; account code (optional) hangtime=1000 ; squelch tail hang time (in ms) (optional) althangtime=5000 ; longer squelch tail totime=1200000 ; transmit time-out time (in ms) (optional) idtime=540000 ; id interval time (in ms) (optional) ; The default values for hangtime, time-out time, and id interval time are ; 5 seconds (5000 ms), 3 minutes (180000 ms), and 5 minutes (300000 ms) ; respectively
politeid=30000 ; time in milliseconds before ID timer
; expires to try and ID in the tail. ; (optional, default is 30000). idtalkover=|iwd6awp/r ; Talkover ID (optional) default is none unlinkedct=ct9 ; unlinked courtesy tone (optional) default is none remotect=ct3 linkunkeyct=ct1 ; statpost_program=/usr/bin/wget,-q,--output-document=/dev/null statpost_url=http://stats.allstarlink.org/uhandler.php erxgain=-3.0 ; defaults to -3.0 db etxgain=3.0 ; defaults to 3.0 db. irxgain=-3.0 ; defaults to -10.0 db itxgain=3.0 ; defaults to 10.0 db. macro = mymacros
-- Tim :wq
On Aug 25, 2009, at 7:15 AM, Jon Rorke wrote:
If you are doing a 2 node system, then you also need to set up the rpt.conf file to report both nodes separately.
Your IAX file is most likely ok.
In you rpt conf file you need to have the reporting lines in each node stanza.
eg:
[first node] (node 1 config stuff)
Add the stat post lines as per normal:
statpost_program=/usr/bin/wget,-q,--timeout=15,--tries=1,--output- document=/dev/null ; get Allstar updates for node look up statpost_url=http://stats.allstarlink.org/uhandler.php ; Report this node to Allstar stats page
And at the end of the second node just add this line:
[second node] (node 2 config stuff)
statpost_url=http://stats.allstarlink.org/uhandler.php ; Report this node to Allstar stats page
Note that the line for getting node updates must not be here. Only the line that reports to the Allstar server.
Hope this helps.
Jon VA3RQ
Tim Sawyer wrote:
I'm setting up a second node for the first time and it won't register.
/etc/asterisk/iax.conf: [general] register=A2528:0xxxxx@register.allstarlink.org register=A2529:0xxxxx@register.allstarlink.org
/var/log/astersik/messages: [Aug 25 05:41:57] NOTICE[16131] chan_iax2.c: Registration of 'A2529' rejected: 'Registration Refused' from: 'xxx.xxx.xxx.xxx' [Aug 25 05:42:47] NOTICE[16129] chan_iax2.c: Registration of 'A2529' rejected: 'Registration Refused' from: 'xxx.xxx.xxx.xxx' [Aug 25 05:43:37] NOTICE[16128] chan_iax2.c: Registration of 'A2529' rejected: 'Registration Refused' from: 'xxx.xxx.xxx.xxx'
I've confirmed the new password and tripple check my conf files. The new node is otherwise working. Any ideas?
Thanks, -- Tim, WD6AWP :wq
_______________________________________________ App_rpt-users mailing list App_rpt-users@qrvc.com http://qrvc.com/mailman/listinfo/app_rpt-users
_______________________________________________ App_rpt-users mailing list App_rpt-users@qrvc.com http://qrvc.com/mailman/listinfo/app_rpt-users
_______________________________________________ App_rpt-users mailing list App_rpt-users@qrvc.com http://qrvc.com/mailman/listinfo/app_rpt-users
_______________________________________________ App_rpt-users mailing list App_rpt-users@qrvc.com http://qrvc.com/mailman/listinfo/app_rpt-users