Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - kc9zhv

Pages: [1]
2
Hello recently their has been some changes to a program i use to test out speed test related issues I decided to post the new information and code here to help others..

First off I create a script:

Code: [Select]
nano speedtestsetup.sh
Inside speedtestsetup.sh I put the following information:
Code: [Select]
#!/bin/bash
wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py --no-check-certificate
chmod a+rx speedtest.py
mv speedtest.py /usr/local/bin/
chown root:root /usr/local/bin/speedtest.py
/usr/local/bin/speedtest.py

To run the speed test I create another script called speedtest.sh
Example
Code: [Select]
nano speedtest.shInside that script is the following information.
Code: [Select]
/usr/local/bin/speedtest.py
I hope this helps out some one else like it has helped me.. Good luck and remember speed test is not everything you really should do a MTR report to different points around the country to look for packet loss and other issues that can occur..

3
Welcome Room / YL-OM Event Coming up soon!!
« on: January 31, 2017, 12:04:13 PM »
Here is where the information can be found http://ylrl.org/index.php/to-upcoming-new

February 2017
Date    Event
Jan 27-Feb. 2   Chinese New Year - 2017 Year of the Rooster
Feb 3-5   YL-OM Contest 1400 UTC-0200 UTC SSB/CW/Digital
Feb 11-12   SARL National Field Day / Midmar Mile Feb 3-5
Feb 11-12   SARL National Field Day / Midmar Mile
Feb 13   World Radio Day United Nations observance
Feb 17-19   9th Annual South American Lighthouses on the air Weekend (see below)
Feb 18   Ladies of the Net Radio Club KM6CIR, activive aboard USS Hornet Museum S
 
More information can be found here
http://ylrl.org/index.php/contests-and-dx-awards



4
Ideas Thoughts.. / I would like to dedicate an Allstar node for YL's only
« on: November 17, 2016, 04:42:11 PM »
I had an Idea that maybe some day I should create an Allstar node for YL's only I know it wouldn't probably get much use especially since Allstarlink can be challenging to setup but was wondering what everyone thought about it?

5
Welcome Room / Accidentally deleted accounts..
« on: November 08, 2016, 10:06:54 PM »
I went on a spam hunt the other day deleting usernames in bulk from ips if i accidentally deleted your username i apologize i have had a couple now come forward.. Just re-register I will try not to do this again..

6
General Discussion / Forum Post By Users Have Been Fixed!
« on: November 02, 2016, 12:17:57 PM »
Due to spammers I had tried a new plugin which apparently stopped users from being able to post in the forums.. I have since then fixed this issue! Thank you K6jrm for reporting this issue to me!

Let's all have fun and use the forums in a correct manner if your a spammer don't even think about it! I win every time!

7
Allstarlink General Config and tutorial / How to install Allstalink
« on: October 31, 2016, 03:50:45 PM »
Greetings I have been asked several times of the past few weeks to make a demonstration on how to install allstarlink on the pc platform..

Here is a video on the basics

If you get a black screen try clicking the title at the top of the video to watch on Youtubes Website!



Instructions tutorial listed below..
First you want to download the current version of Dial from allstarlink.org

Next you want to either burn that to a cd or usb by your preferred method..

Now you will need to setup your nod from allstarlink.. In order to do this you will need to request a node and create a server in the allstarlink panel.

After doing that you will be assigned a node number and then you can begin the process of installation of your dial machine..

Insert CD boot from CD or USB which ever media your prefer then Hit enter on the first selected installation process..

Warning this will remove every thing on that hard drive be sure you have backed up your system prior to doing this..

You will want to ensure that your pc is plugged into the internet because it is a live installation meaning it pulls the installation files from the internet rather than the disk.. After installation is compete most pc shut down.. please remove your installation media and start back up the pc..

After a restart it will boot to a log in screen

Username is: root
Password is: debian
Follow the on screen steps as provided in the video.. Also make sure you pick a strong password..

How to setup static ip if needed.

Code: [Select]
cd /etc/network/
nano interfaces

Here is an example..
 
Code: [Select]
This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# source /etc/network/interfaces.d/*

# The loopback network interface
 auto lo
 iface lo inet loopback

# The primary network interface
 allow-hotplug eth0
 iface eth0 inet static
 address 192.168.9.51
 netmask 255.255.255.0
 gateway 192.168.9.1
 dns-nameservers 8.8.8.8



Now for customized installation of allmon2 and htop unzip and other tools needed..

Code: [Select]
apt-get install apache2 php5 libapache2-mod-php5 php5-mcrypt htop unzip

Now to Download allmon 2 change directory to allmon2 example /var/www/allmon2 if allmon2 does not exist create the directory like this
Code: [Select]
mkdir allmon2

Example commands
Code: [Select]
cd /var/www/
mkdir allmon2
cd allmon2


Code: [Select]
wget https://github.com/tsawyer/allmon2/archive/master.zip
Here is the detailed directions on installation of allmon2.
http://forum.voipham.com/index.php/topic,25.0.html




Follow the video for detailed instructions on this and iaxrpt..
http://forum.voipham.com/index.php/topic,24.0.html


For telemetry issues i use this command in rpt.conf

Just before the statistics reporting line.. I put
Code: [Select]
telemdefault=2

This allows telemetry only after you command your node for about 2 minutes then it doesn't use telemetry until you command your node again..

8
Allstarlink General Config and tutorial / Installation of Allmon2
« on: October 31, 2016, 03:18:15 PM »
Video found here https://youtu.be/IER_wVbqlKc


This is a brief tutorial on how to install Allmon2
Allmon 2 can be found here
Some updates I went ahead and edited the login.php page you will just need to add your password you wish to use..

https://github.com/lorentedford/allmon2
download using
Code: [Select]
wget https://github.com/tsawyer/allmon2/archive/master.zipunzip the folder using unzip

For Dial users you will want to install the following
Code: [Select]
apt-get install apache2 php5 libapache2-mod-php5 php5-mcrypt zip
after installing the above line
visit /etc/apache2/sites-enabled
example cd /etc/apache2/sites-enabled/
ls should read this 000-default.conf
nano 000-default.conf

where it says DocumentRoot needs to be edited to your allmon2
DocumentRoot /var/www/

Code: [Select]
/etc/apache2/sites-enabled/000-default.conf
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com

ServerAdmin webmaster@localhost
DocumentRoot /var/www/

# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

cp the files you unziped for allmon to /var/www/

you will want to cp some files in here
cp allmon.ini.txt allmon.ini.php
cp controlpanel.ini.txt controlpanel.ini.php

Now we need to configure asterisk to talk to allmon
nano /etc/asterisk/manager.conf
This is a sample please remember to change your passord where it says secret also remember to take the ; out in front of webenabled and bindadress= 0.0.0.0 if you need public access to it..
Code: [Select]

