# Are COP Commands persisted?

**URL:** <https://community.allstarlink.org/t/are-cop-commands-persisted/23154>\
**Category:** AllStarLink\
**Created:** [April 16, 2025, 3:50pm UTC](https://community.allstarlink.org/t/are-cop-commands-persisted/23154 "2025-04-16T15:50:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![G5TOM](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/g/ad7895/32.png) [@G5TOM](https://community.allstarlink.org/u/G5TOM)\
**Post date:** [April 16, 2025, 3:50pm UTC](https://community.allstarlink.org/t/are-cop-commands-persisted/23154/1 "2025-04-16T15:50:28Z")

</div>

If I run a cop command such as;

/usr/sbin/asterisk -rx 'rpt cmd cop 34'

Which is disable local telemetry. Is this persisted when Asterisk is restarted or if the node is rebooted?

If it is peristed, is there a config file?

The reason for asking, and not just trying, is that I have used various cop commands in connect/disconnect macros but I am now experiencing some strange behaviours. One node appears to want to keyup every 15 mins (0,15,30,45) and it just sends two beeps about 5 seconds apart. I have stripped everything out of Crontab and the Asterisk schedular but I am still getting these internal keyups.

---

<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:** [April 16, 2025, 4:56pm UTC](https://community.allstarlink.org/t/are-cop-commands-persisted/23154/2 "2025-04-16T16:56:42Z")

</div>

Yes, I do believe that setting is persistent past a boot.  
No editable file I know of but I do think it is stored in a temp file to make it past boot.

Your other is a separate issue.  
But you might try capturing log or asterisk in foreground to give some insight.  
asterisk -rvvv

---

<div class="post-metadata">

**Author:** ![N8RAW](https://community.allstarlink.org/user_avatar/community.allstarlink.org/n8raw/32/2906_2.png) [@N8RAW](https://community.allstarlink.org/u/N8RAW)\
**Post date:** [April 17, 2025, 12:42pm UTC](https://community.allstarlink.org/t/are-cop-commands-persisted/23154/3 "2025-04-17T12:42:06Z")

</div>

Does not look persistent:

> <https://github.com/AllStarLink/app_rpt/blob/7695c7e9bfe6bd6bc7674e960d60dddeb8a0be4b/apps/app_rpt/rpt_config.c#L1043-L1048>

telemmode is initialized on reboot based on telemdefault (from the rpt.conf)  
And the COP command only changes "stuff" in memory IF dynamic is "allowed":

> <https://github.com/AllStarLink/app_rpt/blob/7695c7e9bfe6bd6bc7674e960d60dddeb8a0be4b/apps/app_rpt/rpt_functions.c#L1422-L1426>

---

<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:** [April 17, 2025, 4:30pm UTC](https://community.allstarlink.org/t/are-cop-commands-persisted/23154/4 "2025-04-17T16:30:17Z")

</div>

Then a setting in startupmacro= would be in order.
