Topics

Help after editing rpt.conf. Not sure why?


Ted Lawrence
 

New here still learning my way around AllStar and DV-Switch . I get the following message after running systemctl status asterisk:

● asterisk.service - Asterisk PBX and telephony daemon

   Loaded: loaded (/lib/systemd/system/asterisk.service; enabled; vendor preset: enabled)

   Active: activating (auto-restart) (Result: exit-code) since Mon 2019-12-30 19:53:48 EST; 8s ago

     Docs: man:asterisk(8)

  Process: 3471 ExecStop=/usr/sbin/asterisk -rx stop now (code=exited, status=1/FAILURE)

  Process: 3441 ExecStart=/usr/sbin/asterisk -g -f -C /etc/asterisk/asterisk.conf (code=exited, status=1/FAILURE)

 Main PID: 3441 (code=exited, status=1/FAILURE)

This occurred in error after editing 
rpt.conf.  I must have made an error somewhere.  Not sure?

Thanks,
Ted KD4EG 


Steve N4IRS
 

I would say yes you did.
As root:
cd /etc/asterisk
systemctl stop asterisk
asterisk -vcd
watch the screen, see if you can catch what your error is.

Steve N4IRS

On 12/30/19 8:00 PM, Ted Lawrence via Groups.Io wrote:
New here still learning my way around AllStar and DV-Switch . I get the following message after running systemctl status asterisk:

● asterisk.service - Asterisk PBX and telephony daemon

   Loaded: loaded (/lib/systemd/system/asterisk.service; enabled; vendor preset: enabled)

   Active: activating (auto-restart) (Result: exit-code) since Mon 2019-12-30 19:53:48 EST; 8s ago

     Docs: man:asterisk(8)

  Process: 3471 ExecStop=/usr/sbin/asterisk -rx stop now (code=exited, status=1/FAILURE)

  Process: 3441 ExecStart=/usr/sbin/asterisk -g -f -C /etc/asterisk/asterisk.conf (code=exited, status=1/FAILURE)

 Main PID: 3441 (code=exited, status=1/FAILURE)

This occurred in error after editing 
rpt.conf.  I must have made an error somewhere.  Not sure?

Thanks,
Ted KD4EG 



Ted Lawrence
 

On Mon, Dec 30, 2019 at 06:01 PM, Steve N4IRS wrote:
asterisk -vcd
Here is the response 

AllStarLink Asterisk Version 1.01 2/13/2018 GIT Version adaec47

Copyright (C) 1999 - 2018 Digium, Inc. Jim Dixon, AllStarLink Inc. and others.

Created by Mark Spencer <markster@...>

Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.

This is free software, with components licensed under the GNU General Public

License version 2 and other licenses; you are welcome to redistribute it under

certain conditions. Type 'core show license' for details.

=========================================================================

Parsing /etc/asterisk/asterisk.conf

Parsing /etc/asterisk/logger.conf

Asterisk Event Logger Started /var/log/asterisk/event_log

Asterisk Dynamic Loader Starting:

[Dec 31 07:12:04] NOTICE[25949]: dnsmgr.c:394 do_reload: Managed DNS entries will be refreshed every 300 seconds.

Asterisk Management interface listening on port 5038

[Dec 31 07:12:04] NOTICE[25949]: cdr.c:1416 do_reload: CDR simple logging enabled.

Asterisk PBX Core Initializing

Registering builtin applications:

 [Answer]

 [BackGround]

 [Busy]

 [Congestion]

 [Goto]

 [GotoIf]

 [GotoIfTime]

 [ExecIfTime]

 [Hangup]

 [NoOp]

 [Progress]

 [ResetCDR]

 [Ringing]

 [SayNumber]

 [SayDigits]

 [SayAlpha]

 [SayPhonetic]

 [SetAMAFlags]

 [SetGlobalVar]

 [Set]

 [ImportVar]

 [Wait]

 [WaitExten]

Asterisk Dynamic Loader Starting:

[Dec 31 07:12:04] NOTICE[25949]: loader.c:874 load_modules: 56 modules will be loaded.

