So, I needed/wanted to have one of my nodes built on 1.6 of hamvoip, to automatically connect to another node programmatically (with out user intervention).
Been a seasoned Linux user I searched and when not finding an answer I sent a direct message to one of our admins (Tim WD6AWP) and asked if there was a way to do this.
Well you guessed it, that not longer after hitting send, my brain stopped thinking Linux and started thinking asterisk that I found my answer and perhaps yours.
If you are used to how Linux works, you too may wonder how to add a crontab entry to call a node at some time/date, then disconnect at some time/date.
Linux or better in this case archlinux, cannot make direct calls to asterisk like: "rpt fun <3 remote node>. So what to do.
Well it turns out that like so many other wonderful features built into allstarlink, the answer lies in rpt.conf (as with me read the documentation carefully before making a full of one self).
There is a STANZA (still getting used to what the H… that means) called SCHEDULE STANZA or a simply a block area in rpt.conf prefixed by [schedule].
In where one can place commands as a (IMPORTANT) macro entry/call to perform an action.
As an example
[schedule]
5 = 01 01 * * M-F
6 = 01 04 * * M-F
In the above example macros 5 and 6 (left of =) followed by Crontab syntax to the right of the equal. Macro number 5 in this case be executed at 1 minute after 1am monday-friday. and macro 6 at 1 minute after 4am monday-friday.
In the MACRO STANZA add the macro component (in this case the macro number will be 5 and 6)
[macro]
5 = 3200032001 ; connect to nodes 2000 and 2001
6 = 132000132001 ; disconnect nodes 2000 and 2001
Hope this will be of help to someone else out-here as well as thank you Tim WD6AWP for the prompt answer to my help call,
73,
Adriano KV7D