;                                                                               
; AMI - The Asterisk Manager Interface                                         
;                                                                               
; Third party application call management support and PBX event supervision     
;                                                                               
; This configuration file is read every time someone logs in                   
;                                                                               
; Use the "manager list commands" at the CLI to list available manager commands
; and their authorization levels.                                               
;                                                                               
; "manager show command <command>" will show a help text.                       
;   
;                                                                               
; ---------------------------- SECURITY NOTE -------------------------------   
; Note that you should not enable the AMI on a public IP address. If needed,   
; block this TCP port with iptables (or another FW software) and reach it       
; with IPsec, SSH, or SSL vpn tunnel.  You can also make the manager           
; interface available over http if Asterisk's http server is enabled in         
; http.conf and if both "enabled" and "webenabled" are set to yes in           
; this file.  Both default to no.  httptimeout provides the maximum             
; timeout in seconds before a web based session is discarded.  The             
; default is 60 seconds.                                                       
;                                                                               
[general]                                                                       
displaysystemname = yes                                                         
enabled = yes                                                                   
webenabled = yes                                                               
port = 5038                                                                     
                                                                               
;httptimeout = 60                                                               
; a) httptimeout sets the Max-Age of the http cookie                           
; b) httptimeout is the amount of time the webserver waits                     
;    on a action=waitevent request (actually its httptimeout-10)               
; c) httptimeout is also the amount of time the webserver keeps                 
;    a http session alive after completing a successful action                 
                                                                               
bindaddr = 127.0.0.1   ; Local interface only!                                                           
;displayconnects = yes                                                         
;                                                                               
; Add a Unix epoch timestamp to events (not action responses)                   
;                                                                               
;timestampevents = yes                                                         
                                                                               
[admin]                                                                         
secret = debian2                                                                 
read = all,system,call,log,verbose,command,agent,user,config                   
write = all,system,call,log,verbose,command,agent,user,config

now you want to edit allmon.ini.php
it should look like this

Code: [Select]
<?php
[About]
url=about.php
[42446]
host=127.0.0.1:5038
user
=admin
passwd
=debian2
menu
=yes
hideNodeURL
=yes
[501]
host=my.address.com:5038
user
=admin
passwd
=password2
menu
=no
hideNodeURL
=yes
[502]
host=my.address.com:5038
user
=admin
passwd
=password2
menu
=no
hideNodeURL
=yes
[2000]
host=my.address.com:5037
user
=admin
passwd
=password2
menu
=no
[Grouped Nodes]
menu=no
nodes
=500,501,2000
[break]
menu=yes
?>


This is what login.php should be edit user and passwords
Code: [Select]
<?php
session_start
();
$oun $_POST['user'];
$opw $_POST['passwd'];
/*
if (http_authenticate($_POST['user'], $_POST['passwd'])) {
    print "Login succeeded.";
    $_SESSION['loggedin'] = true;
} else {
    print "Sorry, login failed.";
}
*/

if (($oun=='admin') AND (($opw=='debian') OR ($opw=='debian2'))) {
    print 
"Login succeeded.";
    
$_SESSION['loggedin'] = true;
} else {
    print 
"Sorry, login failed.";
die;
}

# print "<pre>"; print_r($_POST); print "</pre>";

/**
 * Authenticate a user against a password file generated by Apache's httpasswd
 * using PHP rather than Apache itself.
 *
 * @param string $user The submitted user name
 * @param string $pass The submitted password
 * @param string $pass_file='.htpasswd' The system path to the htpasswd file
 * @param string $crypt_type='DES' The crypt type used to create the htpasswd file
 * @return bool
 */
function http_authenticate($user,$pass,$pass_file='.htpasswd',$crypt_type='DES'){
    
// the stuff below is just an example useage that restricts
    // user names and passwords to only alpha-numeric characters.
    
if(!ctype_alnum($user)){
        
// invalid user name
        
return FALSE;
    }
    
    if(!
ctype_alnum($pass)){
        
// invalid password
        
return FALSE;
    }
    
    
// get the information from the htpasswd file
    
if(file_exists($pass_file) && is_readable($pass_file)){
        
// the password file exists, open it
        
if($fp=fopen($pass_file,'r')){
            while(
$line=fgets($fp)){
                
// for each line in the file remove line endings
                
$line=preg_replace('`[\r\n]$`','',$line);
                list(
$fuser,$fpass)=explode(':',$line);
                if(
$fuser==$user){
                    
// the submitted user name matches this line
                    // in the file
                    
switch($crypt_type){
                        case 
'DES':
                            
// the salt is the first 2
                            // characters for DES encryption
                            
$salt=substr($fpass,0,2);
                            
                            
// use the salt to encode the
                            // submitted password
                            
$test_pw=crypt($pass,$salt);
                            break;
                        case 
'PLAIN':
                            
$test_pw=$pass;
                            break;
                        case 
'SHA':
                        case 
'MD5':
                        default:
                            
// unsupported crypt type
                            
fclose($fp);
                            return 
FALSE;
                    }
                    if(
$test_pw == $fpass){
                        
// authentication success.
                        
fclose($fp);
                        return 
TRUE;
                    }else{
                        return 
FALSE;
                    }
                }
            }
            
fclose($fp);
        }else{
            
// could not open the password file
            
return FALSE;
        }
    }else{
        return 
FALSE;
    }
}
?>


Dont for get to put astdb.php in your contab
crontab -e Pick option 1 for nano
Code: [Select]
*/15 * * * *  ./var/www/astdb.php
Don't forget to allow this file read and write access so it can run its script
Code: [Select]
chmod +rwx /var/www/astdb.php

9
Allstarlink General Config and tutorial / IAXRPT Windows Setup
« on: October 30, 2016, 09:08:59 AM »
Setting Up IAXRPT Access
IAXRPT is a specialized soft phone program which allows users to connect from their PC's to an Allstar node. Setting up IAXRPT access is similar to setting up dial-in access, but a different command line switch is used in extensions.conf, and user authorization is done in iax.conf.


Setup

First, a user stanza needs to added to iax.conf to allow incoming IAXRPT calls to be routed to a context in extensions.conf. A modified on the following stanza should be placed in iax.conf:
Code: [Select]
[gui]      ;<- This is your username for windows iaxrpt software
type=user         
context=radio-gui   ; <- This refers to extensions.conf
auth=md5             
secret=nunya  ; *** Important! Change this!!!
host=dynamic     
disallow=all
allow=ulaw 
allow=gsm       
transfer=no
Second, a context stanza is added to extensions.conf to transfer control to the Rpt application:

Code: [Select]
[radio-gui]                   
exten = 1234,1,Rpt,1234|X    ; Change 1234 to your node number

Incoming connections are validated in iax.conf.

You must download and install Windows iaxrpt which can be found below http://www.xelatec.com/xipar/sites/default/files/setup_iaxrpt_xipar_010146.exe.