res_adsi.so => (ADSI Resource)

res_crypto.so => (Cryptographic Digital Signatures)

res_features.so => (Call Features Resource)

res_indications.so => (Indications Resource)

app_authenticate.so => (Authentication Application)

app_dial.so => (Dialing Application)

app_exec.so => (Executes dialplan applications)

app_macro.so => (Extension Macros)

app_playback.so => (Sound File Playback Application)

app_rpt.so => (Radio Repeater/Remote Base Application)

app_sendtext.so => (Send Text Applications)

app_system.so => (Generic System() application)

app_transfer.so => (Transfer)

chan_dahdi.so => (DAHDI Telephony)

chan_iax2.so => (Inter Asterisk eXchange (Ver 2))

chan_local.so => (Local Proxy Channel (Note: used internally by other modules))

chan_usrp.so => (USRP Channel Module)

codec_adpcm.so => (Adaptive Differential PCM Coder/Decoder)

codec_alaw.so => (A-law Coder/Decoder)

codec_a_mu.so => (A-law and Mulaw direct Coder/Decoder)

codec_g722.so => (ITU G.722-64kbps G722 Transcoder)

codec_g726.so => (ITU G.726-32kbps G726 Transcoder)

codec_gsm.so => (GSM Coder/Decoder)

codec_ulaw.so => (mu-Law Coder/Decoder)

codec_ilbc.so => (iLBC Coder/Decoder)

format_g723.so => (G.723.1 Simple Timestamp File Format)

format_g726.so => (Raw G.726 (16/24/32/40kbps) data)

format_g729.so => (Raw G729 data)

format_gsm.so => (Raw GSM data)

format_h263.so => (Raw H.263 data)

format_h264.so => (Raw H.264 data)

format_ilbc.so => (Raw iLBC data)

format_pcm.so => (Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G.722 16Khz)

format_sln.so => (Raw Signed Linear Audio support (SLN))

format_vox.so => (Dialogic VOX (ADPCM) File Format)

format_wav_gsm.so => (Microsoft WAV format (Proprietary GSM))

format_wav.so => (Microsoft WAV format (8000Hz Signed Linear))

func_base64.so => (base64 encode/decode dialplan functions)

func_callerid.so => (Caller ID related dialplan function)

func_cdr.so => (CDR dialplan function)

func_channel.so => (Channel information dialplan function)

func_curl.so => (Load external URL)

func_cut.so => (Cut out information from a string)

func_db.so => (Database (astdb) related dialplan functions)

func_enum.so => (ENUM related dialplan functions)

func_env.so => (Environment/filesystem dialplan functions)

func_global.so => (Global variable dialplan functions)

func_groupcount.so => (Channel group dialplan functions)

func_language.so => (Channel language dialplan function)

func_logic.so => (Logical dialplan functions)

func_math.so => (Mathematical dialplan function)

func_md5.so => (MD5 digest dialplan functions)

func_moh.so => (Music-on-hold dialplan function)

func_rand.so => (Random number dialplan function)

func_realtime.so => (Read/Write values from a RealTime repository)

pbx_config.so => (Text Extension Configuration)

Asterisk Ready.

*CLI> [Dec 31 07:12:05] NOTICE[25955]: app_rpt.c:22184 rpt_master: Normal Repeater Init  1999    

[Dec 31 07:12:05] NOTICE[25955]: app_rpt.c:22184 rpt_master: Normal Repeater Init  505501    

[Dec 31 07:12:05] WARNING[25971]: chan_usrp.c:278 usrp_alloc: Unable to bind port for usrp connection

rpt:Sorry unable to obtain Rx channel

Beginning asterisk shutdown....

Executing last minute cleanups

Asterisk cleanly ending (0).


Steve N4IRS
 

[Dec 31 07:12:05] WARNING[25971]: chan_usrp.c:278 usrp_alloc: Unable to bind port for usrp connection

Check your USRP port settings.

On 12/31/19 7:15 AM, Ted Lawrence via Groups.Io wrote:
On Mon, Dec 30, 2019 at 06:01 PM, Steve N4IRS wrote:
asterisk -vcd
Here is the response 

