Node linking from Linux command prompt

Looking to see if anyone knows if it is possible to connect to a node from the Linux command line prompt vs using the Asterisk CLI…

Two way I know of are:

/usr/sbin/asterisk –rx “rpt fun 2xxxx *3xxxxx”

Or I have a PHP script that uses the manager interface to do the same thing major advantage to this is you don’t need root access to run it. If anyone wants the php code I uses let me know and I’ll post it somewhere.

73,

Scott KB2EAR

···

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of ronald simpson
Sent: Monday, June 09, 2014 10:34 PM
To: App RPT Users
Subject: [App_rpt-users] Node linking from Linux command prompt

Looking to see if anyone knows if it is possible to connect to a node from the Linux command line prompt vs using the Asterisk CLI…

Ronald,
Any valid command in the CLI can be given at the Linux prompt. Precede it with
asterisk -rx “commands”
/usr/sbin/asterisk -rx “rpt fun 27225 *328190”
would connect node 27225 to node 28190
/usr/sbin/asterisk -rx “iax2 show registration”
would show registration.
etc…
73 Doug
WA3DSP
http://www.crompton.com/hamradio

···

Date: Mon, 9 Jun 2014 19:34:20 -0700
From: n6gkj1@gmail.com
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Node linking from Linux command prompt

Looking to see if anyone knows if it is possible to connect to a node from the Linux command line prompt vs using the Asterisk CLI…


App_rpt-users mailing list
App_rpt-users@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.

The script can be found at:

http://reflector.kb2ear.net/app_rpt_control.tar.gz

···

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Scott Weis
Sent: Monday, June 09, 2014 11:17 PM
To: ‘ronald simpson’; ‘App RPT Users’
Subject: Re: [App_rpt-users] Node linking from Linux command prompt

Two way I know of are:

/usr/sbin/asterisk –rx “rpt fun 2xxxx *3xxxxx”

Or I have a PHP script that uses the manager interface to do the same thing major advantage to this is you don’t need root access to run it. If anyone wants the php code I uses let me know and I’ll post it somewhere.

73,

Scott KB2EAR

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of ronald simpson
Sent: Monday, June 09, 2014 10:34 PM
To: App RPT Users
Subject: [App_rpt-users] Node linking from Linux command prompt

Looking to see if anyone knows if it is possible to connect to a node from the Linux command line prompt vs using the Asterisk CLI…

Thanks guys!!!

···

On Jun 9, 2014 8:21 PM, “Doug Crompton” doug@crompton.com wrote:

Ronald,
Any valid command in the CLI can be given at the Linux prompt. Precede it with
asterisk -rx “commands”
/usr/sbin/asterisk -rx “rpt fun 27225 *328190”
would connect node 27225 to node 28190
/usr/sbin/asterisk -rx “iax2 show registration”
would show registration.
etc…
73 Doug
WA3DSP
http://www.crompton.com/hamradio


Date: Mon, 9 Jun 2014 19:34:20 -0700
From: n6gkj1@gmail.com
To: app_rpt-users@ohnosec.org

Subject: [App_rpt-users] Node linking from Linux command prompt

Looking to see if anyone knows if it is possible to connect to a node from the Linux command line prompt vs using the Asterisk CLI…


App_rpt-users mailing list
App_rpt-users@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.

To connect (function 3) 27021 to node 27061 (for example)

/usr/sbin/asterisk -rx “rpt fun 27021 *327061”

This needs to be run on the box where 27021 is hosted.

You could run it from a different box by using the remote command function.

73

Ken

···

From: ronald simpson [mailto:n6gkj1@gmail.com]
Sent: Monday, June 09, 2014 10:34 PM
To: App RPT Users
Subject: [App_rpt-users] Node linking from Linux command prompt

Looking to see if anyone knows if it is possible to connect to a node from the Linux command line prompt vs using the Asterisk CLI…

asterisk -rx "rpt fun [local-node-number] *3[remote-node-number]"

···

On 06/09/2014 09:34 PM, ronald simpson wrote:

Looking to see if anyone knows if it is possible to connect to a node
from the Linux command line prompt vs using the Asterisk CLI...

Rather than using "rpt fun" you can also directly use the commands
with "rpt cmd". A large benefit of doing it this way is better
security as you can control things via the command line without
creating a DTMF sequence controllable by all.

Brett KQ9N

···

On Tue, Jun 10, 2014 at 11:43 AM, Geoff <ars.w5omr@gmail.com> wrote:

On 06/09/2014 09:34 PM, ronald simpson wrote:

Looking to see if anyone knows if it is possible to connect to a node
from the Linux command line prompt vs using the Asterisk CLI...

asterisk -rx "rpt fun [local-node-number] *3[remote-node-number]"

_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
ohnosec.org

To unsubscribe from this list please visit ohnosec.org 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.