[App_rpt] Digital Outputs?

Shane Young KØSEY apprpt at shaneyoung.com
Mon Oct 9 17:46:32 UTC 2006


System works as well for doing things like this:

Sally*CLI> show application System
Sally*CLI>
  -= Info about application 'System' =-

[Synopsis]
Execute a system command

[Description]
  System(command): Executes a command  by  using  system(). If the command
fails, the console should report a fallthrough.
Result of execution is returned in the SYSTEMSTATUS channel variable:
   FAILURE      Could not execute the specified command
   SUCCESS      Specified command successfully executed

Old behaviour:
If the command itself executes but is in error, and if there exists
a priority n + 101, where 'n' is the priority of the current instance,
then  the  channel  will  be  setup to continue at that priority level.
Note that this jump functionality has been deprecated and will only occur
if the global priority jumping option is enabled in extensions.conf.

Sally*CLI>





Quoting Eric Fort <eric.fort at gmail.com>:

> agi under asterisk would be the place to look.  This allows asterisk to run
> external programs similar to the way cgi works with a webserver.  These
> programs can do all sorts of things.
>
> look here for info:
>
> http://www.voip-info.org/wiki-Asterisk+AGI
>
> http://www.voip-info.org/tiki-index.php?page=Asterisk+cmd+agi
>
>
> eric
>
> On 10/9/06, Gary Young <pcfrover at tcomeng.com> wrote:
> >
> > Just thought I would ask before I took the next step which is to
> > investigate
> > this from the phone side of Asterisk.
> >
> > A simple DTMF decoder on a PBX port would certainly work.
> >
> > Gary
> >
> > > -----Original Message-----
> > > From: app_rpt-bounces at lists.illiana.net
> > > [mailto:app_rpt-bounces at lists.illiana.net] On Behalf Of Jim Duuuude
> > > Sent: Monday, October 09, 2006 9:23 AM
> > > To: app_rpt at lists.illiana.net
> > > Subject: Re: [App_rpt] Digital Outputs?
> > >
> > > Excellent question. Before I even considered having app_rpt
> > > do such things,
> > > people were already
> > > being very clever. What people do is use the fact that Asterisk is a
> > > multi-functional platform
> > > (not just a telephone switch) and use some of the meriad of
> > > applications and
> > > things available
> > > to perform all sorts of tasks. They access and control these
> > > things using
> > > the autopatch feature
> > > of app_rpt. All (well, any that apply which are most) of the
> > > dialing plan
> > > features avaiable in
> > > Asterisk are available to the app_rpt autopatch. Because of this rich
> > > inherent ability, I never
> > > thought it was necessary to do anyting specifically in
> > > app_rpt. People have
> > > repeaters doing
> > > things I never even imagined repeaters doing.
> > >
> > >
> > > >From: "Gary Young" <pcfrover at tcomeng.com>
> > > >Reply-To: pcfrover at tcomeng.com,Asterisk Repeater Controler
> > > ><app_rpt at lists.illiana.net>
> > > >To: "'Asterisk Repeater Controler'" <app_rpt at lists.illiana.net>
> > > >Subject: [App_rpt] Digital Outputs?
> > > >Date: Mon, 9 Oct 2006 09:06:44 -0700
> > > >MIME-Version: 1.0
> > > >Received: from lists.illiana.net ([207.227.243.140]) by
> > > >bay0-mc4-f2.bay0.hotmail.com with Microsoft
> > > SMTPSVC(6.0.3790.2444); Mon, 9
> > > >Oct 2006 09:06:50 -0700
> > > >Received: (qmail 3952 invoked from network); 9 Oct 2006
> > > 16:06:47 -0000
> > > >Received: from localhost (HELO ?127.0.0.1?) (127.0.0.1)  by
> > > 0 with SMTP; 9
> > > >Oct 2006 16:06:47 -0000
> > > >Received: (qmail 3938 invoked from network); 9 Oct 2006
> > > 16:06:45 -0000
> > > >Received: from sccrmhc12.comcast.net (63.240.77.82)by 0 with
> > > SMTP; 9 Oct
> > > >2006 16:06:45 -0000
> > > >Received: from den
> > > (c-69-181-173-31.hsd1.ca.comcast.net[69.181.173.31])by
> > > >comcast.net (sccrmhc12) with SMTPid
> > > <20061009160644012002g97te>; Mon, 9 Oct
> > > >2006 16:06:44 +0000
> > > >X-Message-Info: LsUYwwHHNt3660MmjhEvYg2f34OAemlKtU9j2Z7TuGo=
> > > >Return-Path: <pcfrover at tcomeng.com>
> > > >Delivered-To: mailman-app_rpt at lists.illiana.net
> > > >X-Mailer: Microsoft Office Outlook 11
> > > >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
> > > >thread-index: AcbrcaBOJrGbAuozSGGWc/wmgygNOwASt3Ew
> > > >X-BeenThere: app_rpt at lists.illiana.net
> > > >X-Mailman-Version: 2.1.6
> > > >Precedence: list
> > > >List-Id: Asterisk Repeater Controler <app_rpt.lists.illiana.net>
> > > >List-Unsubscribe:
> > > ><http://lists.illiana.net/mailman/listinfo/app_rpt>,<mailto:a
> > > pp_rpt-request at lists.illiana.net?subject=unsubscribe>
> > > >List-Archive: <http://lists.illiana.net/pipermail/app_rpt>
> > > >List-Post: <mailto:app_rpt at lists.illiana.net>
> > > >List-Help: <mailto:app_rpt-request at lists.illiana.net?subject=help>
> > > >List-Subscribe:
> > > ><http://lists.illiana.net/mailman/listinfo/app_rpt>,<mailto:a
> > > pp_rpt-request at lists.illiana.net?subject=subscribe>
> > > >Errors-To: app_rpt-bounces at lists.illiana.net
> > > >X-OriginalArrivalTime: 09 Oct 2006 16:06:51.0059 (UTC)
> > > >FILETIME=[EE462030:01C6EBBC]
> > > >
> > > >Is there any support for Digital outputs via the Parallel
> > > port or some
> > > >other
> > > >device?
> > > >
> > > >How are others controlling external I/O devices via Asterisk
> > > and app_rpt?
> > > >
> > > >Gary
> > > >
> > > >_______________________________________________
> > > >App_rpt mailing list
> > > >App_rpt at lists.illiana.net
> > > >http://lists.illiana.net/mailman/listinfo/app_rpt
> > >
> > >
> > > _______________________________________________
> > > App_rpt mailing list
> > > App_rpt at lists.illiana.net
> > > http://lists.illiana.net/mailman/listinfo/app_rpt
> > >
> >
> > _______________________________________________
> > 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.



More information about the App_rpt-users mailing list