AllStarLink Asterisk Version 1.01 2/13/2018 GIT Version adaec47

Copyright (C) 1999 - 2018 Digium, Inc. Jim Dixon, AllStarLink Inc. and others.

Created by Mark Spencer <markster@...>

Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.

This is free software, with components licensed under the GNU General Public

License version 2 and other licenses; you are welcome to redistribute it under

certain conditions. Type 'core show license' for details.

=========================================================================

Parsing /etc/asterisk/asterisk.conf

Parsing /etc/asterisk/logger.conf

Asterisk Event Logger Started /var/log/asterisk/event_log

Asterisk Dynamic Loader Starting:

[Dec 31 07:12:04] NOTICE[25949]: dnsmgr.c:394 do_reload: Managed DNS entries will be refreshed every 300 seconds.

Asterisk Management interface listening on port 5038

[Dec 31 07:12:04] NOTICE[25949]: cdr.c:1416 do_reload: CDR simple logging enabled.

Asterisk PBX Core Initializing

Registering builtin applications:

 [Answer]

 [BackGround]

 [Busy]

 [Congestion]

 [Goto]

 [GotoIf]

 [GotoIfTime]

 [ExecIfTime]

 [Hangup]

 [NoOp]

 [Progress]

 [ResetCDR]

 [Ringing]

 [SayNumber]

 [SayDigits]

 [SayAlpha]

 [SayPhonetic]

 [SetAMAFlags]

 [SetGlobalVar]

 [Set]

 [ImportVar]

 [Wait]

 [WaitExten]

Asterisk Dynamic Loader Starting:

[Dec 31 07:12:04] NOTICE[25949]: loader.c:874 load_modules: 56 modules will be loaded.

res_adsi.so => (ADSI Resource)

res_crypto.so => (Cryptographic Digital Signatures)

res_features.so => (Call Features Resource)

res_indications.so => (Indications Resource)

app_authenticate.so => (Authentication Application)

app_dial.so => (Dialing Application)

app_exec.so => (Executes dialplan applications)

app_macro.so => (Extension Macros)

app_playback.so => (Sound File Playback Application)

app_rpt.so => (Radio Repeater/Remote Base Application)

app_sendtext.so => (Send Text Applications)

app_system.so => (Generic System() application)

app_transfer.so => (Transfer)

chan_dahdi.so => (DAHDI Telephony)

chan_iax2.so => (Inter Asterisk eXchange (Ver 2))

chan_local.so => (Local Proxy Channel (Note: used internally by other modules))

chan_usrp.so => (USRP Channel Module)

codec_adpcm.so => (Adaptive Differential PCM Coder/Decoder)

codec_alaw.so => (A-law Coder/Decoder)

codec_a_mu.so => (A-law and Mulaw direct Coder/Decoder)

codec_g722.so => (ITU G.722-64kbps G722 Transcoder)

codec_g726.so => (ITU G.726-32kbps G726 Transcoder)

codec_gsm.so => (GSM Coder/Decoder)

codec_ulaw.so => (mu-Law Coder/Decoder)

codec_ilbc.so => (iLBC Coder/Decoder)

format_g723.so => (G.723.1 Simple Timestamp File Format)

format_g726.so => (Raw G.726 (16/24/32/40kbps) data)

format_g729.so => (Raw G729 data)

format_gsm.so => (Raw GSM data)

format_h263.so => (Raw H.263 data)

format_h264.so => (Raw H.264 data)

format_ilbc.so => (Raw iLBC data)

format_pcm.so => (Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G.722 16Khz)

format_sln.so => (Raw Signed Linear Audio support (SLN))

format_vox.so => (Dialogic VOX (ADPCM) File Format)

format_wav_gsm.so => (Microsoft WAV format (Proprietary GSM))

format_wav.so => (Microsoft WAV format (8000Hz Signed Linear))

func_base64.so => (base64 encode/decode dialplan functions)

func_callerid.so => (Caller ID related dialplan function)