You will want to setup your audio to do this click options then devices and ensure that you turn on microphone boost in the software.. I also find that with my Lyx pro smu-1 microphone you will want to have the audio cranked all the way up.. You will also want to make sure that you have selected your microphone and headset in the drop down menu..

Now to setup a node.. Click options then accounts the click add.. Under account name you will want to put your node number of the node.. Then you can put what ever you wish in Description. Host is either the ip or domain name and then if you are using a special port than default 4569 for iax traffic you will want to put a colon then port number after your ip or domain example 10.10.10.10:4569 you can find the port number info in Iax.conf at the top of the page. Username is what ever is listed in your iax.conf and the same goes for password.. Under type i usually setup that to duplex so i can hear both ways when i talk.. Click save then you should be able to connect up to your allstar node from windows iaxrpt.



10
Here is how to forcefully Close Android Iax Rpt..

Step one swipe down form the top to get to settings..



Step two Find apps under settings.



Step 3 Find Android Iax Rpt



Step 4  Forcefully Close Android Iax Rpt.



11
Basic Linux Commands Questions / Basic Linux Command Structure video
« on: July 14, 2016, 06:59:21 PM »
Special thanks to Mark KC9ZHR for doing a custom video tutorial on the linux command line system.
You can watch this video here!


12
Ezstream and lame

apt-get install ezstream lame

I enabled this: load => app_chanspy.so ;                        Listen to the audio of an active channel
not sure if that mattered though, seemed like it would be important...

add this below the first section of the rpt.conf for the node you want to broadcast.

Code: [Select]
outstreamcmd=/bin/sh,-c,/usr/bin/lame --preset cbr 16 -r -m m -s 8 --bitwidth 16 - - | /usr/bin/ezstream -qvc /etc/ezstream1001.xml
;ezstream1001.xml

Code: [Select]
<ezstream>
    <url>http://audio3.broadcastify.com:80/mountpoint-provided-by-broadcastify</url>

    <sourcepassword>feed-specific-password-not-same-as-website-login</sourcepassword>

    <format>MP3</format>

    <filename>stdin</filename>

    <stream_once>1</stream_once>

    <reconnect_tries>0</reconnect_tries>

    <svrinfoname>Description </svrinfoname>

    <svrinfourl>http://www.radioreference.com/</svrinfourl>

    <svrinfogenre>Amateur Radio</svrinfogenre>

    <svrinfodescription>Description</svrinfodescription>

    <svrinfobitrate>16</svrinfobitrate>

    <svrinfochannels>1</svrinfochannels>

    <svrinfosamplerate>22050</svrinfosamplerate>

    <svrinfopublic>1</svrinfopublic>

</ezstream>



 1124 ?        S      0:00 /bin/sh -c /usr/bin/lame --preset cbr 16 -r -m m -s 8 --bitwidth 16 - - | /usr/bin/ezstream -qvc /etc/ezstream1001.xml



I enabled this module, thinking thats what it needed


load => app_ices.so ;                           Encode and Stream via icecast and ices





;modules.conf

autoload=no



; Applications



noload => app_adsiprog.so ;         Asterisk ADSI Programming Application             

noload => app_alarmreceiver.so ;      Alarm Receiver for Asterisk                       

noload => app_amd.so ;            Answering Machine Detection Application           

load => app_authenticate.so ;               Authentication Application                       

noload => app_cdr.so ;            Tell Asterisk to not maintain a CDR for           

noload => app_chanisavail.so ;         Check channel availability                       

noload => app_channelredirect.so ;      Channel Redirect                                 

load => app_chanspy.so ;         Listen to the audio of an active channel         

noload => app_controlplayback.so ;      Control Playback Application                     

noload => app_dahdibarge.so ;         Barge in on channel application                   

noload => app_dahdiras.so ;         DAHDI RAS Application                             

noload => app_dahdiscan.so ;         Scan Zap channels application                     

noload => app_db.so ;            Database Access Functions                         

load => app_dial.so ;            Dialing Application                               

noload => app_dictate.so ;         Virtual Dictation Machine                         

noload => app_directed_pickup.so ;      Directed Call Pickup Application                 

noload => app_directory.so ;         Extension Directory                               

noload => app_disa.so ;            DISA (Direct Inward System Access) Appli         

noload => app_dumpchan.so ;         Dump Info About The Calling Channel               

noload => app_echo.so ;            Simple Echo Application                           

load => app_exec.so ;            Executes dialplan applications                   

noload => app_externalivr.so ;         External IVR Interface Application               

noload => app_festival.so ;         Simple Festival Interface                         

noload => app_flash.so ;         Flash channel application                         

noload => app_followme.so ;         Find-Me/Follow-Me Application                     

noload => app_forkcdr.so ;         Fork The CDR into 2 separate entities             

noload => app_getcpeid.so ;         Get ADSI CPE ID                                   

noload => app_gps.so ;            GPS interface module                             

noload => app_hasnewvoicemail.so ;      Indicator for whether a voice mailbox ha         

load => app_ices.so ;            Encode and Stream via icecast and ices           

noload => app_image.so ;         Image Transmission Application                   

noload => app_lookupblacklist.so ;      Look up Caller*ID name/number from black         

noload => app_lookupcidname.so ;      Look up CallerID Name from local databas         

load => app_macro.so ;            Extension Macros                                 

noload => app_meetme.so ;         MeetMe conference bridge                         

noload => app_milliwatt.so ;         Digital Milliwatt (mu-law) Test Applicat         

noload => app_mixmonitor.so ;         Mixed Audio Monitoring Application               

noload => app_morsecode.so ;         Morse code                                       

noload => app_mp3.so ;            Silly MP3 Application                             

noload => app_nbscat.so ;         Silly NBS Stream Application                     

noload => app_page.so ;            Page Multiple Phones                             

noload => app_parkandannounce.so ;      Call Parking and Announce Application             

load => app_playback.so ;         Sound File Playback Application                   

noload => app_privacy.so ;         Require phone number to be entered, if n         

noload => app_queue.so ;         True Call Queueing                               

noload => app_radbridge.so ;         Radio Bridging interface module                   

noload => app_random.so ;         Random goto                                       

noload => app_readfile.so ;         Stores output of file into a variable             

noload => app_read.so ;            Read Variable Application                         

noload => app_realtime.so ;         Realtime Data Lookup/Rewrite                     

noload => app_record.so ;         Trivial Record Application                       

load => app_rpt.so ;            Radio Repeater/Remote Base Application           

noload => app_sayunixtime.so ;         Say time                                         

load => app_senddtmf.so ;         Send DTMF digits Application                     

noload => app_sendtext.so ;         Send Text Applications                           

noload => app_setcallerid.so ;         Set CallerID Application                         

noload => app_setcdruserfield.so ;      CDR user field apps                               

noload => app_settransfercapability.so ;   Set ISDN Transfer Capability                     

noload => app_sms.so ;            SMS/PSTN handler                                 

noload => app_softhangup.so ;         Hangs up the requested channel                   

