[arm-allstar] Autopatch - Autodial Script
Michael "Lee" Lockwood
michael at lockwood.us.com
Sat Dec 16 15:16:09 EST 2017
I have it "working"... sort of. I'm using the autopatch feature to
introduce a 3rd party system that utilizes SIP as its audio transport.
It's not actually being used for phone autopatch.
So, when I activate the autopatch to make the connection to the SIP
gateway, it puts the repeater in to an active autopatch state, causing the
linked repeaters to remain keyed up in a transmit state.
Is there any way to have the SIP link connected but act the way an IAX link
does, meaning not keep the repeater in "autopatch" mode? Basically, the
SIP extension would just be appear as another repeater node on my system is
what I'm going for.
On Wed, Dec 13, 2017 at 8:45 PM, "Doug Crompton via arm-allstar" <
arm-allstar at hamvoip.org> wrote:
> Michael,
>
> Asterisk's extension file has a great deal of capability much of which we
> rarely use. While you can do some pretty fancy things there the simplest
> way to do this if you have a list of known numbers you often dial is to use
> macros to dial them. For instance -
>
> [macro]
> 71=*615558881212#
> 72=*615552221212#
> 73=*615553331212#
> 74=*615554441212#
> 75=*615556661212#
>
> While I have not tested this but assuming the autopatch at *61 was working
> it should dial and connect the number. If a delay is needed it could be
> done in a script.
>
> In this example you would dial *571 and get number 555-888-1212, etc. If
> you kept the number of macro digits to 1 then it would take just 3 digits
> to dial the number otr the same as *61. Take the 7 leading digit away in
> the above example you would dial *51 aand connect with 555-888-1212. Of
> course if you needed to add a 1 before the number just add it.
>
> Remember the [macro] examples in the rpt.conf file use single digits so you
> should only use 2,3,4, etc digits for all the commands. Using 2 gives you
> 99 commands which should be enough in most cases.
>
> Let me know if this works. If not I can give you other suggestions. I do
> not use the patch and probably never will. Actually in the age of everyone
> having a portable phone and access more than radio I am not sure why I
> would ever need it.
>
>
> On Wed, Dec 13, 2017 at 7:23 PM, "Michael Lee Lockwood via arm-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
> > Is there a script or macro that will automatically dial a pre-programmed
> > phone number as soon as the autopatch is activated?
> >
> > _______________________________________________
> >
> > arm-allstar mailing list
> > arm-allstar at hamvoip.org
> > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> >
> > Visit the BBB and RPi2/3 web page - http://hamvoip.org
> >
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>
--
*Michael "Lee" Lockwood*
michael at lockwood.us.com
More information about the arm-allstar
mailing list