func_cdr.so => (CDR dialplan function)

func_channel.so => (Channel information dialplan function)

func_curl.so => (Load external URL)

func_cut.so => (Cut out information from a string)

func_db.so => (Database (astdb) related dialplan functions)

func_enum.so => (ENUM related dialplan functions)

func_env.so => (Environment/filesystem dialplan functions)

func_global.so => (Global variable dialplan functions)

func_groupcount.so => (Channel group dialplan functions)

func_language.so => (Channel language dialplan function)

func_logic.so => (Logical dialplan functions)

func_math.so => (Mathematical dialplan function)

func_md5.so => (MD5 digest dialplan functions)

func_moh.so => (Music-on-hold dialplan function)

func_rand.so => (Random number dialplan function)

func_realtime.so => (Read/Write values from a RealTime repository)

pbx_config.so => (Text Extension Configuration)

Asterisk Ready.

*CLI> [Dec 31 07:12:05] NOTICE[25955]: app_rpt.c:22184 rpt_master: Normal Repeater Init  1999    

[Dec 31 07:12:05] NOTICE[25955]: app_rpt.c:22184 rpt_master: Normal Repeater Init  505501    

[Dec 31 07:12:05] WARNING[25971]: chan_usrp.c:278 usrp_alloc: Unable to bind port for usrp connection

rpt:Sorry unable to obtain Rx channel

Beginning asterisk shutdown....

Executing last minute cleanups

Asterisk cleanly ending (0).



Ted Lawrence
 

This is what I have: 

[505501]                                ; Change this to your assigned node number

 

                                        ; Must also be enabled in modules.conf

                                        ; Rx audio/signalling channel. Choose ONLY 1 per node stanza

 

                                        ; Enable the selected channel driver in modules.conf !!!

; rxchannel = dahdi/pseudo              ; No radio (hub)

; rxchannel = SimpleUSB/usb_505501      ; SimpleUSB

; rxchannel = Pi/1                      ; Raspberry Pi PiTA 

; rxchannel = Radio/usb_505501          ; USBRadio (DSP) 

; rxchannel = Dahdi/1                   ; PCI Quad card 

; rxchannel = Beagle/1                  ; BeagleBoard

rxchannel = USRP/127.0.0.1:34001:32001  ; GNU Radio interface USRP

 

duplex = 1                              ; 0 = Half duplex with no telemetry tones or hang time.

                                        ;     Special Case: Full duplex if linktolink is set to yes.

                                        ;     This mode is preferred when interfacing with an external multiport repeater controller.

                                        ;     Comment out idrecording and idtalkover to suppress IDs also

                                        ; 1 = Half duplex with telemetry tones and hang time. Does not repeat audio.

                                        ;     This mode is preferred when interfacing a simplex node.

                                        ; 2 = Full Duplex with telemetry tones and hang time.

                                        ;     This mode is preferred when interfacing a repeater.

                                        ; 3 = Full Duplex with telemetry tones and hang time, but no repeated audio.

                                        ; 4 = Full Duplex with telemetry tones and hang time. Repeated audio only when the autopatch is down.

 

linktolink = Yes                        ; disables forcing physical half-duplex operation of main repeater while

                                        ; still keeping half-duplex semantics (optional)

 

linkmongain = 0                         ; Link Monitor Gain adjusts the audio level of monitored nodes when a signal from another node or the local receiver is received.

                                        ; If linkmongain is set to a negative number the monitored audio will decrease by the set amount in db.

                                        ; If linkmongain set to a positive number monitored audio will increase by the set amount in db.

                                        ; The value of linkmongain is in db. The default value is 0 db.

 

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)

;eannmode = 1                           ; 1 = Say only node number on echolink connects (default = 1)

                                        ; 2 = say phonetic call sign only on echolink connects

                                        ; 3 = say phonetic call sign and node number on echolink connects

 


Steve N4IRS
 

With Asterisk NOT running, as root, show results of:
netstat -unap

Steve

On 12/31/19 8:07 AM, Ted Lawrence via Groups.Io wrote:
This is what I have: 