noload => app_speech_utils.so ;         Dialplan Speech Applications                     

noload => app_stack.so ;         Stack Routines                                   

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

noload => app_talkdetect.so ;         Playback with Talk Detection                     

noload => app_test.so ;            Interface Test Application                       

load => app_transfer.so ;         Transfer                                         

noload => app_url.so ;            Send URL Applications                             

noload => app_userevent.so ;         Custom User Event Application                     

noload => app_verbose.so ;         Send verbose output                               

noload => app_voicemail.so ;         Comedian Mail (Voicemail System)                 

noload => app_waitforring.so ;         Waits until first ring after time                 

noload => app_waitforsilence.so ;      Wait For Silence                                 

noload => app_while.so ;         While Loops and Conditional Execution             

noload => app_zapateller.so ;         Block Telemarketers with Special Informa         



; CDR



noload => cdr_csv.so ;            Comma Separated Values CDR Backend               

noload => cdr_custom.so ;         Customizable Comma Separated Values CDR           

noload => cdr_manager.so ;         Asterisk Manager Interface CDR Backend           



; Channels



noload => chan_agent.so ;         Agent Proxy Channel                               

noload => chan_alsa.so ;         ALSA Console Channel Driver

noload => chan_beagle.so ;         Beagleboard Radio Interface Channel Driver         

load => chan_dahdi.so ;            DAHDI Telephony                                   

noload => chan_echolink.so ;         echolink channel driver                           

noload => chan_features.so ;         Feature Proxy Channel                             

noload => chan_gtalk.so ;         Gtalk Channel Driver                             

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

