# How to connect two repeaters through a hub ?

**URL:** <https://community.allstarlink.org/t/how-to-connect-two-repeaters-through-a-hub/12465>\
**Category:** AllStarLink\
**Created:** [February 20, 2016, 9:19pm UTC](https://community.allstarlink.org/t/how-to-connect-two-repeaters-through-a-hub/12465 "2016-02-20T21:19:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TK1BI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/tk1bi/32/3512_2.png) [@TK1BI](https://community.allstarlink.org/u/TK1BI)\
**Post date:** [February 20, 2016, 9:19pm UTC](https://community.allstarlink.org/t/how-to-connect-two-repeaters-through-a-hub/12465/1 "2016-02-20T21:19:17Z")

</div>

Hi again,

Another "beginner" question : 😉  
- I have two duplex repeaters (n° 1 and n° 2), on two separate mountains. Each one has app\_rpt configured and running, alone.  
- I'd like to install a hub (n° 3) in the city, to connect repeaters 1 and 2  
- the connection must be permanent : the audio of repeater 1 must be linked permanently to the audio on repeater 2

I read a lot of things, but I do not really understand what to do :  
- Do my repeaters 1 and 2 have to "register" (in iax.conf) to my hub 3, as ther would register to [allstarlink.org](http://allstarlink.org) ? If so, how should I declare the corersponding "server" in iax.conf on 3 ?  
- Do I need to declare 3 in the nodes stanza of 1, and 1 in the nodes stanza of 3 ? Or 1 in the nodes standa of 2, and 2 in the nodes stanza of 1 ?  
- How to make the connection between 1 and 2 (through 3) permanent ? (ie, without having to type DTMF commands to connect)

Thank you for this great piece of software ! But I think mastering it will require some time, HI 🙂

73 de TK1BI

---

<div class="post-metadata">

**Author:** ![TK1BI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/tk1bi/32/3512_2.png) [@TK1BI](https://community.allstarlink.org/u/TK1BI)\
**Post date:** [February 20, 2016, 9:49pm UTC](https://community.allstarlink.org/t/how-to-connect-two-repeaters-through-a-hub/12465/2 "2016-02-20T21:49:34Z")

</div>

For that question, I found the answer : scripting.  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;asterisk -rx "rpt fun \<node\> \<dtmf-cop\>"

> **···**
>
> Le 20/02/2016 22:19, Toussaint OTTAVI a écrit :
> 
> > - How to make the connection between 1 and 2 (through 3) permanent ? (ie, without having to type DTMF commands to connect)

---

<div class="post-metadata">

**Author:** ![KB8JNM](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/5fc32e/32.png) [@KB8JNM](https://community.allstarlink.org/u/KB8JNM)\
**Post date:** [February 20, 2016, 10:35pm UTC](https://community.allstarlink.org/t/how-to-connect-two-repeaters-through-a-hub/12465/3 "2016-02-20T22:35:45Z")

</div>

There are many ways of doing the same thing.  
Each having their own implications.

One method is using a 'start-up macro' to make the connection  
at startup from node3 to each of the other nodes in a permanent fashion.  
Using a assignment for this: (777 is our example assigned command for ilink,13)

???=ilink,11  Disconnect a previously permanently connected link  
???=ilink,12  Permanently connect specified link  monitor only

777=ilink,13 ;Permanently connect specified link  transceive

and running it in a startup macro for each of the other nodes you want a permanent  
connection.

in rpt.conf

startup\_macro=\*777(NodeNum),\*777(NodeNum) ;Macro to run at startup (optional)(no #  
reqd)

There are other ways of doing this. You will probably need to experiment to find  
what works best for your circumstances.

...mike/kb8jnm

> **···**
>
> > Hi again,
> > 
> > Another "beginner" question : 😉  
> > - I have two duplex repeaters (nÂ° 1 and nÂ° 2), on two separate  
> > mountains. Each one has app\_rpt configured and running, alone.  
> > - I'd like to install a hub (nÂ° 3) in the city, to connect repeaters 1 and 2  
> > - the connection must be permanent : the audio of repeater 1 must be  
> > linked permanently to the audio on repeater 2
> > 
> > I read a lot of things, but I do not really understand what to do :  
> > - Do my repeaters 1 and 2 have to "register" (in iax.conf) to my hub 3,  
> > as ther would register to allstarlink.org ? If so, how should I declare  
> > the corersponding "server" in iax.conf on 3 ?  
> > - Do I need to declare 3 in the nodes stanza of 1, and 1 in the nodes  
> > stanza of 3 ? Or 1 in the nodes standa of 2, and 2 in the nodes stanza  
> > of 1 ?  
> > - How to make the connection between 1 and 2 (through 3) permanent ?  
> > (ie, without having to type DTMF commands to connect)
> > 
> > Thank you for this great piece of software ! But I think mastering it  
> > will require some time, HI 🙂
> > 
> > 73 de TK1BI  
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > App\_rpt-users mailing list  
> > App\_rpt-users@ohnosec.org  
> > [http://ohnosec.org/cgi-bin/mailman/listinfo/app\_rpt-users](http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users)
> > 
> > To unsubscribe from this list please visit  
> > [http://ohnosec.org/cgi-bin/mailman/listinfo/app\_rpt-users](http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users) and scroll down to the  
> > bottom of the page. Enter your email address and press the "Unsubscribe or edit  
> > options button"  
> > You do not need a password to unsubscribe, you can do it via email confirmation. If  
> > you have trouble unsubscribing, please send a message to the list detailing the  
> > problem.

---

<div class="post-metadata">

**Author:** ![TK1BI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/tk1bi/32/3512_2.png) [@TK1BI](https://community.allstarlink.org/u/TK1BI)\
**Post date:** [February 21, 2016, 5:13pm UTC](https://community.allstarlink.org/t/how-to-connect-two-repeaters-through-a-hub/12465/4 "2016-02-21T17:13:00Z")

</div>

Thank you. As you stated, I had to experiment a little while 😉 But it's amazing 🙂 Now, it works as expected.

I'm using a macro for auto-start by default.

And later, my little watchdog/controller, will activate/deactivate the link when needed, with something like this :  
&nbsp;&nbsp;&nbsp;asterisk -rx "rpt cmd 2 ilink 3 1"

> **···**
>
> Le 20/02/2016 23:35, mike@midnighteng.com a écrit :
> 
> > One method is using a 'start-up macro' to make the connection