[505501]                                ; Change this to your assigned node number

 

                                        ; Must also be enabled in modules.conf

                                        ; Rx audio/signalling channel. Choose ONLY 1 per node stanza

 

                                        ; Enable the selected channel driver in modules.conf !!!

; rxchannel = dahdi/pseudo              ; No radio (hub)

; rxchannel = SimpleUSB/usb_505501      ; SimpleUSB

; rxchannel = Pi/1                      ; Raspberry Pi PiTA 

; rxchannel = Radio/usb_505501          ; USBRadio (DSP) 

; rxchannel = Dahdi/1                   ; PCI Quad card 

; rxchannel = Beagle/1                  ; BeagleBoard

rxchannel = USRP/127.0.0.1:34001:32001  ; GNU Radio interface USRP

 

duplex = 1                              ; 0 = Half duplex with no telemetry tones or hang time.

                                        ;     Special Case: Full duplex if linktolink is set to yes.

                                        ;     This mode is preferred when interfacing with an external multiport repeater controller.

                                        ;     Comment out idrecording and idtalkover to suppress IDs also

                                        ; 1 = Half duplex with telemetry tones and hang time. Does not repeat audio.

                                        ;     This mode is preferred when interfacing a simplex node.

                                        ; 2 = Full Duplex with telemetry tones and hang time.

                                        ;     This mode is preferred when interfacing a repeater.

                                        ; 3 = Full Duplex with telemetry tones and hang time, but no repeated audio.

                                        ; 4 = Full Duplex with telemetry tones and hang time. Repeated audio only when the autopatch is down.

 

linktolink = Yes                        ; disables forcing physical half-duplex operation of main repeater while

                                        ; still keeping half-duplex semantics (optional)

 

linkmongain = 0                         ; Link Monitor Gain adjusts the audio level of monitored nodes when a signal from another node or the local receiver is received.

                                        ; If linkmongain is set to a negative number the monitored audio will decrease by the set amount in db.

                                        ; If linkmongain set to a positive number monitored audio will increase by the set amount in db.

                                        ; The value of linkmongain is in db. The default value is 0 db.

 

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)

;eannmode = 1                           ; 1 = Say only node number on echolink connects (default = 1)

                                        ; 2 = say phonetic call sign only on echolink connects

                                        ; 3 = say phonetic call sign and node number on echolink connects

 


Ted Lawrence
 

On Tue, Dec 31, 2019 at 05:09 AM, Steve N4IRS wrote:
netstat -unap

Active Internet connections (servers and established)

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    

udp        0      0 0.0.0.0:34001           0.0.0.0:*                           566/Analog_Bridge   

udp        0      0 0.0.0.0:5353            0.0.0.0:*                           335/avahi-daemon: r 

udp        0      0 127.0.0.1:32001         0.0.0.0:*                           31215/asterisk      

udp        0      0 0.0.0.0:42320           0.0.0.0:*                           335/avahi-daemon: r 

udp        0      0 0.0.0.0:31100           0.0.0.0:*                           566/Analog_Bridge   

udp        0      0 0.0.0.0:31103           0.0.0.0:*                           568/MMDVM_Bridge    

udp        0      0 0.0.0.0:2470            0.0.0.0:*                           567/md380-emu       

udp        0      0 0.0.0.0:4569            0.0.0.0:*                           31215/asterisk      

udp        0      0 0.0.0.0:68              0.0.0.0:*                           496/dhcpcd          

udp        0      0 0.0.0.0:62032           0.0.0.0:*                           568/MMDVM_Bridge    

udp        0      0 192.168.1.86:123        0.0.0.0:*                           539/ntpd            

udp        0      0 127.0.0.1:123           0.0.0.0:*                           539/ntpd            

udp        0      0 0.0.0.0:123             0.0.0.0:*                           539/ntpd            

udp6       0      0 :::32953                :::*                                335/avahi-daemon: r 

udp6       0      0 :::5353                 :::*                                335/avahi-daemon: r 

udp6       0      0 fe80::f18c:2ed4:b72:123 :::*                                539/ntpd            

