# \[App\_rpt\] custom\_on and custum\_off equivalents in app\_rpt

**URL:** <https://community.allstarlink.org/t/app-rpt-custom-on-and-custum-off-equivalents-in-app-rpt/7741>\
**Category:** AllStarLink\
**Created:** [September 22, 2008, 1:08pm UTC](https://community.allstarlink.org/t/app-rpt-custom-on-and-custum-off-equivalents-in-app-rpt/7741 "2008-09-22T13:08:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![va3uv](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/v/e9a140/32.png) [@va3uv](https://community.allstarlink.org/u/va3uv)\
**Post date:** [September 22, 2008, 1:08pm UTC](https://community.allstarlink.org/t/app-rpt-custom-on-and-custum-off-equivalents-in-app-rpt/7741/1 "2008-09-22T13:08:12Z")

</div>

Hi Folks;

Does anyone know how to trigger a script or macro once an app\_rpt  
connection has been established / disconnected? (similar to the irlp  
custom\_on and off script)?

With Scott's help, I have been trying various configurations over the  
past week; the latest config' is with the irlp board as the 'master'  
interface between the PC and the repeater controller and app\_rpt  
connected to the rtpDir bridge.

IRLP allows one to turn the aux outputs on and off (through custom\_on  
and off), further it also 'touches' a file $LOCAL/active (from  
memory.... I'm on the train!). You can then look for this file in other  
scripts to determine whether the node is active or not.

Creating that file is no big deal.... just need to figure out a hook  
into app\_rpt to signal when a connection is active, and when the node is  
idle.

Any ideas?

Cheers,

Ramesh.

---

<div class="post-metadata">

**Author:** ![Hwstar](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/h/a5b964/32.png) [@Hwstar](https://community.allstarlink.org/u/Hwstar)\
**Post date:** [September 22, 2008, 1:31pm UTC](https://community.allstarlink.org/t/app-rpt-custom-on-and-custum-off-equivalents-in-app-rpt/7741/2 "2008-09-22T13:31:02Z")

</div>

Ramesh,

This would require a code change to app\_rpt.c to execute a program when  
a connect or disconnect occurs.

Steve  
WA6ZFT

Ramesh Dhami (VA3UV) wrote:

> **···**
>
> > Hi Folks;
> > 
> > Does anyone know how to trigger a script or macro once an app\_rpt  
> > connection has been established / disconnected? (similar to the irlp  
> > custom\_on and off script)?
> > 
> > With Scott's help, I have been trying various configurations over the  
> > past week; the latest config' is with the irlp board as the 'master'  
> > interface between the PC and the repeater controller and app\_rpt  
> > connected to the rtpDir bridge.
> > 
> > IRLP allows one to turn the aux outputs on and off (through custom\_on  
> > and off), further it also 'touches' a file $LOCAL/active (from  
> > memory.... I'm on the train!). You can then look for this file in other  
> > scripts to determine whether the node is active or not.
> > 
> > Creating that file is no big deal.... just need to figure out a hook  
> > into app\_rpt to signal when a connection is active, and when the node is  
> > idle.
> > 
> > Any ideas?
> > 
> > Cheers,
> > 
> > Ramesh.
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > App\_rpt mailing list  
> > App\_rpt@lists.illiana.net  
> > [http://lists.illiana.net/mailman/listinfo/app\_rpt](http://lists.illiana.net/mailman/listinfo/app_rpt)

---

<div class="post-metadata">

**Author:** ![va3uv](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/v/e9a140/32.png) [@va3uv](https://community.allstarlink.org/u/va3uv)\
**Post date:** [September 22, 2008, 1:34pm UTC](https://community.allstarlink.org/t/app-rpt-custom-on-and-custum-off-equivalents-in-app-rpt/7741/3 "2008-09-22T13:34:15Z")

</div>

Stephen Rodgers wrote:

> Ramesh,
> 
> This would require a code change to app\_rpt.c to execute a program when  
> a connect or disconnect occurs.

\<-- Hi Steve; OK - it's not a critical issue so no rush. Appreciate you adding it to the list of 'nice to have" for a future release.

Cheers!

Ramesh.
