# 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:** 1\
**Showing post:** 2

<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

```

---

_[View the full topic](https://community.allstarlink.org/t/zoiper-setup-for-allstar/14893)._
