# Zoiper Setup for AllStar

**URL:** <https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893>\
**Category:** AllStarLink\
**Created:** [April 25, 2019, 6:44pm UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893 "2019-04-25T18:44:21Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [April 25, 2019, 6:44pm UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/1 "2019-04-25T18:44:21Z")

</div>

Zoiper is an iOS and Android VoIP telephone app that can be used with AllStar.

**AllStar Node Settings**  
The Zoiper configuration below allows connections to any node on your AllStar server.

In /etc/asterisk/custom/iax.conf add the following lines. This sets the user ID to zoiper and password to the password of your choice. Any number of users can use this ID at the same time.

```auto
; Login for zoiper
[zoiper]
username=Users
type=friend
context=zoiper
host=dynamic
auth=md5
secret=yourZoiperPassword
disallow=all
allow=ulaw
allow=g726aal2
allow=gsm
codecpriority=host
transfer=no

```

If you want to have individual IDs, use the configuration below in place of or in addition to the configuration above. Repeat these lines for each user, replacing [wb6xxx] with the users call sign and replace with call sign in caps ie callerid=“WB6XXX”. Repeat for as many users as needed.

```auto
; Login for user wb6xxx
[wb6xxx]
username="First and last name"
type=friend
context=zoiper
host=dynamic
auth=md5
secret=userZoiperPassword
disallow=all
allow=ulaw
allow=g726aal2
allow=gsm
codecpriority=host
transfer=no
callerid="WB6XXX"

```

In /etc/asterisk/custom/extensions.conf add the following lines. All of the users created in iax.conf will use this same configuration.

```auto
[zoiper]
exten => _X!,1,Ringing
exten => _X!,n,Wait(10)
exten => _X!,n,NoOp(${CALLERID(name)})
exten => _X!,n,NoOp(${CALLERID(number)})
exten => _X!,n,Set(CALLSIGN=${CALLERID(name)})
exten => _X!,n,GotoIf($[${ISNULL(${CALLSIGN})} = 1]?hangit)
exten => _X!,n,Answer
exten => _X!,n,Wait(3)
exten => _X!,n,Playback(connecting)
exten => _X!,n,rpt(${EXTEN}|Pv|${CALLSIGN}-P)
exten => _X!,n(hangit),Answer
exten => _X!,n,Playback(connection-failed)
exten => _X!,n,Wait(1)
exten => _X!,n,Hangup

```

**Smart Phone Settings**  
These instructions are for iPhone. Android will look slightly different.

1. Download the Zoiper Free app from the App Store.
2. Open Zoiper and click Settings.
3. Click Accounts. First time set up may take you directly to accounts.
4. Click “Yes” you already have an account.
5. Click Manual Configuration.
6. Click IAX.
7. Details (see screen capture below)

- Account name: [Chose a nice name]
- Server: [IP address of your node]
- User name: [ID set in iax.conf]
- Password: [Password set in iax.conf]
- Caller ID: [Call sign in uppercase]
- Select enable on start

1. If things are right you will see the account registering and then after about 10 seconds it should show OK. If the registration fails, check your settings in the account.

 ![zoiper](https://community.allstarlink.org/uploads/default/original/1X/555ff60589045172bd83b0f876a5a452b72fde1b.png)

**Using Zoiper**

- Bring up the keypad and dial the node number. Press Call. Zoiper can only call nodes on your server. However, once Zoiper is connected you can connect your node to other nodes with the keypad, just like with your radio’s keypad.
- Press Speaker. When you hear “connecting”, press mute. Zoiper on AllStar uses VOX to key the transmitter. Press Mute to unmute and then talk.
- Use ear buds to prevent echo.
- Press End Call to disconnect.
- Zoiper is logged in while running. Quit Zoiper to logout.

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [April 25, 2019, 8:21pm UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/2 "2019-04-25T20:21:31Z")

</div>

**How to Limit Connections**  
If you have multiple nodes on your server and you want to limit the connection to one or two nodes, this how.

This configuration allows connections to node 500 and 501 only. With this example node 501 is listen only. Node 501 is connected to 500 in monitor mode with a startup\_macro = \*2500 command in rpt.conf. VOX has been turned off on node 501 so users can’t talk to each other.

/etc/asterisk/custom/extensions.conf

```auto
[zoiper]
exten => _X!,1,Ringing
exten => _X!,n,Wait(10)
exten => _X!,n,NoOp(${CALLERID(name)})
exten => _X!,n,Set(CALLSIGN=${CALLERID(name)})
exten => _X!,n,GotoIf($[${EXTEN} = 500]?xceive)
exten => _X!,n,GotoIf($[${EXTEN} = 501]?rxonly)
exten => _X!,n,Playback(connection-failed)
exten => _X!,n,Wait(1)
exten => _X!,n,Hangup
exten => _X!,n(xceive),Answer
exten => _X!,n,Playback(connecting)
exten => _X!,n,rpt(500|Pv|${CALLSIGN}-P) ; Xceive w/VOX
exten => _X!,n,Wait(1)
exten => _X!,n,Hangup
exten => _X!,n(rxonly),Answer
exten => _X!,n,Playback(connecting)
exten => _X!,n,rpt(501|P|${CALLSIGN}-P) ; Rx only, w/o VOX
exten => _X!,n,Playback(connection-failed)
exten => _X!,n,Wait(1)
exten => _X!,n,Hangup

```

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [June 23, 2019, 6:13am UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/3 "2019-06-23T06:13:42Z")

</div>

> k6dvd asked me
> 
> 1. What dictates the [stanza] name in iax.conf? I used “myphone”  
> according to another example I read and it works.
> 
> 2. I would like to understand the commands and syntax used in  
> extensions.conf. Where can I find this info?

The context is set by iax.conf with the `context=` statement. It can be pretty much whatever you like as long as you make the same in extensions.conf. Think of it as what that happens when call comes in. The incoming call jumps into the dialplan (which is set by extensions.conf) at the context.

You can see the dialplan with the Asterisk CLI command `dialplan show` or just the context within the dial plan with `dialplan show zoiper`.

Here’s a sample CLI command showing the dialplan for the context called wd6awp. Notice only the context name is different than the zoiper example above.

```auto
Huntington*CLI> dialplan show wd6awp
[Context 'wd6awp' created by 'pbx_config']
  '_X!' => 1. Ringing() [pbx_config]
                    2. Wait(10) [pbx_config]
                    3. NoOp(${CALLERID(name)}) [pbx_config]
                    4. NoOp(${CALLERID(number)}) [pbx_config]
                    5. Set(CALLSIGN=${CALLERID(name)}) [pbx_config]
                    6. GotoIf($[${ISNULL(${CALLSIGN})} = 1]?hangit) [pbx_config]
                    7. Answer() [pbx_config]
                    8. Wait(3) [pbx_config]
                    9. Playback(connecting) [pbx_config]
                    10. rpt(${EXTEN}|Pv|${CALLSIGN}-P) [pbx_config]
     [hangit] 11. Answer() [pbx_config]
                    12. Playback(connection-failed) [pbx_config]
                    13. Wait(1) [pbx_config]
                    14. Hangup() [pbx_config]
Huntington*CLI> 

```

The best way to learn about asterisk is the definitive book on Asterisk, the O’reilly book.

> **[Asterisk: The Definitive Guide, 4th Edition](https://www.oreilly.com/library/view/asterisk-the-definitive/9781449332433/)**
>
> Design a complete Voice over IP (VoIP) or traditional PBX system with Asterisk, even if you have only basic telecommunications knowledge. This bestselling guide makes it easy, with a detailed … - Selection from Asterisk: The Definitive Guide, 4th...

But there are lots of places on the net with most all of what is in that book. Google is you friend.

---

<div class="post-metadata">

**Author:** ![N5BUX](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/n/b2d939/32.png) [@N5BUX](https://community.allstarlink.org/u/N5BUX)\
**Post date:** [June 23, 2019, 11:14pm UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/4 "2019-06-23T23:14:35Z")

</div>

ARP:

How correlated is this Allstarlink user group with [hamvoip.org](http://hamvoip.org) ?

I see that your recommended extensions.conf for Zoiper is quite different from version in [hamvoip.org](http://hamvoip.org) :

[https://hamvoip.org/ConnectZoipertoAllstarNode.pdf](https://hamvoip.org/ConnectZoipertoAllstarNode.pdf)

I am trying to connect Iphone/Zoiper with an RP3 with CM119 FOB.

The RP3/FOB is connected to both an external speaker and mic.

I can hear the RP3 ID’ing and announcing time on the iphone and FOB speaker.

Iphone is not receiving mic transmissions thru the FOB/RP3.

Neither are my iphone transmissions being received by the RP3/FOB external speaker.

Would appreciate any advice.

Thank you

> [@Zoiper Setup for AllStar](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/2):
>
> How to Limit Connections If you have multiple nodes on your server and you want to limit the connection to one or two nodes, this how. This configuration allows connections to node 500 and 501 only. With this example node 501 is listen only. Node 501 is connected to 500 in monitor mode with a startup\_macro = \*2500 command in rpt.conf. VOX has been turned off on node 501 so users can’t talk to each other. /etc/asterisk/custom/extensions.conf [zoiper] exten =\> \_X!,1,Ringing exten =\> \_X!,n,Wait…

---

<div class="post-metadata">

**Author:** ![N5BUX](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/n/b2d939/32.png) [@N5BUX](https://community.allstarlink.org/u/N5BUX)\
**Post date:** [June 23, 2019, 11:15pm UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/5 "2019-06-23T23:15:59Z")

</div>

Sorry, I meant AWP.

Chuck  
N5BUX

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [June 24, 2019, 12:34am UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/6 "2019-06-24T00:34:30Z")

</div>

> [@N5BUX](#):
>
> How correlated is this Allstarlink user group with [hamvoip.org](http://hamvoip.org) ?
> 
> I see that your recommended extensions.conf for Zoiper is quite different from version in [hamvoip.org](http://hamvoip.org) :

It’s different only because I like the way I do it. Anyone is free to share their ways to configure AllStar on this site.

> [@N5BUX](#):
>
> Iphone is not receiving mic transmissions thru the FOB/RP3.
> 
> Neither are my iphone transmissions being received by the RP3/FOB external speaker.

Interesting problem which I don’t know how to solve. Ideas anyone?

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [June 24, 2019, 3:14am UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/7 "2019-06-24T03:14:23Z")

</div>

@N5BUX, I’ve been mulling this over. Is your mic/spkr node setup with duplex=2? I suspect it’s not because then you’d hear yourself and have feedback if the volume was too loud or the speaker too close. But try that anyway and see if that fixes the Zoiper issue. If it does but it’s not the ideal solution I have another ideal. Post back after you try it.

---

<div class="post-metadata">

**Author:** ![N5BUX](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/n/b2d939/32.png) [@N5BUX](https://community.allstarlink.org/u/N5BUX)\
**Post date:** [June 24, 2019, 3:28am UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/8 "2019-06-24T03:28:39Z")

</div>

Thanks. You are very kind and generous to in your contributions to the community. It’s wonderful.

My friend KG5AH has the hardware at the moment and I have been remotely checking the software. Looking at the extensions.conf, it appears we have no Zoipers section, at all. Will inform as soon as we soon as we complete detailed review of extensions.conf and verify duplex setting. Thanks much for willingness to followup.

Experiencing the world of PBX has been very rewarding so far, despite the formidable learning curve. We have a long way to go to fathom it all, which gives me a very high appreciation for what you and the others have put it together.  
Well done.  
Thank you  
N5BUX

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [June 24, 2019, 4:20am UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/9 "2019-06-24T04:20:43Z")

</div>

The Asterisk learning curve is a steep one indeed and I’m somewhere low on that curve but I’m happy to share what I know.

Go with the hamvoip Zoiper setup to start. You can always change it later as you learn and do it your own way. That’s part of the AllStar fun.

---

<div class="post-metadata">

**Author:** ![KG5EBI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/kg5ebi/32/620_2.png) [@KG5EBI](https://community.allstarlink.org/u/KG5EBI)\
**Post date:** [June 28, 2019, 3:43am UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/10 "2019-06-28T03:43:28Z")

</div>

Far too modest.

When I first tried Zoiper a four or five years ago I followed Doug’s instructions, eventually getting it to work. I prefer’s Tim’s at the top of this thread. His are very well written, concise and simple to follow. I will be referring people to this thread when they ask about Zoiper. Well done @WD6AWP and thank you for taking the time to write it.

---

<div class="post-metadata">

**Author:** ![kc3ol](https://community.allstarlink.org/user_avatar/community.allstarlink.org/kc3ol/32/678_2.png) [@kc3ol](https://community.allstarlink.org/u/kc3ol)\
**Post date:** [July 22, 2019, 8:26pm UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/11 "2019-07-22T20:26:42Z")

</div>

I am running Allstar on a Raspberry Pi 3B+. How many Zoiper users can be connected at the same time?

Ted, KC3OL . QRM DMR Network

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [July 22, 2019, 8:55pm UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/12 "2019-07-22T20:55:28Z")

</div>

Howdy Ted,

> [@kc3ol](#):
>
> How many Zoiper users can be connected at the same time?

That’s hard to say exactly because it depends on many factors. Keep an eye on your CPU, watch the bandwidth and if things start going to heck you’ve reached the limit for your setup. I would think a dozen or two should be fine but I never tested it.

How many Zoiper users are you expecting? BTW, the same ID/password can be used for all Zoiper users if you like.

---

<div class="post-metadata">

**Author:** ![kc3ol](https://community.allstarlink.org/user_avatar/community.allstarlink.org/kc3ol/32/678_2.png) [@kc3ol](https://community.allstarlink.org/u/kc3ol)\
**Post date:** [July 22, 2019, 9:15pm UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/13 "2019-07-22T21:15:40Z")

</div>

I estimate 5-6 users at the same time so there shouldn’t be a problem. When I first set it up earlier today with the PTT option today someone got stuck in the XMIT mode and tapping on the # did not work. There were three of us connected at the time when this happened. Since then I have made changes to iax.conf and extensions per your recommendations and am hoping that all will be OK.

Ted

> **···**
>
> > On Jul 22, 2019, at 4:05 PM, Tim Sawyer via AllStarLink Discussion Groups [noreply@community.allstarlink.org](mailto:noreply@community.allstarlink.org) wrote:
> 
> > 
> 
> > ![](https://community.allstarlink.org/uploads/default/original/1X/e8ae7a08c641de438c30c8bfe791c83882e2d3cb.jpeg "wd6awp")  
> > [wd6awp](https://community.allstarlink.org/u/wd6awp)  
> > ASL Admin
> > 
> > ```
> > July 22
> > 
> > ```
> > 
> > Howdy Ted,
> 
> > > ![](https://community.allstarlink.org/uploads/default/original/1X/433aeb824b18ec80e0df4e515654aebe615f7f47.jpeg) kc3ol:  
> > > How many Zoiper users can be connected at the same time?
> 
> > That’s hard to say exactly because it depends on many factors. Keep an eye on your CPU, watch the bandwidth and if things start going to heck you’ve reached the limit for your setup. I would think a dozen or two should be fine but I never tested it.
> 
> > How many Zoiper users are you expecting? BTW, the same ID/password can be used for all Zoiper users if you like.
> 
> > * * *
> > 
> > [Visit Topic](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/12) or reply to this email to respond.
> 
> > * * *
> > 
> > #### In Reply To
> > 
> > ![](https://community.allstarlink.org/uploads/default/original/1X/7d33d6ea9b48c28a1fc132f02d3391d5ef80a8c5.jpeg "kc3ol")  
> > [kc3ol](https://community.allstarlink.org/u/kc3ol)
> > 
> > ```
> > July 22
> > 
> > ```
> > 
> > I am running Allstar on a Raspberry Pi 3B+. How many Zoiper users can be connected at the same time? Ted, KC3OL . QRM DMR Network
> 
> > * * *
> > 
> > [Visit Topic](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/12) or reply to this email to respond.
> 
> > To unsubscribe from these emails, [click here](https://community.allstarlink.org/email/unsubscribe/e04081aa249a11ad595fea6a87caf3ebed77af19411186614ddfecb9c7e32306).

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [July 22, 2019, 9:41pm UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/14 "2019-07-22T21:41:20Z")

</div>

Zoiper works on VOX. The # won’t unkey. Users must press the mute button to unkey.

---

<div class="post-metadata">

**Author:** ![kc3ol](https://community.allstarlink.org/user_avatar/community.allstarlink.org/kc3ol/32/678_2.png) [@kc3ol](https://community.allstarlink.org/u/kc3ol)\
**Post date:** [July 22, 2019, 9:52pm UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/15 "2019-07-22T21:52:03Z")

</div>

You can change a setting in extensions.conf to disable VOX. I have it setup for PTT. I use \*99 to transmit and # for receive.

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [July 22, 2019, 10:14pm UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/16 "2019-07-22T22:14:33Z")

</div>

> [@kc3ol](#):
>
> You can change a setting in extensions.conf to disable VOX.

The setting to disable VOX is to remove the `v` from:

```auto
exten => _X!,n,rpt(500|Pv|${CALLSIGN}-P) ; Xceive w/VOX

```

Your call to the rpt() app may be slightly different. If so just remove the v.

I’ve never run Zoiper w/o VOX but I see no reason why it wouldn’t work.

---

<div class="post-metadata">

**Author:** ![KK6QMS](https://community.allstarlink.org/user_avatar/community.allstarlink.org/kk6qms/32/1356_2.png) [@KK6QMS](https://community.allstarlink.org/u/KK6QMS)\
**Post date:** [September 21, 2020, 9:59pm UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/17 "2020-09-21T21:59:15Z")

</div>

I have iaxRpt working on PC and on DVSwitch on Android. I have it working on iPhone BUT cannot get mic audio to work. Account registers, can hear audio, can issue control commands, but no audio gets passed on unmute. Ideas?

---

<div class="post-metadata">

**Author:** ![KK6QMS](https://community.allstarlink.org/user_avatar/community.allstarlink.org/kk6qms/32/1356_2.png) [@KK6QMS](https://community.allstarlink.org/u/KK6QMS)\
**Post date:** [March 19, 2023, 9:37pm UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/18 "2023-03-19T21:37:09Z")

</div>

Same issue Zoiper on Mac- registers and passes audio but no mic audio passed on unmute.

---

<div class="post-metadata">

**Author:** ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)\
**Post date:** [March 23, 2023, 11:00pm UTC](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893/19 "2023-03-23T23:00:40Z")

</div>

It is important to set the extension to Phone-vox ‘Pv’ to use it as vox.  
See Tim’s example above.

I believe used purely in Phone mode, you need to initiate \*99 to TX and # to rx again.

> [@WD6AWP](#):
>
> `exten => _X!,n,rpt(500|Pv|${CALLSIGN}-P) ; Xceive w/VOX`
