AllStarLink (ASL) :: IAXRPT setup on AllStarLink (not HamVoIP) image

Sometimes -- it's hard to believe, I know -- your may not be near a radio! But you still need to transmit on you node. If you have your phone or tablet on you, you can use a Voip app to talk on your AllStar node. It's a good contingency anyway. And it works without too much hassle.

As advertised, this is my configuration on the AllStarLink image, not HamVoip image (which is my next project).

Also, please note that I'm no expert. I've experimented with various write-ups found on these inter-tubes, some of which failed comically. This is the setup that has worked for me on multiple machines.

1. Configure iax.conf

Find and/or edit and/or add the following sections in the file.

Not sure if you need to change this part. I have my computers/nodes using static IP addresses on my home network, so I set these at one point. But I changed their IPs recently and forgot to change these and IAXRPT worked just fine. Obviously if you are DHCP dynamic address, there is no need to change this.

;bindaddr = 127.0.0.1        ; more than once to bind to multiple
bindaddr = YOUR_IP_ADRESS        ; more than once to bind to multiple
                                ; addresses, but the first will be the
                                ; default

The next, general IAX stanza should be configured. Change YOUR_SEKRIT_PASSWORD to your own chosen password. You will be supplying this in your Voip app's configuration so that you can connect to your node.

Pay attention to the context = iax-client line. You can rename the stanza to something more meaningful to you but remember, as the note says, that the stanza name must match the name in extensions.conf

[iax-client]                            ; Connect from iax client (Zoiper...)
type = friend                           ; Notice type here is friend <--------------
context = iax-client                    ; Context to jump to in extensions.conf
auth = md5
secret = YOUR_SEKRIT_PASSWORD
host = dynamic
disallow = all
allow = ulaw
allow = adpcm
allow = gsm
transfer = no

Next, add/set up this user stanza. This sets things up for the user login/password you will be using via your Voip app. YOUR_USERNAME can be anything you want it to be, possibly even your callsign or something like admin. Note that this username will be used in, and thus has to match, the stanza in the extensions.conf file.

Presumably, you can set up as many of these stanzas as you need for different users, if you plan an having several users talk through your node.

But callerid=YOUR_CALLSIGN definitely needs to be your callsign

; Voip/Zoiper stuff
[YOUR_USERNAME]
username=YOUR_USERNAME
type=friend
context=iax-client
host=dynamic
auth=md5
secret=YOUR_SEKRIT_PASSWORD
disallow=all
allow=ulaw
allow=g726aal2
allow=gsm
codecpriority=host
transfer=no
callerid=YOUR_CALLSIGN

2. Configure extensions.conf

Replace the following appropriately at the top of this file.

[globals]
HOMENPA = 206 ; change this to your Area Code
NODE = YOUR_NODE_NUMBER ; change this to your node number

Make sure this stanza is here and make sure that it matches the context = iax-client in the iax.rpt file above.

[iax-client]                            ; for IAX VIOP clients.
exten => ${NODE},1,Ringing
exten => ${NODE},n,Wait(3)
exten => ${NODE},n,Answer
exten => ${NODE},n,Set(NODENUM=${CALLERID(number)})
exten => ${NODE},n,Playback(rpt/node|noanswer)
exten => ${NODE},n,SayDigits(${EXTEN})
exten => ${NODE},n,Set(CALLERID(num)=0)
exten => ${NODE},n,Rpt,${NODE}|P|${CALLERID(name)}
exten => ${NODE},n,Hangup
exten => ${NODE},n(hangit),Answer
exten => ${NODE},n(hangit),Wait(1)
exten => ${NODE},n(hangit),Hangup

Notice below YOUR_USERNAME is the same as iax.conf file above. Make sure these stanza names match. It looks like these are commands to execute when user YOUR_USERNAME logs/calls into the node from your phone. Namely, the Node Lady sends the Voip app an announcement that it has connected to your app.

; Zoiper stuff
;exten=YOUR_NODE_NUMBER,1,rpt(YOUR_NODE_NUMBER|P)
[YOUR_USERNAME]
exten=YOUR_NODE_NUMBER,1,answer()
exten=YOUR_NODE_NUMBER,n,Playback(rpt/node)
exten=YOUR_NODE_NUMBER,n,Playback(digits/DIGIT)
exten=YOUR_NODE_NUMBER,n,Playback(digits/DIGIT)
exten=YOUR_NODE_NUMBER,n,Playback(digits/DIGIT)
exten=YOUR_NODE_NUMBER,n,Playback(digits/DIGIT)
exten=YOUR_NODE_NUMBER,n,Playback(digits/DIGIT)
exten=YOUR_NODE_NUMBER,n,Playback(digits/DIGIT)
exten=YOUR_NODE_NUMBER,n,Playback(rpt/connected)
exten=YOUR_NODE_NUMBER,n,rpt(YOUR_NODE_NUMBER|Pv)

Replace YOUR_NODE_NUMBER with your node number, obvs. And replace DIGIT with the actual number. So if your node is 1234, the stanza would look like:

; Zoiper stuff
;exten=1234,1,rpt(1234|P)
[YOUR_USERNAME]
exten=1234,1,answer()
exten=1234,n,Playback(rpt/node)
exten=1234,n,Playback(digits/1)
exten=1234,n,Playback(digits/2)
exten=1234,n,Playback(digits/3)
exten=1234,n,Playback(digits/4)
exten=1234,n,Playback(rpt/connected)
exten=1234,n,rpt(1234|Pv)

3. Install Zoiper and configure

Get it from the GoogleAppPlayStore for you mobile device... or for your lappy/desktop.

Follow the 3rd page of these instructions for configuring your mobile device.

References