Zoiper

From "PTTLink Wiki"
Revision as of 05:33, 28 January 2022 by Kg7qin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Setting up your AllStarLink/PTTLink node to use Zoiper is simple!

Node Configuration

iax.conf

Note: Replace the items between < and > with the information indicated. (e.g., If your name was Jim with node 2000 you would replace [<NAME>] with [JIM] and <NODE#> with 2000).

Edit your /etc/asterisk/iax.conf file adding the following:
[<USERNAME>]         ; This stanza will be the same as your username from Zoiper
type=friend
context=sip-phone
username=<USERNAME>  ; Same as stanza name above
auth=md5
secret=<PASSWORD>    ; Change to match the password you entered into Zoiper for the account
codecpriority=host
host=dynamic
disallow=all
allow=ulaw
allow=alaw
transfer=no
callerid=<CALLSIGN>  ; Change to your callsign

extensions.conf

Edit your /etc/asterisk/extensions.conf file adding the following:
[iax-phone]
exten => <NODE#>,1,Answer() ; Change NODE# to either match your node number of a number to connect to your node
exten => <NODE#>,n,Set(CALLERID(name)="'''YOUR CALLSIGN'''")
exten => <NODE#>,n,Playback(rpt/connected)
exten => <NODE#>,n,PLayback(rpt/node)
exten => <NODE#>,n,Saydigits(${EXTEN})
exten => <NODE#>,n,Rpt(${EXTEN}|P|${CALLERID(name)})

Zopier

Download

You can download the latest version of Zoiper for Linux, Windows, Mac, Android, and iOS from https://www.zoiper.com/en/voip-softphone/download/current. The "classic" versions are available for download from https://www.zoiper.com/en/voip-softphone/download/classic

Configuration

You can find instructions for configuring Zoiper for use with a SIP/IAX2 account are located at Zoiper Setup.

Note: You want to use the IAX UDP account type.

Calling

  • Start Zoiper
  • Ensure Zopier is registering with your node using the account information you setup previously.
    • In Zoiper: you will see a green check mark next to the account under Settings->Accounts
    • In Asterisk: you can check your node to see if Zoiper has successfully registered with:
 KG7QIN*CLI> iax2 show peers
 Name/Username    Host                 Mask             Port          Status    
 kg7qin/kg7qin    192.168.0.20     (D) 255.255.255.255  4569          Unmonitored
Your account will show the IP address under Host for a successful registration or (Unspecified) if it hasn't
  • Dial your NODE # (or the access number) you setup in extensions.conf and you will be greeted with "Connected node <NODE NUMBER>" and your node can then dial out to the AllStarLink/PTTLink network using * commands.