# Control characters when polling for setvars?

**URL:** <https://community.allstarlink.org/t/control-characters-when-polling-for-setvars/18641>\
**Category:** AllStarLink\
**Created:** [May 26, 2021, 11:07pm UTC](https://community.allstarlink.org/t/control-characters-when-polling-for-setvars/18641 "2021-05-26T23:07:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![KenHorse](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/fbc32d/32.png) [@KenHorse](https://community.allstarlink.org/u/KenHorse)\
**Post date:** [May 26, 2021, 11:07pm UTC](https://community.allstarlink.org/t/control-characters-when-polling-for-setvars/18641/1 "2021-05-26T23:07:59Z")

</div>

I issue the following command:

/usr/sbin/asterisk -rx “rpt showvars 1100”

asterisk returns:

^[[23;1R  
^[[23;1R  
Variable listing for node 1100:  
RPT\_TXKEYED=0  
RPT\_NUMLINKS=2  
RPT\_LINKS=2,T1102,T1101  
RPT\_NUMALINKS=2  
RPT\_ALINKS=2,1102TU,1101TU  
RPT\_ETXKEYED=0  
RPT\_RXKEYED=0  
RPT\_AUTOPATCHUP=0  
– 8 variables

Can anyone tell me what those 2 first lines of (assumed) control characters are all about?

---

<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:** [May 26, 2021, 11:19pm UTC](https://community.allstarlink.org/t/control-characters-when-polling-for-setvars/18641/2 "2021-05-26T23:19:18Z")

</div>

Not for me. Must be a TERM= thing.

```auto
asterisk -rx "rpt showvars 25330"
Variable listing for node 25330:
   RPT_TXKEYED=0
   RPT_ETXKEYED=0
   RPT_NUMLINKS=1
   RPT_LINKS=1,T2530
   RPT_NUMALINKS=1
   RPT_ALINKS=1,2530TU
   RPT_AUTOPATCHUP=0
   RPT_RXKEYED=0
    -- 8 variables
root@PBX:/etc/asterisk# 

```

---

<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:** [May 27, 2021, 3:03am UTC](https://community.allstarlink.org/t/control-characters-when-polling-for-setvars/18641/3 "2021-05-27T03:03:07Z")

</div>

My first thought is corruption… restart.  
After that, I would ask if you are declaring vars under event management.

---

<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:** [May 27, 2021, 2:50pm UTC](https://community.allstarlink.org/t/control-characters-when-polling-for-setvars/18641/4 "2021-05-27T14:50:08Z")

</div>

The more I thought about that, the more I’m thinking it is a few chars like right arrow or something like that.  
Have you edited your source code any ?

---

<div class="post-metadata">

**Author:** ![KenHorse](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/fbc32d/32.png) [@KenHorse](https://community.allstarlink.org/u/KenHorse)\
**Post date:** [May 27, 2021, 3:00pm UTC](https://community.allstarlink.org/t/control-characters-when-polling-for-setvars/18641/5 "2021-05-27T15:00:16Z")

</div>

Nope, no playing with the source - this is the latest beta. Also, I have not declared any variables.

---

<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:** [June 1, 2021, 1:26am UTC](https://community.allstarlink.org/t/control-characters-when-polling-for-setvars/18641/6 "2021-06-01T01:26:30Z")

</div>

I’ll poke at one more question…  
Have you declared global vars in extensions.conf ?  
If so, mask them out ( ; ) restart and look again.

---

<div class="post-metadata">

**Author:** ![KenHorse](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/fbc32d/32.png) [@KenHorse](https://community.allstarlink.org/u/KenHorse)\
**Post date:** [June 6, 2021, 12:56am UTC](https://community.allstarlink.org/t/control-characters-when-polling-for-setvars/18641/7 "2021-06-06T00:56:41Z")

</div>

Only NODE and HOMENPA

But I will comment them out, restart and see what happens

---

<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:** [November 25, 2021, 5:42pm UTC](https://community.allstarlink.org/t/control-characters-when-polling-for-setvars/18641/8 "2021-11-25T17:42:36Z")

</div>

Ken, did you ever resolve this. I am curious what you found.