udp6       0      0 ::1:123                 :::*                                539/ntpd            

udp6       0      0 :::123                  :::*                                539/ntpd       


Ted Lawrence
 

Oops, I stopped Asterisk then 

root@repeater:/etc/asterisk# netstat -unap

Active Internet connections (servers and established)

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    

udp        0      0 0.0.0.0:34001           0.0.0.0:*                           566/Analog_Bridge   

udp        0      0 0.0.0.0:5353            0.0.0.0:*                           335/avahi-daemon: r 

udp        0      0 0.0.0.0:42320           0.0.0.0:*                           335/avahi-daemon: r 

udp        0      0 0.0.0.0:31100           0.0.0.0:*                           566/Analog_Bridge   

udp        0      0 0.0.0.0:31103           0.0.0.0:*                           568/MMDVM_Bridge    

udp        0      0 0.0.0.0:2470            0.0.0.0:*                           567/md380-emu       

udp        0      0 0.0.0.0:68              0.0.0.0:*                           496/dhcpcd          

udp        0      0 0.0.0.0:62032           0.0.0.0:*                           568/MMDVM_Bridge    

udp        0      0 192.168.1.86:123        0.0.0.0:*                           539/ntpd            

udp        0      0 127.0.0.1:123           0.0.0.0:*                           539/ntpd            

udp        0      0 0.0.0.0:123             0.0.0.0:*                           539/ntpd            

udp6       0      0 :::32953                :::*                                335/avahi-daemon: r 

udp6       0      0 :::5353                 :::*                                335/avahi-daemon: r 

udp6       0      0 fe80::f18c:2ed4:b72:123 :::*                                539/ntpd            

udp6       0      0 ::1:123                 :::*                                539/ntpd            

udp6       0      0 :::123                  :::*                                539/ntpd   


Steve N4IRS
 

IF you followed my direction, the asterisk is already running. It LOOKS like you may be trying to start a second copy. See below.
asterisk -r will connect you to a running asterisk

On 12/31/19 8:12 AM, Ted Lawrence via Groups.Io wrote:
On Tue, Dec 31, 2019 at 05:09 AM, Steve N4IRS wrote:
netstat -unap

Active Internet connections (servers and established)

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    

udp        0      0 0.0.0.0:34001           0.0.0.0:*                           566/Analog_Bridge   

udp        0      0 0.0.0.0:5353            0.0.0.0:*                           335/avahi-daemon: r 

udp        0      0 127.0.0.1:32001         0.0.0.0:*                           31215/asterisk      

udp        0      0 0.0.0.0:42320           0.0.0.0:*                           335/avahi-daemon: r 

udp        0      0 0.0.0.0:31100           0.0.0.0:*                           566/Analog_Bridge   

udp        0      0 0.0.0.0:31103           0.0.0.0:*                           568/MMDVM_Bridge    

udp        0      0 0.0.0.0:2470            0.0.0.0:*                           567/md380-emu       

udp        0      0 0.0.0.0:4569            0.0.0.0:*                           31215/asterisk      

udp        0      0 0.0.0.0:68              0.0.0.0:*                           496/dhcpcd          

udp        0      0 0.0.0.0:62032           0.0.0.0:*                           568/MMDVM_Bridge    

udp        0      0 192.168.1.86:123        0.0.0.0:*                           539/ntpd            

udp        0      0 127.0.0.1:123           0.0.0.0:*                           539/ntpd            

udp        0      0 0.0.0.0:123             0.0.0.0:*                           539/ntpd            

udp6       0      0 :::32953                :::*                                335/avahi-daemon: r 

udp6       0      0 :::5353                 :::*                                335/avahi-daemon: r 

udp6       0      0 fe80::f18c:2ed4:b72:123 :::*                                539/ntpd            

udp6       0      0 ::1:123                 :::*                                539/ntpd            

udp6       0      0 :::123                  :::*                                539/ntpd       



Ted Lawrence
 

On Tue, Dec 31, 2019 at 05:15 AM, Steve N4IRS wrote:
asterisk -r

