[App_rpt-users] Macro and DTMF format in rpt.conf

kk6ecm kk6ecm at gmail.com
Fri Mar 27 01:07:56 UTC 2015


This is a question I've had for some time now... DTMF 577 would appear in
rpt.conf as 977?

 

thanks,

Bob

kk6ecm

 

  _____  

From: app_rpt-users-bounces at ohnosec.org
[mailto:app_rpt-users-bounces at ohnosec.org] On Behalf Of Jeff Carrier
Sent: Thursday, March 26, 2015 3:39 PM
To: r gilson
Cc: app_rpt-users at ohnosec.org
Subject: Re: [App_rpt-users] App_rpt-users Digest, Vol 73, Issue 46

 

"5xx" is "usually" a macro unless the macro digit has been changed.

 

On Thu, Mar 26, 2015 at 3:13 PM, r gilson <rgilson14215 at yahoo.com> wrote:

I understand the *77 to do a reboot but where does the *577 come in . I do
not see the "5" in either stanza?  Thanks.

Ron

 

  _____  

From: "app_rpt-users-request at ohnosec.org"
<app_rpt-users-request at ohnosec.org>
To: app_rpt-users at ohnosec.org 
Sent: Thursday, March 26, 2015 12:00 PM
Subject: App_rpt-users Digest, Vol 73, Issue 46


Send App_rpt-users mailing list submissions to
    app_rpt-users at ohnosec.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
or, via email, send a message with subject or body 'help' to
    app_rpt-users-request at ohnosec.org

You can reach the person managing the list at
    app_rpt-users-owner at ohnosec.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of App_rpt-users digest..."


Today's Topics:

  1. Server "reboot" command via radio and DTMF? (kk6ecm)
  2. Re: Server "reboot" command via radio and DTMF? (Bryan D. Boyle)
  3. Re: Server "reboot" command via radio and DTMF?
      ((KP4TR)Ramon Gonzalez)
  4. AllStar Asterisk on Raspberry Pi 1 and 2 (Steve Zingman)


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

Message: 1
Date: Wed, 25 Mar 2015 17:47:49 -0700
From: "kk6ecm" <kk6ecm at gmail.com>
To: "'Allstar'" <app_rpt-users at ohnosec.org>
Subject: [App_rpt-users] Server "reboot" command via radio and DTMF?
Message-ID: <23F122DF83104A179AE2E3B0D5EAEBA8 at ThePykesHP>
Content-Type: text/plain;    charset="us-ascii"

Two questions:

1) Is there a way to perform a command line "reboot" from a radio using
DTMF? It seems the COP are for controlling within Asterisk. I am aware of
COP,1 to warm boot asterisk.

2) Is there a reason this is not a good idea? 

Thanks,
Bob
kk6ecm



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

Message: 2
Date: Wed, 25 Mar 2015 21:47:24 -0400
From: "Bryan D. Boyle" <bdboyle at bdboyle.com>
To: kk6ecm <kk6ecm at gmail.com>
Cc: Allstar <app_rpt-users at ohnosec.org>
Subject: Re: [App_rpt-users] Server "reboot" command via radio and
    DTMF?
Message-ID: <F4F7A08D-165C-473F-B1F8-6E7D317A753B at bdboyle.com>
Content-Type: text/plain; charset="us-ascii"

write a script that gets called from a complex dtmf command.  



--
Bryan
Sent from my iPhone 5...No electrons were harmed in the sending of this
message.



> On Mar 25, 2015, at 20:47, kk6ecm <kk6ecm at gmail.com> wrote:
> 
> Two questions:
> 
> 1) Is there a way to perform a command line "reboot" from a radio using
> DTMF? It seems the COP are for controlling within Asterisk. I am aware of
> COP,1 to warm boot asterisk.
> 
> 2) Is there a reason this is not a good idea? 
> 
> Thanks,
> Bob
> kk6ecm
> 
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
> 
> To unsubscribe from this list please visit
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to
the bottom of the page. Enter your email address and press the "Unsubscribe
or edit options button"
> You do not need a password to unsubscribe, you can do it via email
confirmation. If you have trouble unsubscribing, please send a message to
the list detailing the problem. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://ohnosec.org/pipermail/app_rpt-users/attachments/20150325/28874808/at
tachment-0001.html>

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

Message: 3
Date: Wed, 25 Mar 2015 22:25:21 -0400
From: "(KP4TR)Ramon Gonzalez" <kp4tr.ramon at gmail.com>
To: kk6ecm <kk6ecm at gmail.com>, 'Allstar' <app_rpt-users at ohnosec.org>
Subject: Re: [App_rpt-users] Server "reboot" command via radio and
    DTMF?
Message-ID: <55136E11.6070205 at gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

Yes, it can be done...

In rpt.conf in the  functions stanza, add something like:
9977=cmd,/usr/bin/reboot

then in the [macro] stanza, add macro like this:
77 = *9977#

Then a DTMF *577 will execute the *9977 command and your PC should reboot

The only reason is if you want to shutdown th PC to do maintenance on it 
and you dont want to login to the box and do a shutdown....


On 3/25/2015 8:47 PM, kk6ecm wrote:
> Two questions:
>
> 1) Is there a way to perform a command line "reboot" from a radio using
> DTMF? It seems the COP are for controlling within Asterisk. I am aware of
> COP,1 to warm boot asterisk.
>
> 2) Is there a reason this is not a good idea?
>
> Thanks,
> Bob
> kk6ecm
>
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
>
> To unsubscribe from this list please visit
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to
the bottom of the page. Enter your email address and press the "Unsubscribe
or edit options button"
> You do not need a password to unsubscribe, you can do it via email
confirmation. If you have trouble unsubscribing, please send a message to
the list detailing the problem.
>



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

Message: 4
Date: Thu, 26 Mar 2015 11:06:06 -0400
From: Steve  Zingman <szingman at msgstor.com>
To: "app_rpt-users at ohnosec.org" <app_rpt-users at ohnosec.org>
Subject: [App_rpt-users] AllStar Asterisk on Raspberry Pi 1 and 2
Message-ID: <5514205E.6090606 at msgstor.com>
Content-Type: text/plain; charset=utf-8; format=flowed

I've updated the scripts and tar files for installing AllStar Asterisk 
on the Raspberry Pi platforms.

The Pi 1 is at <https://github.com/N4IRS/AllStar/blob/master/rpi1.tar>
The Pi 2 is at <https://github.com/N4IRS/AllStar/blob/master/rpi2.tar>

All of the scripts, patches and platform specific files are at:
<https://github.com/N4IRS/AllStar>

73, Steve N4IRS

-- 
"Anything is possible if you don't know what you are talking about."
1st Law of Logic



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

_______________________________________________
App_rpt-users mailing list
App_rpt-users at ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users


End of App_rpt-users Digest, Vol 73, Issue 46
*********************************************




_______________________________________________
App_rpt-users mailing list
App_rpt-users at ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to
the bottom of the page. Enter your email address and press the "Unsubscribe
or edit options button"
You do not need a password to unsubscribe, you can do it via email
confirmation. If you have trouble unsubscribing, please send a message to
the list detailing the problem. 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20150326/96698204/attachment.html>


More information about the App_rpt-users mailing list