CQ Blind Hams

CQBH 53 How to add DTMF functions to a ClearNode


Listen Later

From NE5V

This is for anyone interested in adding DTMF Command functions to the ClearNode.

I was parusing the rpt.conf file in my ClearNode and found the following line at the end of the [functions stanza.

#includeifexitsts custom/my_dtmf_commands.conf

This line allows a user to add DTMF functions that won't go away when the ClearNode software is updated, or when a user changes which digital mode to use.

Here's how it works.

The statement assumes that there is a directory of the /etc/asterisk directory called "custom" and that in this directory is a file called "my_dtmf_commands_conf". Be sure to make all the letters in the directory and filename lower case, since that is the case specified in the #includeifexists statement.

One way to create the directory is through WINSCP. Go to the asterisk directory and once in that directory press F7 then enter "custom" as the directory name. Don't use the "".

If you choose to do this from the shell prompt, which is option 9 on the menu when you ssh to the node, do the following.

Go to the Asterisk directory by using

cd /etc/asterisk

Once there type

mkdir custom

This creates the custom directory.

Then use whatever method you want to create the file. I did it in Winscp by going to the custom directory, pressed shift+F4, and gave it the file name my_dtmf_commands

Another way is to go to the shell prompt after ssh into the node. This is option 9 on the menu. Then type

nano /etc/asterisk/custom/my_dtmf_commands

The entries in my file look like this.

D6=cop,32 ;Touchtone test. Enter digits with last as #

d7=cop,34 ; Telemetry Off

d8=cop,33 ; Telemetry on

d9=cop,35 ; Telemetry limited

The information after the ; explain what the commands do.

Save your work.

The next step is to make the files executible. Go to the custom directory. Then type

chmod + x my_dtmf_commands.conf

Then go to option 11 in the node menu which is the asterisk client. type

rpt reload

You then can execute the commands in the custom file. For example *D7 in my example turns off telemetry.

This apparently works only for adding functions, not overwriting them. I've been testing this, if I want to overwrite a function, the #includeifexists needs to be at the top of the stanza. I tried this in the telemetry stanza, because I wanted to overwrite the default courtesy tones. I put this at the top of the telemetry stanza

#includeifexists custom/my_telemetry.conf

I put the courtesy tones in the file using the methods above, and when I saved settings in the app, the new tones stayed.

This isn't Clearnode specific, but I thought it would be of interest, particularly to Clearnode users.


visit www.blindhams.com

...more
View all episodesView all episodes
Download on the App Store

CQ Blind HamsBy Joel Case

  • 4.6
  • 4.6
  • 4.6
  • 4.6
  • 4.6

4.6

5 ratings


More shows like CQ Blind Hams

View all
Maccessibility by Maccessibility

Maccessibility

16 Listeners

icqpodcast's Amateur / Ham Radio Podcast by ICQ Podcast

icqpodcast's Amateur / Ham Radio Podcast

64 Listeners

9to5Mac Happy Hour by 9to5Mac

9to5Mac Happy Hour

718 Listeners

Double Tap by Double Tap Productions Inc.

Double Tap

24 Listeners