root@repeater:/etc/asterisk# asterisk -r

 

AllStarLink Asterisk Version 1.01 2/13/2018 GIT Version adaec47

Copyright (C) 1999 - 2018 Digium, Inc. Jim Dixon, AllStarLink Inc. and others.

Created by Mark Spencer <markster@...>

Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.

This is free software, with components licensed under the GNU General Public

License version 2 and other licenses; you are welcome to redistribute it under

certain conditions. Type 'core show license' for details.

=========================================================================

Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)

root@repeater:/etc/asterisk# 


Steve N4IRS
 

Show the 1999 stanza

On 12/31/19 8:07 AM, Ted Lawrence via Groups.Io wrote:
This is what I have: 

[505501]                                ; Change this to your assigned node number

 

                                        ; Must also be enabled in modules.conf

                                        ; Rx audio/signalling channel. Choose ONLY 1 per node stanza

 

                                        ; Enable the selected channel driver in modules.conf !!!

; rxchannel = dahdi/pseudo              ; No radio (hub)

; rxchannel = SimpleUSB/usb_505501      ; SimpleUSB

; rxchannel = Pi/1                      ; Raspberry Pi PiTA 

; rxchannel = Radio/usb_505501          ; USBRadio (DSP) 

; rxchannel = Dahdi/1                   ; PCI Quad card 

; rxchannel = Beagle/1                  ; BeagleBoard

rxchannel = USRP/127.0.0.1:34001:32001  ; GNU Radio interface USRP

 

duplex = 1                              ; 0 = Half duplex with no telemetry tones or hang time.

                                        ;     Special Case: Full duplex if linktolink is set to yes.

                                        ;     This mode is preferred when interfacing with an external multiport repeater controller.

                                        ;     Comment out idrecording and idtalkover to suppress IDs also

                                        ; 1 = Half duplex with telemetry tones and hang time. Does not repeat audio.

                                        ;     This mode is preferred when interfacing a simplex node.

                                        ; 2 = Full Duplex with telemetry tones and hang time.

                                        ;     This mode is preferred when interfacing a repeater.

                                        ; 3 = Full Duplex with telemetry tones and hang time, but no repeated audio.

                                        ; 4 = Full Duplex with telemetry tones and hang time. Repeated audio only when the autopatch is down.

 

linktolink = Yes                        ; disables forcing physical half-duplex operation of main repeater while

                                        ; still keeping half-duplex semantics (optional)

 

linkmongain = 0                         ; Link Monitor Gain adjusts the audio level of monitored nodes when a signal from another node or the local receiver is received.

                                        ; If linkmongain is set to a negative number the monitored audio will decrease by the set amount in db.

                                        ; If linkmongain set to a positive number monitored audio will increase by the set amount in db.

                                        ; The value of linkmongain is in db. The default value is 0 db.

 

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)

;eannmode = 1                           ; 1 = Say only node number on echolink connects (default = 1)

                                        ; 2 = say phonetic call sign only on echolink connects

                                        ; 3 = say phonetic call sign and node number on echolink connects

 


Ted Lawrence
 

[1999]

rxchannel = USRP/127.0.0.1:34001:32001  ; Use the USRP channel driver. Must be enabled in modules.conf

                                        ; 127.0.0.1 = IP of the target application

                                        ; 34001 = UDP port the target application is listening on

                                        ; 32001 = UDP port ASL is listening on

 

duplex = 0                              ; 0 = Half duplex with no telemetry tones or hang time. Ah, but Allison STILL talks!

 

hangtime = 0                            ; squelch tail hang time 0

althangtime = 0                         ; longer squelch tail hang time 0

 

holdofftelem = 1                        ; 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.

 

telemdefault = 0                        ; 0 = telemetry output off. Don't send Allison to DMR !!!!!!!!!!!!!!!!! Trust me.

 

telemdynamic = 0                        ; 0 = disallow users to change the local telemetry setting with a COP command,

 

linktolink = no                         ; disables forcing physical half-duplex operation of main repeater while

                                        ; still keeping half-duplex semantics (optional)

 

