[App_rpt-users] Registration Refused

Tim Sawyer tim.sawyer at mac.com
Tue Aug 25 15:39:11 UTC 2009


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 at register.allstarlink.org
> register=A2529:0xxxxx at 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 at qrvc.com
> http://qrvc.com/mailman/listinfo/app_rpt-users
>
>
_______________________________________________
App_rpt-users mailing list
App_rpt-users at qrvc.com
http://qrvc.com/mailman/listinfo/app_rpt-users




More information about the App_rpt-users mailing list