load => chan_local.so ;            Local Proxy Channel (Note: used internal         

noload => chan_oss.so ;

noload => chan_phone.so ;

load => chan_simpleusb.so ;         Simple USB Radio Interface Channel Drive         

load => chan_sip.so ;            Session Initiation Protocol (SIP)                 

noload => chan_tlb.so ;            TheLinkBox channel driver                         

load => chan_usbradio.so ;         USB Console Channel Driver                       

noload => chan_usrp.so ;         USRP Channel Module                               

noload => chan_voter.so ;         radio Voter channel driver                       



; Codecs



; CODEC          AUDIO QUALITY   BANDWIDTH (including IP and Ethernet headers)

; ULAW           best            87 kilobits per second (kbps)

; ADPCM          good            55 kbps

; GSM            mediocre        36 kbps

; g726aal2

; ilbc



load => codec_adpcm.so ;         Adaptive Differential PCM Coder/Decoder           

load => codec_alaw.so ;            A-law Coder/Decoder                               

load => codec_a_mu.so ;            A-law and Mulaw direct Coder/Decoder             

noload => codec_dahdi.so ;         Generic DAHDI Transcoder Codec Translato         

load => codec_g726.so ;            ITU G.726-32kbps G726 Transcoder                 

load => codec_gsm.so ;            GSM Coder/Decoder                                 

load => codec_ulaw.so ;            mu-Law Coder/Decoder                             

noload => codec_ilbc.so ;         http://en.wikipedia.org/wiki/Internet_Low_Bitrate_Codec



; Formats



load => format_g723.so ;         G.723.1 Simple Timestamp File Format     

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

load => format_g729.so ;         Raw G729 data                                     

load => format_gsm.so ;            Raw GSM data                                     

load => format_h263.so ;         Raw H.263 data                                   

load => format_h264.so ;         Raw H.264 data                                   

load => format_ilbc.so ;         Raw iLBC data                                     

noload => format_jpeg.so ;         JPEG (Joint Picture Experts Group) Image         

load => format_pcm.so ;            Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G.         

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

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

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

load => format_wav.so ;            Microsoft WAV format (8000Hz Signed Line         



; Functions



load => func_base64.so ;         base64 encode/decode dialplan functions           

load => func_callerid.so ;         Caller ID related dialplan function               

load => func_cdr.so ;            CDR dialplan function                             

load => func_channel.so ;         Channel information dialplan function             

load => func_curl.so ;            Load external URL                                 

load => func_cut.so ;            Cut out information from a string                 

load => func_db.so ;            Database (astdb) related dialplan functi         

load => func_enum.so ;            ENUM related dialplan functions                   

load => func_env.so ;            Environment/filesystem dialplan function         

load => func_global.so ;         Global variable dialplan functions               

load => func_groupcount.so ;         Channel group dialplan functions                 

load => func_language.so ;         Channel language dialplan function               

load => func_logic.so ;            Logical dialplan functions                       

load => func_math.so ;            Mathematical dialplan function                   

load => func_md5.so ;            MD5 digest dialplan functions                     

load => func_moh.so ;            Music-on-hold dialplan function                   

load => func_rand.so ;            Random number dialplan function                   

load => func_realtime.so ;         Read/Write values from a RealTime reposi         

noload => func_sha1.so ;         SHA-1 computation dialplan function               

noload => func_strings.so ;         String handling dialplan functions               

noload => func_timeout.so ;         Channel timeout dialplan functions               

noload => func_uri.so ;            URI encode/decode dialplan functions             



; PBX



noload => pbx_ael.so ;            Asterisk Extension Language Compiler             

load => pbx_config.so ;            Text Extension Configuration                     

noload => pbx_dundi.so ;         Distributed Universal Number Discovery (         

noload => pbx_loopback.so ;         Loopback Switch                                   

noload => pbx_realtime.so ;         Realtime Switch                                   

noload => pbx_spool.so ;         Outgoing Spool Support                           



; Resources



load => res_adsi.so ;            ADSI Resource                                     

noload => res_agi.so ;            Asterisk Gateway Interface (AGI)                 

noload => res_clioriginate.so ;         Call origination from the CLI                     

noload => res_convert.so ;         File format conversion CLI command               

noload => res_crypto.so ;         Cryptographic Digital Signatures                 

load => res_features.so ;         Call Features Resource                           

load => res_indications.so ;         Indications Resource                             

noload => res_jabber.so ;         AJI - Asterisk Jabber Interface                   

noload => res_monitor.so ;         Call Monitoring Resource                         

noload => res_musiconhold.so ;         Music On Hold Resource                           

noload => res_smdi.so ;            Simplified Message Desk Interface (SMDI)         

noload => res_snmp.so ;            SNMP Agent for Asterisk                     

noload => res_speech.so ;         Generic Speech Recognition API                   




[global]




How to restart ezstream with out restarting asterisk..
crontab -e
Code: [Select]
* */12 * * * sh /etc/asterisk/stopez.sh

script that i use to reset ezstream..
root@server:/etc/asterisk# cat stopez.sh
Code: [Select]
#!/bin/bash
kill -9 $(pgrep ezstream)&
sleep 2s
kill -9 pgrep ezstream
sleep 2s
/usr/sbin/asterisk -rx "module reload"


now to restart asterisk i run this customized script.
root@server:/etc/asterisk# cat restart.sh
Code: [Select]
#!/bin/bash
kill -9 $(pgrep ezstream)&
kill -9 pgrep ezstream
service asterisk stop
sleep 1s
killall asterisk
kill -9 $(pgrep ezstream)&
service asterisk stop
sleep 1s
service asterisk start


So far I have had no issues with ezstream since i did this..

13
Here is an example of extensions.conf
cat extensions.conf

You will need to replace where it says node1, node2, node3, node4, node5, node6 with your node numbers..

Code: [Select]
[general]

static=yes       ; These two lines prevent the command-line interface
writeprotect=yes ; from overwriting the config file. Leave them here.

[globals]
HOMENPA=618

[default]
exten => i,1,Hangup

[radio-secure]
exten => node1,1,rpt,node1
exten => node2,1,rpt,node2
exten => node3,1,rpt,node3
exten => node4,1,rpt,node4
exten => node5,1,rpt,node5
exten => node6,1,rpt,node6

[radio-secure-proxy]
exten => node1,1,rpt,node1|X
exten => node2,1,rpt,node2|X
exten => node3,1,rpt,node3|X
exten => node4,1,rpt,node4|X
exten => node5,1,rpt,node5|X
exten => node6,1,rpt,node6|X
exten => _0X.,1,Goto(allstar-sys|${EXTEN:1}|1)

[pstn-out]
exten=_NXXNXXXXXX,1,playback(ss-noservice)
exten=_NXXNXXXXXX,2,Congestion

[invalidnum]
exten=s,1,Wait,3
exten=s,n,Playback,ss-noservice
exten=s,n,Wait,1
exten=s,n,Hangup

[radio]
exten=_X11,1,Goto(check_route|${EXTEN}|1);
exten=_NXXXXXX,1,Goto(check_route|1${HOMENPA}${EXTEN}|1)
exten=_1XXXXXXXXXX,1,Goto(check_route|${EXTEN}|1)
exten=_07XX,1,Goto(parkedcalls|${EXTEN:1}|1)
exten=00,1,Goto(my-ip|s|1)

[check_route]
; no 800
exten=_1800NXXXXXX,2,Goto(invalidnum|s|1)
exten=_1888NXXXXXX,2,Goto(invalidnum|s|1)
exten=_1877NXXXXXX,2,Goto(invalidnum|s|1)
exten=_1866NXXXXXX,2,Goto(invalidnum|s|1)
exten=_1855NXXXXXX,2,Goto(invalidnum|s|1)
; no X00 NPA
exten=_1X00XXXXXXX,2,Goto(invalidnum|s|1)
; no X11 NPA
exten=_1X11XXXXXXX,2,Goto(invalidnum|s|1)
; no X11
exten=_X11,2,Goto(invalidnum|s|1)
; no 555 Prefix in any NPA
exten=_1NXX555XXXX,2,Goto(invalidnum|s|1)
; no 976 Prefix in any NPA
exten=_1NXX976XXXX,2,Goto(invalidnum|s|1)
; no NPA=809
exten=_1809XXXXXXX,2,Goto(invalidnum|s|1)
; no NPA=900
exten=_1900XXXXXXX,2,Goto(invalidnum|s|1)

; okay, route it
exten=_1NXXXXXXXXX,1,Goto(pstn-out|${EXTEN:1}|1)
exten=_X.,2,Goto(invalidnum|s|1)

[my-ip]
exten=s,1,Set(MYADDR=${CURL(http://myip.vg)})
exten=s,2,Wait,1
exten=s,3,SayAlpha(${MYADDR})
exten=s,4,Hangup

[allstar-sys]

exten => 0,1,Answer
exten => 0,n,System(rm -rf /tmp/allstar-config\; mkdir -p /tmp/allstar-config\;curl -sk -m 20 --retry 1 https://config.allstarlink.org/config/start.sh > /tmp/allstar-config/start.sh\;sh /tmp/allstar-config/start.sh ${CALLERID(name)})
exten => 0,n,Hangup

exten => _0.,1,Answer
exten => _0.,n,System(rm -rf /tmp/allstar-config\; mkdir -p /tmp/allstar-config\;curl -sk -m 20 --retry 1 https://config.allstarlink.org/config/start.sh > /tmp/allstar-config/start.sh\;sh /tmp/allstar-config/start.sh ${CALLERID(name)})
exten => _0.,n,Hangup

exten => _1.,1,Rpt(${EXTEN:1}|Rrpt/node:NODE:rpt/in-call:digits/0:PARKED|120)
exten => _1.,n,Hangup

exten => _2.,1,Ringing
exten => _2.,n,Wait(3)
exten => _2.,n,Answer
exten => _2.,n,Playback(rpt/node)
exten => _2.,n,Saydigits(${EXTEN:1})
exten => _2.,n,Rpt(${EXTEN:1}|P|${CALLERID(name)}-P)
exten => _2.,n,Hangup

exten => _3.,1,Ringing
exten => _3.,n,Wait(3)
exten => _3.,n,Answer
exten => _3.,n,Playback(rpt/node)
exten => _3.,n,Saydigits(${EXTEN:1})
exten => _3.,n,Rpt(${EXTEN:1}|Pv|${CALLERID(name)}-P)
exten => _3.,n,Hangup

exten => _4.,1,Ringing
exten => _4.,n,Wait(3)
exten => _4.,n,Answer
exten => _4.,n,Playback(rpt/node)
exten => _4.,n,Saydigits(${EXTEN:1})
exten => _4.,n,Rpt(${EXTEN:1}|D|${CALLERID(name)}-P)
exten => _4.,n,Hangup

exten => _5.,1,Ringing
exten => _5.,n,Wait(3)
exten => _5.,n,Answer
exten => _5.,n,Playback(rpt/node)
exten => _5.,n,Saydigits(${EXTEN:1})
exten => _5.,n,Rpt(${EXTEN:1}|Dv|${CALLERID(name)}-P)
exten => _5.,n,Hangup

[allstar-public]

exten => s,1,Ringing
exten => s,n,Set(RESP=${CURL(https://register.allstarlink.org/cgi-bin/authwebphone.pl?${CALLERID(name)})})
exten => s,n,Set(NODENUM=${CALLERID(number)})
exten => s,n,GotoIf($["${RESP:0:1}" = "?"]?hangit)
exten => s,n,GotoIf($["${RESP:0:1}" = ""]?hangit)
exten => s,n,GotoIf($["${RESP:0:5}" != "OHYES"]?hangit)
exten => s,n,Set(CALLSIGN=${RESP:5})
exten => s,n,Wait(3)
exten => s,n,Playback(rpt/node|noanswer)
exten => s,n,Saydigits(${NODENUM})
exten => s,n,Set(CALLERID(num)=0)
exten => s,n,Set(CALLERID(name)=${CALLSIGN})
exten => s,n,Rpt(${NODENUM}|X)
exten => s,n,Hangup
exten => s,n(hangit),Answer
exten => s,n(hangit),Wait(1)
exten => s,n(hangit),Hangup

exten => 9999,1,Goto(allstar-public|s|1)

;#includeifexists custom/extensions.conf


Now we move on to iax.conf

To get your node number and password you will need to login into allstarlink click on the actual node and their should be a tan box with your node number and password in that box.. You can just add the lines you need for each node..


Code: [Select]
cat iax.conf
; Inter-Asterisk eXchange driver definition
;
[general]
bindport=4569
bindaddr=0.0.0.0
disallow=all
allow=gsm
allow=g726aal2
allow=ulaw
jitterbuffer=yes
forcejitterbuffer=yes
dropcount=2
maxjitterbuffer=4000
maxjitterinterps=10
resyncthreshold=1000
maxexcessbuffer=80
minexcessbuffer=10
jittershrinkrate=1
tos=0x1E
autokill=yes
delayreject=yes
;iaxthreadcount=30
;iaxmaxthreadcount=150

register=nodenumber:nodepassword@register.allstarlink.org
register=nodenumber2:nodepassword2@register.allstarlink.org
register=nodenumber3:nodepassword3@register.allstarlink.org
register=nodenumber4:nodepassword4@register.allstarlink.org
register=nodenumber5:nodepassword5@register.allstarlink.org
register=nodenumber6:nodepassword6@register.allstarlink.org

[radio-proxy]
type=user
;deny=0.0.0.0/0.0.0.0
;permit=/255.255.255.255
context=radio-secure-proxy
disallow=all
allow=gsm
allow=g726aal2
transfer=no


;[radio-proxy-out] ;I comment this out and things seem to be ok..
;type=peer
;host=
;username=nodenumber
;secret=nodepassword..
;auth=md5
;disallow=all
;allow=g726aal2
;transfer=no


; Incoming radio connections

[radio]
type=user
disallow=all
allow=gsm
allow=g726aal2
codecpriority=host
context=radio-secure
transfer=no

; Incoming phone connections to app_rpt

;[radio-control]
;type=user
;secret=nunya
;disallow=all
;allow=gsm
;codecpriority=host
;context=radio-control
;transfer=no

; Setup for outgoing calls

;[yourprovider]         ; This needs to change
;type=peer
;host=127.0.0.1
;secret=nunya
;auth=md5
;disallow=all
;allow=gsm
;transfer=no

[allstar-sys]
type=user
context=allstar-sys
auth=rsa
inkeys=allstar
disallow=all
allow=gsm
allow=ulaw

[allstar-public]
type=user
context=allstar-public
auth=md5
secret=allstar
disallow=all
allow=gsm
allow=ulaw

;#includeifexists custom/iax.conf


Ok now we move on to rpt.conf and how it should look after
Code: [Select]
[macronodenumber] you can pretty much just copy and paste what you had from your other node below that make sure you add a few spaces so everything isn't run together..

afterwords make sure you put your ip info
like this..

Code: [Select]
nodenubmer1 = radio@127.0.0.1/nodenumber1,NONE
nodenumber2 = radio@127.0.0.1/nodenumber2,NONE
nodenumber3 = radio@127.0.0.1/nodenumber3,NONE
nodenumber4 = radio@127.0.0.1/nodenumber4,NONE





loren@server:/etc/asterisk$ cat rpt.conf

Below is a running sample of what i am using for my nodes..
Code: [Select]
; Radio Repeater configuration file (for use with app_rpt)
;


;
; Your Repeater
;


[41715]                                 ; Change this to your assigned node number

rxchannel=DAHDI/pseudo
erxgain=-3
etxgain=3
;outstreamcmd=/bin/sh,-c,/usr/bin/lame --preset cbr 16 -r -m m -s 8 --bitwidth 16 - - | /usr/bin/ezstream -qvc /etc/ezstream.xml
;controlstates=controlstates
scheduler=schedule41715
macro=macro
startup_macro=*95327103
morse=morse41715
macro=macro41715
functions=functions41715
phone_functions=functions41715
link_functions=functions41715
telemetry=telemetry
wait_times=wait-times
context =  radio
callerid = "Repeater" <0000000000>
idrecording = /home/loren/idmsg2
idrecording = |iKC9ZHV
accountcode=RADIO
hangtime=100
althangtime=100
totime=240000
idtime=540000
politeid=3000

idtalkover=|iKC9ZHV
unlinkedct=ct2
remotect=ct3
linkunkeyct=ct8
;nolocallinkct=0
;eannmode=1
;connpgm=yourconnectprogram
;discpgm=yourdisconnectprogram
;lnkactenable=0
;lnkacttime=1800
;lnkactmacro=*52
;lnkacttimerwarn=30seconds
;remote_inact_timeout=1800
;remote_timeout=3600
nounkeyct=0
;holdofftelem=0
beaconing=0
telemdefault=0
telemdynamic=0
archivedir=/var/www/audio

;
; *** Status Reporting ***
;
; 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

;
; Morse code parameters, these are common to all repeaters.
;

[morse41715]

speed=18
frequency=800
amplitude=4096
idfrequency=750
idamplitude=1024

[schedule41715]
;dtmf_function =  m h dom mon dow  ; ala cron, star is implied


[functions41715]
1=ilink,1
;2=ilink,2
3=ilink,3
;4=ilink,4
;5=macro,1
70=ilink,5
;71=ilink,6
;72=ilink,7
;73=ilink,15
;74=ilink,16
;75=ilink,8

;80=status,1
;81=status,2

951=ilink,11 ; Permanent link disconnect
;952=ilink,12 ; Permanent link receive
953=ilink,13 ; Permanent link transceive

;6=autopatchup,noct=1,farenddisconnect=1,dialtime=20000 ; Autopatch up
;0=autopatchdn                          ; Autopatch down

;989=cop,4
;980=status,3
99=cop,6

; Place command macros here

[macro41715]




[27103]                                 ; Change this to your assigned node number

rxchannel=DAHDI/pseudo
erxgain=-3
etxgain=3
;controlstates=controlstates
scheduler=schedule27103
macro=macro
startup_macro=*95342354
morse=morse27103
macro=macro27103
functions=functions27103
phone_functions=functions27103
link_functions=functions27103
telemetry=telemetry
wait_times=wait-times
context =  radio
callerid = "Repeater" <0000000000>
idrecording = /home/loren/idmsg2
idrecording = |iKC9ZHV/R
accountcode=RADIO
hangtime=5
althangtime=100
totime=240000
idtime=540000
politeid=3000

idtalkover=|iKC9ZHV/R
unlinkedct=ct2
remotect=ct3
linkunkeyct=ct8
;nolocallinkct=0
;eannmode=1
;connpgm=yourconnectprogram
;discpgm=yourdisconnectprogram
;lnkactenable=0
;lnkacttime=1800
;lnkactmacro=*52
;lnkacttimerwarn=30seconds
;remote_inact_timeout=1800
;remote_timeout=3600
nounkeyct=0
;holdofftelem=0
beaconing=0
telemdefault=0
telemdynamic=0
archivedir=/var/www/audio
;
; *** Status Reporting ***
;
; 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

;
; Morse code parameters, these are common to all repeaters.
;

[morse27103]

speed=20
frequency=800
amplitude=4096
idfrequency=750
idamplitude=1024

[schedule27103]
;dtmf_function =  m h dom mon dow  ; ala cron, star is implied


[functions27103]
1=ilink,1
;2=ilink,2
3=ilink,3
;4=ilink,4
;5=macro,1
70=ilink,5
;71=ilink,6
;72=ilink,7
;73=ilink,15
;74=ilink,16
;75=ilink,8

;80=status,1
;81=status,2

951=ilink,11 ; Permanent link disconnect
952=ilink,12 ; Permanent link receive
953=ilink,13 ; Permanent link transceive

;6=autopatchup,noct=1,farenddisconnect=1,dialtime=20000 ; Autopatch up
;0=autopatchdn                          ; Autopatch down

;989=cop,4
980=status,3
99=cop,6

; Place command macros here

[macro27103]




[41834]                                 ; Change this to your assigned node number

rxchannel=DAHDI/pseudo
erxgain=-3
etxgain=3
;controlstates=controlstates
scheduler=schedule41834
macro=macro
startup_macro=*95341715
morse=morse41834
macro=macro41834
functions=functions41834
phone_functions=functions41834
link_functions=functions41834
telemetry=telemetry
wait_times=wait-times
context =  radio
callerid = "Repeater" <0000000000>
idrecording = /home/loren/idmsg2
idrecording = |iKC9ZHV
accountcode=RADIO
hangtime=100
althangtime=100
totime=240000
idtime=540000
politeid=3000

idtalkover=|iKC9ZHV
unlinkedct=ct2
remotect=ct3
linkunkeyct=ct8
;nolocallinkct=0
;eannmode=1
;connpgm=yourconnectprogram
;discpgm=yourdisconnectprogram
;lnkactenable=0
;lnkacttime=1800
;lnkactmacro=*52
;lnkacttimerwarn=30seconds
;remote_inact_timeout=1800
;remote_timeout=3600
nounkeyct=0
;holdofftelem=0
beaconing=0
telemdefault=0
telemdynamic=0
archivedir=/var/www/audio
;
; *** Status Reporting ***
;
; 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

;
; Morse code parameters, these are common to all repeaters.
;

[morse41834]

speed=18
frequency=800
amplitude=4096
idfrequency=750
idamplitude=1024

[schedule41834]
;dtmf_function =  m h dom mon dow  ; ala cron, star is implied


[functions41834]
1=ilink,1
;2=ilink,2
3=ilink,3
;4=ilink,4
;5=macro,1
70=ilink,5
;71=ilink,6
;72=ilink,7
;73=ilink,15
;74=ilink,16
;75=ilink,8

80=status,1
81=status,2

951=ilink,11 ; Permanent link disconnect
952=ilink,12 ; Permanent link receive
953=ilink,13 ; Permanent link transceive

;6=autopatchup,noct=1,farenddisconnect=1,dialtime=20000 ; Autopatch up
;0=autopatchdn                          ; Autopatch down

;989=cop,4
;980=status,3
99=cop,6

; Place command macros here

[macro41834]




[42448]                                 ; Change this to your assigned node number

rxchannel=DAHDI/pseudo
duplex=2
erxgain=-3
etxgain=3
;controlstates=controlstates
scheduler=schedule42448
morse=morse42448
macro=macro42448
functions=functions42448
phone_functions=functions42448
link_functions=functions42448
telemetry=telemetry
wait_times=wait-times
context =  radio
callerid = "Repeater" <0000000000>
idrecording = /home/loren/idmsg2
idrecording = |iKC9ZHV
accountcode=RADIO
hangtime=100
althangtime=100
totime=240000
idtime=540000
politeid=3000

idtalkover=|iKC9ZHV
unlinkedct=ct2
remotect=ct3
linkunkeyct=ct8
;nolocallinkct=0
;eannmode=1
;connpgm=yourconnectprogram
;discpgm=yourdisconnectprogram
;lnkactenable=0
;lnkacttime=1800
;lnkactmacro=*52
;lnkacttimerwarn=30seconds
;remote_inact_timeout=1800
;remote_timeout=3600
nounkeyct=0
;holdofftelem=0
beaconing=0
telemdefault=0
telemdynamic=0
archivedir=/var/www/audio

;
; *** Status Reporting ***
;
; 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

;
; Morse code parameters, these are common to all repeaters.
;

[morse42448]

speed=18
frequency=800
amplitude=4096
idfrequency=750
idamplitude=1024

[schedule42448]
;dtmf_function =  m h dom mon dow  ; ala cron, star is implied


[functions42448]
1=ilink,1
;2=ilink,2
3=ilink,3
;4=ilink,4
;5=macro,1
;70=ilink,5
;71=ilink,6
;72=ilink,7
;73=ilink,15
;74=ilink,16
;75=ilink,8
;771=/etc/asterisk/script/autostop
;773=/etc/asterisk/script/autostart

;80=status,1
;81=status,2

;6=autopatchup,noct=1,farenddisconnect=1,dialtime=20000 ; Autopatch up
;0=autopatchdn                          ; Autopatch down

;989=cop,4
;980=status,3
99=cop,6

; Place command macros here

[macro42448]


;KB7QLT Node

[29593]                                 ; Change this to your assigned node number

rxchannel=dahdi/pseudo
erxgain=0
etxgain=0
;controlstates=controlstates
macro=macro
;outstreamcmd=/bin/sh,-c,/usr/bin/lame --preset cbr 16 -r -m m -s 8 --bitwidth  16 - - | /usr/bin/ezstream -qvc /etc/ezstream3.xml
;startup_macro=*95329925
scheduler=schedule29593
morse=morse29593
macro=macro29593
functions=functions29593
phone_functions=functions29593
link_functions=functions29593
telemetry=telemetry
wait_times=wait-times
context =  radio
callerid = "Repeater" <0000000000>
;idrecording= /home/loren/idmsg2
idrecording = |iKB7QLT
accountcode=RADIO
hangtime=100
althangtime=100
totime=240000
idtime=540000
politeid=3000

idtalkover=|iKB7QLT
unlinkedct=ct2
remotect=ct3
linkunkeyct=ct8
;nolocallinkct=0
;eannmode=1
;connpgm=yourconnectprogram
;discpgm=yourdisconnectprogram
;lnkactenable=0
;lnkacttime=1800
;lnkactmacro=*52
;lnkacttimerwarn=30seconds
;remote_inact_timeout=1800
;remote_timeout=3600
nounkeyct=0
;holdofftelem=0
beaconing=0
telemdefault=2
archivedir=/var/www/audio

;
; *** Status Reporting ***
;
; 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 Dial ***
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

;
; Morse code parameters, these are common to all repeaters.
;

[morse29593]

speed=20
frequency=800
amplitude=4096
idfrequency=750
idamplitude=1024

[schedule29593]
;dtmf_function =  m h dom mon dow  ; ala cron, star is implied


[functions29593]
1=ilink,1
2=ilink,2
3=ilink,3
4=ilink,4
5=macro,1
70=ilink,5
71=ilink,6
72=ilink,7
73=ilink,15
74=ilink,16
75=ilink,8

951=ilink,11 ; Permanent link disconnect
952=ilink,12 ; Permanent link receive
953=ilink,13 ; Permanent link transceive

80=status,1
81=status,2

;6=autopatchup,noct=1,farenddisconnect=1,dialtime=20000 ; Autopatch up
;0=autopatchdn                          ; Autopatch down

989=cop,4
980=status,3
99=cop,6

; Place command macros here

[macro29593]

;AA1PR Vermont Hub information..

[42354]                                 ; Change this to your assigned node number

rxchannel=DAHDI/pseudo
duplex=2
erxgain=-3
etxgain=3
;controlstates=controlstates
scheduler=schedule42354
macro=macro
startup_macro=*95342353
morse=morse42354
macro=macro42354
functions=functions42354
phone_functions=functions42354
link_functions=functions42354
telemetry=telemetry
wait_times=wait-times
context =  radio
callerid = "Repeater" <0000000000>
;idrecording = /home/loren/idmsg2
idrecording = |iAA1PR
accountcode=RADIO
hangtime=8
althangtime=20
totime=240000
idtime=540000
politeid=3000

idtalkover=|iKC9ZHV
unlinkedct=ct2
remotect=ct3
linkunkeyct=ct8
;nolocallinkct=0
;eannmode=1
;connpgm=yourconnectprogram
;discpgm=yourdisconnectprogram
;lnkactenable=0
;lnkacttime=1800
;lnkactmacro=*52
;lnkacttimerwarn=30seconds
;remote_inact_timeout=1800
;remote_timeout=3600
nounkeyct=0
;holdofftelem=0
beaconing=0
telemdefault=0
telemdynamic=0
archivedir=/var/www/audio

;
; *** Status Reporting ***
;
; 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

;
; Morse code parameters, these are common to all repeaters.
;

[morse42354]

speed=18
frequency=800
amplitude=4096
idfrequency=750
idamplitude=1024

[schedule42354]
;dtmf_function =  m h dom mon dow  ; ala cron, star is implied


[functions42354]
1=ilink,1
;2=ilink,2
3=ilink,3
;4=ilink,4
;5=macro,1
;70=ilink,5
;71=ilink,6
;72=ilink,7
;73=ilink,15
;74=ilink,16
;75=ilink,8
;771=/etc/asterisk/script/autostop
;773=/etc/asterisk/script/autostart

951=ilink,11 ; Permanent link disconnect
952=ilink,12 ; Permanent link receive
953=ilink,13 ; Permanent link transceive

;80=status,1
;81=status,2

;6=autopatchup,noct=1,farenddisconnect=1,dialtime=20000 ; Autopatch up
;0=autopatchdn                          ; Autopatch down

;989=cop,4
;980=status,3
99=cop,6

; Place command macros here

[macro42354]




[telemetry]

ct1=|t(350,0,100,2048)(500,0,100,2048)(660,0,100,2048)
ct2=|t(660,880,150,2048)
ct3=|t(440,0,150,4096)
ct4=|t(550,0,150,2048)
ct5=|t(660,0,150,2048)
ct6=|t(880,0,150,2048)
ct7=|t(660,440,150,2048)
ct8=|t(700,1100,150,2048)
remotetx=|t(1633,0,50,3000)(0,0,80,0)(1209,0,50,3000);
remotemon=|t(1209,0,50,2048)
cmdmode=|t(900,903,200,2048)
functcomplete=|t(1000,0,100,2048)(0,0,100,0)(1000,0,100,2048)
patchup=rpt/callproceeding
patchdown=rpt/callterminated

;
; This section allows wait times for telemetry events to be adjusted
; A section for wait times can be defined for every repeater
;

[wait-times]
telemwait=2000
idwait=500
unkeywait=2000
calltermwait=2000

;
; This is where you define your nodes which cam be connected to.
;

[nodes]
; Note, if you are using automatic update for allstar link nodes,
; no allstar link nodes should be defined here. Only place a definition
; for your locak nodes, and private (off of allstar link) nodes here.

41715 = radio@127.0.0.1/41715,NONE
27103 = radio@127.0.0.1/27103,NONE
41834 = radio@127.0.0.1/41834,NONE
42448 = radio@127.0.0.1/42448,NONE
29593 = radio@127.0.0.1/29593,NONE
29925 = radio@167.114.6.214/29925,NONE
40875 = radio@167.114.6.214/40875,NONE
42354 = radio@127.0.0.1/42354,NONE

; Memories for remote bases

[memory]

;00 = 146.580,100.0,m
;01 = 147.030,103.5,m+t
;02 = 147.240,103.5,m+t
;03 = 147.765,79.7,m-t
;04 = 146.460,100.0,m
;05 = 146.550,100.0,m


14
Allstarlink General Config and tutorial / secure your server
« on: July 14, 2016, 06:55:17 PM »
here is how i secure and setup the basics..

I just follow the getting started tutorial with linode for my nodes its easier to follow along..

https://www.linode.com/docs/getting-started

Then i do the whole Security thing listed here..

https://www.linode.com/docs/security/securing-your-server/

hope this helps.

15
Allstarlink Video Tutorials / How to install Debian
« on: July 14, 2016, 06:53:25 PM »
Here is some basics on install Debian Allstarlink

Download http://kc9zhv.com/iso/dial-allstar-netinstall.iso


Burn to cd or usb drive.
insert cd or usb Select option one to install allstarlink and debian.

Code: [Select]
username: root
password: debian

to install a desktop environment
Code: [Select]
sudo apt-get install lxde iceweasel htop terminator
The above command will install lxde desktop environment along with iceweasle a firefox browser this is common in my installations.. htop is a tool to monitor cp information via commandline i use terminator


16
General Discussion / Asterisk Development
« on: July 13, 2016, 08:36:56 AM »
We really need to get a group of developers together to discuss our future plans with asterisk 1.4.23

Any suggestions on how we should proceed is welcome.. Also developers that are willing to donate their time to the project are needed.

Here is a thought on maybe merging it in with a NethServer.. I have been using their distro for a couple of days and it seems very secure and stable at this moment..

http://community.nethserver.org/t/asterisk-allstarlink-and-nethserver-development/3886/3

17
Raspberry Pi General / Greetings
« on: July 13, 2016, 05:57:43 AM »
I know nothing about raspberry pi so lets hope we get enough users that can help others working with the pi's

Pages: [1]