nounkeyct = 1                           ; Set to a 1 to eliminate courtesy tones and associated delays.

 

totime = 180000                         ; transmit time-out time (in ms) (optional, default 3 minutes 180000 ms)

 

idrecording = |ie                       ; id recording or morse string see http://ohnosec.org/drupal/node/87

idtalkover = |ie                        ; Talkover ID (optional) default is none see http://ohnosec.org/drupal/node/129

 


Steve N4IRS
 

You have BOTH nodes using chan_usrp. I have to assume you mean to use 1999 to connect to AB.
What is the purpose of 1999?
What is the purpose of 505501?

What should be connected to 1999?
What should be connected to 505501?

On 12/31/19 8:24 AM, Ted Lawrence via Groups.Io wrote:

[1999]

rxchannel = USRP/127.0.0.1:34001:32001  ; Use the USRP channel driver. Must be enabled in modules.conf

                                        ; 127.0.0.1 = IP of the target application

                                        ; 34001 = UDP port the target application is listening on

                                        ; 32001 = UDP port ASL is listening on

 

duplex = 0                              ; 0 = Half duplex with no telemetry tones or hang time. Ah, but Allison STILL talks!

 

hangtime = 0                            ; squelch tail hang time 0

althangtime = 0                         ; longer squelch tail hang time 0

 

holdofftelem = 1                        ; 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.

 

telemdefault = 0                        ; 0 = telemetry output off. Don't send Allison to DMR !!!!!!!!!!!!!!!!! Trust me.

 

telemdynamic = 0                        ; 0 = disallow users to change the local telemetry setting with a COP command,

 

linktolink = no                         ; disables forcing physical half-duplex operation of main repeater while

                                        ; still keeping half-duplex semantics (optional)

 

nounkeyct = 1                           ; Set to a 1 to eliminate courtesy tones and associated delays.

 

totime = 180000                         ; transmit time-out time (in ms) (optional, default 3 minutes 180000 ms)

 

idrecording = |ie                       ; id recording or morse string see http://ohnosec.org/drupal/node/87

idtalkover = |ie                        ; Talkover ID (optional) default is none see http://ohnosec.org/drupal/node/129

 



Ted Lawrence
 

If I understand your question?

1999 is for the DV-Switch ASL<>DMR 
505501 is radio-less and is a node for connecting to other nodes (Remote Base) 


Steve N4IRS
 

Then 505501 should not be using chan_usrp.
chan_usrp is used to connect to AB.

On 12/31/19 8:32 AM, Ted Lawrence via Groups.Io wrote:
If I understand your question?

1999 is for the DV-Switch ASL<>DMR 
505501 is radio-less and is a node for connecting to other nodes (Remote Base) 


Ted Lawrence
 

So, comment out 505501? 

rxchannel = USRP/127.0.0.1:34001:32001  ; GNU Radio interface USRP 


Steve N4IRS
 

 
; rxchannel = dahdi/pseudo              ; No radio (hub)

; rxchannel = SimpleUSB/usb_505501      ; SimpleUSB

; rxchannel = Pi/1                      ; Raspberry Pi PiTA

; rxchannel = Radio/usb_505501          ; USBRadio (DSP)

; rxchannel = Dahdi/1                   ; PCI Quad card

; rxchannel = Beagle/1                  ; BeagleBoard

rxchannel = USRP/127.0.0.1:34001:32001  ; GNU Radio interface USRP



On 12/31/19 8:44 AM, Ted Lawrence via Groups.Io wrote:
So, comment out 505501? 

rxchannel = USRP/127.0.0.1:34001:32001  ; GNU Radio interface USRP 



Ted Lawrence
 

I had it running at one time. But had the burp issue.  Which seemed to be fixed with changes.  Maybe I should re-flash the image on the Raspberry Pi and go through the entire configuration. Sure do thank you very much for your time helping! 


Ted Lawrence
 

Clearly had a typo error in one of the files I could not find.  I refreshed the image, started over with "ASL to DMR Bridge how to" document. All is working as it should.  Thank you for being patient !