[App_rpt-users] internal node: more help needed
Ken
ke2n at cs.com
Sun Jul 18 19:48:27 UTC 2010
I found that if I modify rpt_extnodes as follows, it will connect
[extnodes]
1625 = radio at 192.168.1.109/1625,127.0.0.1
2000 = radio at 67.215.233.178/2000,67.215.233.178
2001 = radio at 64.118.102.138:4569/2001,64.118.102.138
2002 = radio at 64.118.103.70:4569/2002,64.118.103.70
2003 = radio at 64.118.103.71:4569/2003,64.118.103.71
2004 = radio at 64.118.103.71:4569/2004,64.118.103.71
2005 = radio at 64.118.103.70:4569/2005,64.118.103.70,y
... etc etc ...
Of course, after a while this gets over-written ... but the node stays
connected
===============================
So - here is everything
Description -
1625 - intended to be a non-registered node for the weather radio, uses a
fob (which works)
27061 - a happily registered allstar node
Both running on the same computer
I want to connect 27061 to 1625 (or vice versa)
This was the first step ... before trying to connect it to a different
computer on the same sub net.
After making any change I do astdn.sh/astup.sh
Rpt.conf looks like:
; Radio Repeater configuration file (for use with app_rpt)
; version 255
;
; W4BRM Repeater - Atom Dual Core
; actually there is no 927 machine connected - yet
; ================weather radio===============
;
[1625]
1625 = radio at 192.168.1.109/1625,NONE ;
rxchannel = Radio/usb1625 ; Rx audio/signalling channel
irxgain=-3 ; IRLP receive gain adjustment
default -10
; Note: Gain is in db-volts
(20logVI/VO)
itxgain=3 ; IRLP transmit gain adjustment
default +10
; Note: Gain is in db-volts
(20logVI/VO)
erxgain=-3 ; Echolink receive gain adjustment
; Note: Gain is in db-volts
(20logVI/VO)
etxgain=3 ; Echolink transmit gain adjustment
; Note: Gain is in db-volts
(20logVI/VO)
controlstates=controlstates ; system control state list
scheduler=schedule; ; scheduler entries
functions=functions ; Repeater Function Table
phone_functions=functions ; Repeater Function Table
link_functions=functions ; Link Function Table
telemetry=telemetry ; Telemetry descriptions
wait_times=wait-times ; Wait times
context = radio ; dialing context for phone
callerid = "Repeater" <0000000000> ; callerid for phone calls
;idrecording = none ; Main ID message
/var/lib/asterisk/sounds/
;tailmessagelist=welcome,clubmeeting,wx ; need to record some
accountcode=RADIO ; account code (optional)
hangtime=1000 ; squelch tail hang time (in ms)
(optional)
althangtime=4000 ; longer squelch tail
totime=170000 ; transmit time-out time (in ms)
(optional)
;totime=10000
idtime=900000 ; id interval time (in ms)
(optional)
;tailmessagetime=900000 ;15 minutes between tail messages
; 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=60000 ; time in milliseconds before ID timer
; expires to try and ID in the tail.
; (optional, default is 30000).
;idtalkover=|iW4BRM/L ; Talkover ID (optional) default is
none
unlinkedct=ct1 ; unlinked courtesy tone (optional) default
is none
remotect=ct3 ; remote linked courtesy tone
(indicates a remote is in the list of links)
linkunkeyct=ct8 ; sent when a transmission received over the
link unkeys
; no status reporting needed
;=====the 927 MHz repeater ======================================
[27061] ; this is the allstar number for node 2
rxchannel = Radio/usb27061 ; Rx audio/signalling channel
irxgain=-3 ; IRLP receive gain adjustment
default -10
; Note: Gain is in db-volts
(20logVI/VO)
itxgain=3 ; IRLP transmit gain adjustment
default +10
; Note: Gain is in db-volts
(20logVI/VO)
erxgain=-3 ; Echolink receive gain adjustment
; Note: Gain is in db-volts
(20logVI/VO)
etxgain=3 ; Echolink transmit gain adjustment
; Note: Gain is in db-volts
(20logVI/VO)
controlstates=controlstates ; system control state list
scheduler=schedule; ; scheduler entries
functions=functions ; Repeater Function Table
phone_functions=functions ; Repeater Function Table
link_functions=functions ; Link Function Table
telemetry=telemetry ; Telemetry descriptions
wait_times=wait-times ; Wait times
context = radio ; dialing context for phone
callerid = "Repeater" <0000000000> ; callerid for phone calls
;idrecording = none ; Main ID message
/var/lib/asterisk/sounds/
;tailmessagelist=welcome,clubmeeting,wx ; need to record some
accountcode=RADIO ; account code (optional)
hangtime=1000 ; squelch tail hang time (in ms)
(optional)
althangtime=4000 ; longer squelch tail
totime=170000 ; transmit time-out time (in ms)
(optional)
;totime=10000
idtime=900000 ; id interval time (in ms)
(optional)
;tailmessagetime=900000 ;15 minutes between tail messages
; 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=60000 ; time in milliseconds before ID timer
; expires to try and ID in the tail.
; (optional, default is 30000).
idtalkover=|iW4BRM/L ; Talkover ID (optional) default is
none
unlinkedct=ct1 ; unlinked courtesy tone (optional) default
is none
remotect=ct3 ; remote linked courtesy tone
(indicates a remote is in the list of links)
linkunkeyct=ct8 ; sent when a transmission received over the
link unkeys
;nolocallinkct=0 ; Send unlinkedct instead if another
local node is connected to this node (hosted on the same PC).
;irplann=1 ; Default: 1 = Play irlp connect and
disconnect announcements
; 0 = Disable irlp connect and
disconnect announcements
;eannmode=1 ; Default: 1 = Say only node number
on echolink connects
; 2 = say phonetic call sign only on
echolink connects
; 3 = say phonetic call sign and
node number on echolink connects
;connpgm=yourconnectprogram ; Default: Disabled. Execute a
program you specify on connect.
; passes 2 command line arguments to
your program:
; 1. node number in this stanza (us)
; 2. node number being connected to
us (them)
;discpgm=yourdisconnectprogram ; Default: Disabled. Execute a program you
specify on disconnect.
; passes 2 command line arguments to
your program:
; 1. node number in this stanza (us)
; 2. node number being disconnected
from us (them)
;linkactenable=0 ; Set to 1 to enable the link
activity timer. Applicable to standard nodes only.
;lnkacttime=1800 ; Link activity timer time in
seconds.
;lnkactmacro=*52 ; Function to execute when link
activity timer expires.
;lnkacttimerwarn=30seconds ; Message to play when the link
activity timer has 30 seconds left.
;remote_inact_timeout=1800 ; Inactivity timer for remote base
nodes only (set to 0 to disable).
;remote_timeout=3600 ; Session time out for remote base.
(set to 0 to disable)
;nounkeyct=0 ; Set to a 1 to eliminate courtesy
tones and associated delays.
;holdofftelem=0 ; Hold off all telemetry when signal is
present on receiver or from connected nodes
; ; except when an ID needs to be done
and there is a signal coming from a connected node.
;beaconing=0 ; Send ID regardless of repeater
activity (Required in the UK, but probably illegal in the US)
;
;
; *** Status Reporting *** second node
;
; Uncomment the either group following two statpost lines to report the
status of your node to stats.allstarlink.org
; depending on whether you are running ACID or Limey Linux.
; ** For ACID ***
statpost_program=/usr/bin/wget,-q,--timeout=15,--tries=1,--output-document=/
dev/null
statpost_url=http://stats.allstarlink.org/uhandler.php ; Status updates
; ** For Limey Linux **
;statpost_program=/bin/wget,-q,--timeout=15,--tries=1,--output-document=/dev
/null
;statpost_url=http://stats.allstarlink.org/uhandler.php ; Status updates
;================================================
[functions]
1=ilink,1 ; Specific link disconnect
2=ilink,2 ; Specific Link connect - monitor
only
3=ilink,3 ; Specific Link connect - transceive
4=ilink,4 ; Enter command mode on a specific
link
5=macro,1 ; Command macros (Defined in the
macro section)
(etc)
(etc)
----------------------------------------------------------------------------
---
Extensions.conf has this in it
general]
static=yes ; These two lines prevent the command-line interface
writeprotect=yes ; from overwriting the config file. Leave them here.
[globals]
VOIPTERM=yourprovider
HOMENPA=619
NODE=27061
[default]
exten => _1NXXNXXXXXX,1,Dial(IAX2/${VOIPTERM}/${EXTEN},40,L(180000:30000))
exten => _1NXXNXXXXXX,2,Hangup
[radio-secure]
exten => 1625,1,rpt,1625
exten => 27061,1,rpt,27061
[invalidnum]
exten=s,1,Wait,3
exten=s,n,Playback,ss-noservice
exten=s,n,Wait,1
exten=s,n,Hangup
(etc)
(etc)
---end of the new posting
---------------------------------------------------------
> -----Original Message-----
> From: Stephen Rodgers [mailto:sales at qrvc.com]
> Sent: Sunday, July 18, 2010 1:32 PM
> To: Ken
> Cc: app_rpt-users at qrvc.com
> Subject: Re: [App_rpt-users] internal node: more help needed
>
> Ken wrote:
> > OK - I added the LAN IP address to the node stanza
> > ?
> > ; ================weather radio===============
> > [1625] ; this is the internal number for node 2
> > 1625 = radio at 192.168.1.109/1625,NONE
> > ?
> > and since that didn't work I also added a line to extensions.conf
> > ?
> > [radio-secure]
> > exten => 1625,1,rpt,1625
> > exten => 27061,1,rpt,27061
> > ?
> > > but when I try to connect (unregistered) node 1625 to 27061 it
> fails<
> > looks like it is still going out port 5679 to the allstar
> registration server
> >
> > ?
> > ====
> > Connected to Asterisk SVN--r736 currently running on atom (pid =
> 4395)
> > Verbosity is at least 3
> > atom*CLI> rpt fun 1625 *327061
> > ??? -- Accepting UNAUTHENTICATED call from 127.0.0.1:
> > ?????? > requested format = gsm,
> > ?????? > requested prefs = (gsm|g726aal2|ulaw),
> > ?????? > actual format = g726aal2,
> > ?????? > host prefs = (g726aal2|gsm),
> > ?????? > priority = mine
> > ??? -- Call accepted by 127.0.0.1 (format g726aal2)
> > ??? -- Format for call is g726aal2
> > ??? -- Executing [27061 at radio-secure:1] Rpt("IAX2/127.0.0.1:4569-
> 820", "27061") in new stack
> > [Jul 18 11:24:06] WARNING[4498]: app_rpt.c:20669 rpt_exec: Reported
> node 1625 cannot be found!!
> > ? == Spawn extension (radio-secure, 27061, 1) exited non-zero on
> 'IAX2/127.0.0.1:4569-820'
> > ??? -- Hungup 'IAX2/127.0.0.1:4569-820'
> > ??? -- Hungup 'IAX2/127.0.0.1:4569-8371'
> > ??? -- Hungup 'Zap/pseudo-1055354295'
> > ??? -- Hungup 'Zap/pseudo-767036577'
> > ??? -- <Zap/pseudo-600898536> Playing 'rpt/node' (language 'en')
> > ??? -- <Zap/pseudo-600898536> Playing 'digits/2' (language 'en')
> > ??? -- <Zap/pseudo-600898536> Playing 'digits/7' (language 'en')
> > ??? -- <Zap/pseudo-600898536> Playing 'digits/0' (language 'en')
> > ??? -- <Zap/pseudo-600898536> Playing 'digits/6' (language 'en')
> > ??? -- <Zap/pseudo-600898536> Playing 'digits/1' (language 'en')
> > ??? -- <Zap/pseudo-600898536> Playing 'rpt/connection_failed'
> (language 'en')
> > ??? -- Hungup 'Zap/pseudo-600898536'
> > ========================================================
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> ---
> >
> > _______________________________________________
> > App_rpt-users mailing list
> > App_rpt-users at qrvc.com
> > http://qrvc.com/mailman/listinfo/app_rpt-users
>
> 1. Registation is irrelevant for private nodes.
> 2. Two smoking guns:
>
> > ??? -- Accepting UNAUTHENTICATED call from 127.0.0.1:
>
> > ??? -- Executing [27061 at radio-secure:1] Rpt("IAX2/127.0.0.1:4569-
> 820", "27061") in new stack
> > [Jul 18 11:24:06] WARNING[4498]: app_rpt.c:20669 rpt_exec: Reported
> node 1625 cannot be found!!
> > ? == Spawn extension (radio-secure, 27061, 1) exited non-zero on
> 'IAX2/127.0.0.1:4569-820'
>
>
> This node is trying to connect to itself.
>
> Suggest you post your rpt.conf files for review and comment to the
> group with the DTMF function stanzas removed.
>
> Steve
> WA6ZFT
>
>
>
>
More information about the App_rpt-users
mailing list