[App_rpt] Fwd: Re: Fwd: app_rpt.pre-046-4.c: errata

Steve Rodgers hwstar at rodgers.sdcoxmail.com
Tue May 9 00:20:44 EDT 2006



----------  Forwarded Message  ----------

Subject: Re: [App_rpt] Fwd: app_rpt.pre-046-4.c: errata
Date: Monday 08 May 2006 20:54
From: Steve Rodgers <hwstar at rodgers.sdcoxmail.com>
To: Shane Young KØSEY <apprpt at shaneyoung.com>

Like this...

[functions]
.
.
.
5=macro,1		; assigns *5 as the macro lead in sequence.
.
.
.


[macro]
1 = *32011#
2 = *12001*12011*12043#
3 = 32050*32060#


Now, dialing *51 executes *32011,

*52 executes *12001*12011*12043

Well you get the picture.

Don't forget the trailing # in the macro def, as this is the termination
character.


Steve,

WA6ZFT

On Monday 08 May 2006 17:10, you wrote:
> It's working now and it works great!
>
> Now, how do I get those macros to work?
>
> I have
> [macro]
> 11 = *66128217391
>
> which, as I understand, if I hit "11" should have the same function as
> dialing *6+612-821-7391
>
> Quoting Steve Rodgers <hwstar at rodgers.sdcoxmail.com>:
> > Shane
> >
> > patchup and patchdown belong in the telemetry block, not the node block.
> > Where is your telemetry block? Also, I don't see a telemetry=telemetry
> > assignment in your node block stanza. Did you delete the telemetry block
> > stanza and just use the built-in defaults?
> >
> > Steve WA6ZFT
> >
> > On Sunday 07 May 2006 20:44, you wrote:
> > > I'm using the following config and I am unable to change the patchup
> > > and patchdown messages.  the patchfarenddisconnect *is* working.
> > >
> > >
> > > [2040]
> > > rxchannel = Zap/31
> > > txchannel = Zap/30
> > > functions = functions-repeater
> > > link_functions = functions-different
> > > tonezone = us
> > > ;context = cos1
> > > ;context=repeater-out
> > > context=sip-phones
> > > callerid = "Repeater" <6128217300>
> > > idrecording = rpt/idk0sey
> > > accountcode=RADIO
> > > funcchar = *
> > > endchar = #
> > > patchfarenddisconnect=1
> > > patchup = silence/1
> > > patchdown = local/chimes/1_tone_chime
> > > hangtime=1000
> > > totime=180000
> > > idtime=300000
> > > politeid=30000
> > > idtalkover=|ik0sey
> > > unlinkedct=ct3
> > > tailmessagetime=360000
> > > tailsquashtime=  90000
> > > tailmessagelist=local/current-temp
> > > wait_times=wait-times
> > >
> > > Quoting Steve Rodgers <hwstar at rodgers.sdcoxmail.com>:
> > > > Errata:
> > > >
> > > > Replace all instances of farenddisconnect with patchfarenddisconnect
> > > > in my prior message.
> > > >
> > > > Steve WA6ZFT
> > > >
> > > > ----------  Forwarded Message  ----------
> > > >
> > > > Subject: app_rpt.pre-046-4.c
> > > > Date: Wednesday 03 May 2006 21:49
> > > > From: Steve Rodgers <hwstar at rodgers.sdcoxmail.com>
> > > > To: Asterisk Repeater Controler <app_rpt at lists.illiana.net>
> > > >
> > > > There is a pre release (experimental) version of app_rpt.c at:
> > > >
> > > > http://zapatatelephony.org/app_rpt.pre-046-4.c
> > > >
> > > > This version supports the following additional features:
> > > >
> > > > 1. Hot reload of rpt.conf from the asterisk command line. Typing "rpt
> > > > reload" will reload rpt.conf without causing a restart of the
> > > > application and without disconnecting any links. Note: changing node
> > > > number stanzas ( n square brackets) will still require that app_rpt
> > > > be restarted.
> > > >
> > > > 2. Restart of app_rpt from the command line without having to restart
> > > > asterisk. Typing "rpt restart" will restart app_rpt, but leave the
> > > > rest of asterisk running.
> > > >
> > > > 3. Far end disconnect support on the autopatch with the
> > > > patchfarenddisconnect setting in the node configuration block. if
> > > > farenddisconnect is set to 1 (farenddisconnect=1) then when the
> > > > called party hangs up, the call terminated message will be played.
> > > > Setting farenddisconnect to 0 keeps the original default behavior of
> > > > going to congestion if the called party hangs up.
> > > >
> > > >
> > > > 4. Automatic disconnect during dialing if a radio user goes out of
> > > > range. The patchdialtime setting in the node configuration block does
> > > > this. This value is in milliseconds. For example a 20 second timer
> > > > would be configured by setting patchdialtime to 20000
> > > > (patchdialtime=20000). This timer resets when ever a dtmf digit is
> > > > dialed, and is also used to limit the time the congestion tone is
> > > > played if asterisk declares there is no route to a number. The
> > > > default is patchdialtime=0 which disables the dial timer.
> > > >
> > > >
> > > > 5. The patchnoct setting in the node configuration block can be used
> > > > to suppress the CT during an autopatch. Setting patchnoct to 1
> > > > (patchnoct=1) will suppress the courtesy tone during an autopatch,
> > > > and setting patchnoct to 0 will keep the default behaviour. The
> > > > default is patchnoct=0.
> > > >
> > > >
> > > > 6. Override of the autopatch connect message. The patchup setting in
> > > > the telemetry block allows the user to specify a file, morse message
> > > > or tone sequence instead of the default message of "connecting". The
> > > > syntax is the same used by all of the other entries in the telemetry
> > > > block. The default is patchup=rpt/callproceeding.
> > > >
> > > >
> > > > 7. Override the autopatch disconnect message. The patchdown setting
> > > > in the telemetry block, allows the user to specify a file, morse
> > > > message or tone sequence instead of the default message "call
> > > > terminated". The syntax is the same used by all of the other entries
> > > > in the telemetry block. The default is: patchdown=rpt/callterminated
> > > >
> > > >
> > > > If you are running a tarball release of asterisk version 1.27.1 or
> > > > earlier, you will need to uncomment the "OLD_ASTERISK" line at the
> > > > top of app_rpt.c This is because the SVN version has undergone a lot
> > > > of change in relation to the stable tarballs.
> > > >
> > > >
> > > > A note of caution: This is test code, use at your own risk.
> > > >
> > > > We would be delighted if others tested it for us and reported any
> > > > problems with it before we release it on Digium SVN.
> > > >
> > > >
> > > >
> > > > Steve Rodgers,
> > > > WA6ZFT
> > > >
> > > > -------------------------------------------------------
> > > > _______________________________________________
> > > > App_rpt mailing list
> > > > App_rpt at lists.illiana.net
> > > > http://lists.illiana.net/mailman/listinfo/app_rpt
> > >
> > > ----------------------------------------------------------------
> > > This message was sent using IMP, the Internet Messaging Program.
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.

-------------------------------------------------------



More information about the App_rpt-users mailing list