[App_rpt-users] DTMF codes to activate function
g4rky at yahoo.co.uk
Tue May 26 19:12:02 EDT 2009
Thanks to Steve, Jim and everyone for being so patient with me! You can all
tell that I'm not a programmer by now huh?
I've got it cracked now though.
Now that I understand what I've learned this evening I've also made the
macro's work including the startup macro, which works how Steve has
described below. Great Stuff!
Also the link activity timer is working well and I've got the
sitenorm announcement in the macro too!
Another day, another thing learned and my node just keeps on getting better
thanks to the hard work you guys who write the code are doing, so thanks to
Best wishes all,
2009/5/27 <hwstar at rodgers.sdcoxmail.com>
> > From: Matt Beasant <g4rky at yahoo.co.uk>
> > Date: 2009/05/26 Tue PM 02:21:09 PDT
> > To: Stephen Rodgers <hwstar at rodgers.sdcoxmail.com>
> > CC: app_rpt <app_rpt-users at qrvc.com>
> > Subject: DTMF codes to activate function
> > Hi,
> > Just as a heads up to anyone new reading this and learning about app_rpt
> > also as a question to the more experienced node owners out there, I have
> > noticed a little niggle with the DTMF tone sequences used to activate
> > functions on app_rpt.
> > Here's the scenario:
> > In my rpt.conf I have a function:
> > 94 = cop,something or other
> > All is fine until I try and add a command 941 to do something else.
> > The new code wont work and app_rpt seems to ignore the extra digit on the
> > end and just activates the function that is associated with the code 94.
> > I'm not sure if this is really a bug or not but it certainly had me
> > for a good few hours recently when I was adding some new functions to my
> > node.
> > I was expecting code 941 to work but it just wasnt - I was testing a new
> > feature which had been added and I wasnt sure if I had busted the feature
> > something else had gone wrong!
> > I changed the code to 95 and all worked as expected!
> > Just something to be aware of really I guess unless its an easy fix for
> > app?
> > Cheers,
> > Matt
> > G4RKY
> > Node 2250
> Not! Once a match is found, its over!
> The function decoder will match on the shortest DTMF command first. All
> digits which follow will be directed to the "method" for further decoding
> until the method thinks it has enough digits to do something useful. The
> function method is the numerical value for the class of functions (e.g. COP)
> as documented in app_rpt.c
> This is how the autopatch, and internet linking commands work with variable
> length node numbers and phone numbers. (And it is the only way something
> with a variable number of digits can work).
> To use the function decoder effectively:
> 1. Make sure your most used functions are short digit sequences, and your
> least used functions are long digit sequences.
> 2. Make sure your function table does not have any short DTMF functions
> overriding longer DTMF functions.
> App_rpt-users mailing list
> App_rpt-users at qrvc.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the App_rpt-users