Moises Silva wrote:
I guess you need to use DeadAGI(), please check it out on voip-info.org
best regards
Moises,
Thanks a lot for pointing it out. Altough I had to create separate
contexts per main dial plans 'cos of DeadAGI need to be called in the
h (hangup), it did work very well. I had
I guess you need to use DeadAGI(), please check it out on voip-info.org
best regards
On 8/25/05, Patrick Tracanelli [EMAIL PROTECTED] wrote:
Patrick Tracanelli wrote:
Hello List,
This is my first message herein. I was playing around with System() and
AGI() and found out something I
Patrick Tracanelli wrote:
Hello List,
This is my first message herein. I was playing around with System() and
AGI() and found out something I cound not determine my configuration
error. I added before.agi and after.agi to the agi-bin dir. Tried to
make before.agi get run before the dial
I would like to write AGI script in Ruby
Would anybody please show me right direction..
Thanks___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options
I think you might find amethyst much simpler and possibly cheaper too. I
believe the current IDE is 12.4K
Innocent Evil wrote:
I would like to write AGI script in Ruby
Would anybody please show me right direction..
Thanks___
Asterisk-Users
What IDE are you talking about?
Any URL would be helpful.
Thanks,
-Original Message-
From: [EMAIL PROTECTED]
Sent: Wed, 24 Aug 2005 15:16:18 -0400
To: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] AGI + Ruby
I think you might find amethyst much simpler
U joke - duh!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Innocent Evil
Sent: Wednesday, August 24, 2005 3:53 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] AGI + Ruby
What IDE are you
Well,, I never heard about 'amethyst'
-Original Message-
From: [EMAIL PROTECTED]
Sent: Wed, 24 Aug 2005 15:59:12 -0400
To: asterisk-users@lists.digium.com
Subject: RE: [Asterisk-Users] AGI + Ruby
U joke - duh!
-Original Message-
From: [EMAIL PROTECTED
Discussion
Subject: Re: [Asterisk-Users] AGI + Ruby
What IDE are you talking about?
Any URL would be helpful.
Thanks,
-Original Message-
From: [EMAIL PROTECTED]
Sent: Wed, 24 Aug 2005 15:16:18 -0400
To: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] AGI + Ruby
I think
Actually Perl is even better
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mark Phillips
Sent: Wednesday, August 24, 2005 4:17 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] AGI + Ruby
PROTECTED] On Behalf Of
Mark Phillips
Sent: Wednesday, August 24, 2005 4:17 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] AGI + Ruby
Y'see it? There it goes! Right over his head.
Huddleston, Robert wrote:
U joke - duh!
-Original
Message-
From: [EMAIL PROTECTED]
Sent: Wed, 24 Aug 2005 17:48:05 -0400
To: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] AGI + Ruby
YEah but the problem with pearls are that they come in different colours
and are often of varying quality.
Black one (which are actually green
Hello List,
This is my first message herein. I was playing around with System() and
AGI() and found out something I cound not determine my configuration
error. I added before.agi and after.agi to the agi-bin dir. Tried to
make before.agi get run before the dial call and after.agi be run
Hello guys,
Can someone help me???
I was wondering to know how to point a agi message to a specific channel??
For example.
caller -- * -- agi script(Send message)---called
In this above case in my script every thing is all right, it is, I can send
the message correctly to
Hello guys,
Can someone help me???
I was wondering to know how to point a agi message to a specific channel??
For example.
caller -- * -- agi script(Send message)---called
In this above case in my script every thing is all right, it is, I can send
the message correctly to
Hi all,
Help needed:
Does AGI SCRIPTS USING PERL NEED's SOME KIND OF COMPILATION TO WORK WITH
*
This simple script is not working.
What can I do to make this interact with *?
#!/usr/bin/perl
#
#
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
my %input = $AGI-ReadParse();
On Wed, Aug 17, 2005 at 04:15:52PM -0300, j_amorim wrote:
Content-Description: Mail message body
Hi all,
Help needed:
Does AGI SCRIPTS USING PERL NEED's SOME KIND OF COMPILATION TO WORK WITH
*
No.
And BTW, when you ask questions about them you don't need to SHOUT.
This
Hi,
For some reason, my AGI perl scripts cannot write to the CLI console using
standard error. I ran the agi-test.agi test script that came with asterisk
and verified that the problem was not with the code. Asterisk is always
started with 4 or more v's, yet this the CLI output does not show up.
Anish Basu wrote:
Hi,
For some reason, my AGI perl scripts cannot write to the CLI console using
standard error. I ran the agi-test.agi test script that came with asterisk
and verified that the problem was not with the code. Asterisk is always
started with 4 or more v's, yet this the CLI
On Mon, Aug 08, 2005 at 03:50:02PM -0500, Eric Wieling aka ManxPower wrote:
Anish Basu wrote:
Hi,
For some reason, my AGI perl scripts cannot write to the CLI console using
standard error. I ran the agi-test.agi test script that came with asterisk
and verified that the problem was not with
Tzafrir Cohen wrote:
On Mon, Aug 08, 2005 at 03:50:02PM -0500, Eric Wieling aka ManxPower wrote:
Anish Basu wrote:
Hi,
For some reason, my AGI perl scripts cannot write to the CLI console using
standard error. I ran the agi-test.agi test script that came with asterisk
and verified that the
We start asterisk under a detached screen with GNU screen. We use the
'L' flag to log to a text file if we want. Then we can screen -r to
the actual asterisk CLI any time we want.
/usr/bin/screen -L -d -m -S asterisk /usr/sbin/asterisk -vgc
I have been learning AGI, and have got to grips with most of it, one thing
just confuses me.
I have written a PHP class that does input and outs stuff to the AGI. It all
seems to work. However on a stream file command. It's a bit different.
If I have a php file that just plays a file and hangs
On Monday 27 June 2005 23:04, David John Walsh wrote:
Hello,
does anyone know how to get the say number (say.c) agi application
to work in french [assuming that I have the French voice files]
I have looked in the code and about a 1/3 of the way thru there is :
} else if
it was the second one i needed - thank you. I only needed the numbers
in french on one b number and make it that the number could be
dialled from any extension (which is why option a was unsuitable.
thanks again.
On 28/06/05, Arvanitis Kostas [EMAIL PROTECTED] wrote:
On Monday 27 June 2005
Hello,
does anyone know how to get the say number (say.c) agi application
to work in french [assuming that I have the French voice files]
I have looked in the code and about a 1/3 of the way thru there is :
/*--- ast_say_number_full: call language-specific functions */
/* Called from AGI */
int
On Jun 27, 2005, at 1:04 PM, David John Walsh wrote:
Hello,
does anyone know how to get the say number (say.c) agi application
to work in french [assuming that I have the French voice files]
Maybe Harry knows but hasn't documented it yet.
Sorry, couldn't resist :-)
I need an AGI to monitor the quality of two connections and return a
yes/no based on packet loss, connectivy, provider being there, so I can
rollover the dial plan and dial the next available method. We have two
internet connections, two providers, and PSTN for backup.
My main concern is to
Title: Message
hi
all,
im trying to get a
php file to run thru AGI...but when i run it through *this is what i
get
i have the latest
php installed ver. 5...had ver 4.3.11...but had this problem so i figured an
upgrade to the highest would resolve it...
im running CVS Head
and
On 06:11, Mon 20 Jun 05, Jeromy Grimmett wrote:
hi all,
im trying to get a php file to run thru AGI...but when i run it through
*this is what i get
i have the latest php installed ver. 5...had ver 4.3.11...but had this
problem so i figured an upgrade to the highest would resolve
Jeromy Grimmett wrote:
hi all,
im trying to get a php file to run thru AGI...but when i run it through
*this is what i get
i have the latest php installed ver. 5...had ver 4.3.11...but had this
problem so i figured an upgrade to the highest would resolve it...
im running CVS Head
Mailing List - Non-Commercial Discussion'
Subject: [Asterisk-Users] AGI/PHP errors
hi all,
im trying to get a php file to run thru AGI...but when i run it through
*this is what i get
i have the latest php installed ver. 5...had ver 4.3.11...but had this
problem so i figured an upgrade
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [Asterisk-Users] AGI/PHP errors
hi all,
im trying to get a php file to run thru AGI...but when i run it through
*this is what i get
i have the latest php installed ver. 5...had ver 4.3.11...but had this
problem so i
TC wrote:
Why not just keep it simple use dial with Macro argument
and this std macro-screen
like this
http://lists.digium.com/pipermail/asterisk-users/2005-March/098257.html
Thank you so much!
I was not familiar with this option since we only run STABLE and this
feature is only available
I use ASTCC (agi) and it jumps out into a local contest, where I choose
the real trunk I will dial.
I would like to use hear LCR than, but I am not sure if I can have two
agis at once
bye
Ronald
___
Asterisk-Users mailing list
I need to accept an incoming call, make a series of outgoing calls, and
once I find someone willing to accept the call, bridge the original
incoming call to the outgoing call.
Using Dial from an AGI script isn't enough because once the Dial'ed
number connects, the call is immediately bridged
Why not just keep it simple use dial with Macro argument
and this std macro-screen
like this
http://lists.digium.com/pipermail/asterisk-users/2005-March/098257.html
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
hi;
am using an agi script to do some call forwarding. I got the following
pyton script off http://home.cogeco.ca/~camstuff/agi.html:
#!/usr/bin/python
import sys,string
class AGI:
Class AGI facilitates writing AGI scripts in Python.
Exported functions:
Hi Smadi. I have tested the script in my box and seems to be working
just fine. By the way, in any programming language, the way to get the
asterisk environment vars, and in general all the communication is
through STDIN, STDOUT and STDERR
try to give us more info so we can help you
best regards
I found if put AGI on zaptel channel, when execute stream file there is no
voice and execute set callerid got no effect.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To
I am issuing an AGI
call in extensions.conf as follows:
exten =
2000,1,Answer
exten =
2000,n,AGI(script.pl)
exten =
2000,n,Hangup
Asterisk perl is
installed. "script.pl" is a valid perl script in
/var/lib/asterisk/agi-bin
Output
is:
-- Executing
Answer("SIP/2034-e908", "") in new
On Tuesday 05 April 2005 3:24 pm, Adam Robins wrote:
I am issuing an AGI call in extensions.conf as follows:
exten = 2000,1,Answer
exten = 2000,n,AGI(script.pl)
exten = 2000,n,Hangup
Asterisk perl is installed. script.pl is a valid perl script in
/var/lib/asterisk/agi-bin
Output is:
Thanks!
Use strict; unveiled a syntax error!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Josiah
Bryan
Sent: Tuesday, April 05, 2005 3:38 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] AGI call problem
check file permissions, if not turn off any (or as much) outputting to
the console you can.
On Apr 5, 2005 1:24 PM, Adam Robins [EMAIL PROTECTED] wrote:
I am issuing an AGI call in extensions.conf as follows:
exten = 2000,1,Answer
exten = 2000,n,AGI(script.pl)
exten = 2000,n,Hangup
Lee Lee wrote:
Hi everyone
Presently all our calls are channel to one provider and we would like
to change that based on LCR.
the following is what we have presently;
# Dial the requested number, if we got something from the caller.
if ($dialto != )
{
$AGI-exec('SetAccount',
Hi everyone
Presently all our calls are channel to one provider and we would like to change that based on LCR.
the following is what we have presently;
# Dial the requested number, if we got something from the caller.if ($dialto != ""){ $AGI-exec('SetAccount', $accountnum); if ($debug) {
On Mar 28, 2005, at 7:30 AM, Bill Kervaski wrote:
Has anyone had success with the AGI STREAM FILE command with the CVS?
I can't get it to work with the debian 1.0.5 package or the CVS on
Redhat or Debian.
It's not syntax, I'm doing that right. It doesn't give me an error
when I use AGI
Has anyone had success with the AGI STREAM FILE command with the CVS? I
can't get it to work with the debian 1.0.5 package or the CVS on Redhat
or Debian.
It's not syntax, I'm doing that right. It doesn't give me an error when
I use AGI DEBUG, it doesn't even give a response, just goes right
On Mon, 2005-03-28 at 08:30 -0600, Bill Kervaski wrote:
Has anyone had success with the AGI STREAM FILE command with the CVS? I
can't get it to work with the debian 1.0.5 package or the CVS on Redhat
or Debian.
It's not syntax, I'm doing that right. It doesn't give me an error when
I
I've tried two completely different scenerios.
1) Debian (sarge) with the Asterisk 1.0.5 package.
2) Redhat 9 with Asterisk CVS 1.0.7+
I can't get the AGI STREAM FILE command to work with a simple bash
script. I can get other AGI commands to work like SAY NUMBER 123 etc.
I've set AGI DEBUG and
Bill Kervaski wrote:
I've tried two completely different scenerios.
1) Debian (sarge) with the Asterisk 1.0.5 package.
2) Redhat 9 with Asterisk CVS 1.0.7+
I can't get the AGI STREAM FILE command to work with a simple bash
script. I can get other AGI commands to work like SAY NUMBER 123 etc.
i have a problem with AGI in Asterisk 1.0.5, the problem occurs either
with PHP or C AGI scripts/programs. Well, its simple,
either asterisk is not sending correctly the command responses to the
standard output, or for some unknown reason to me the
scripts/programs are not able to read it from
Hi,
I wanted to say a date (and time) in german, but did not found a way to
do this with sayunixtime, so I wrote this agi script.
(I could switch to german, but it was not correct)
be sure to use the sound files from:
http://www.stadt-pforzheim.de/asterisk/dateien/ast_prompts_de.tgz (which
are
I'd like to set up some global parameters once at startup using an
external program. (eg like one would with AGI)
How can I do that ?
Thanks,
Thomas
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
Hello.
When the caller hangup the phone, asterisk kills my AGI python script without
notification.
I caught all signals, but none was trigered.
How can i trap this event to resume some operations.
Sorry for my poor english :)
Thanks.
___
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pepe Aracil
Sent: Wednesday, March 16, 2005 12:21 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] AGI kill
Hello.
When the caller hangup the phone, asterisk kills my AGI python script
You can't! As far as I can tell, once Asterisk eliminates an AGI upon
hangup, it doesn't send any signal information to the AGI script. If you
need to run some clean ups, the proper way to do so would be to execute
an AGI upon hangup, utilizing DeadAGI.
You can also use FastAGI instead of
:57 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] AGI kill
You can't! As far as I can tell, once Asterisk eliminates an AGI upon
hangup, it doesn't send any signal information to the AGI script. If you
need to run some clean ups, the proper way
On Wed, 2005-03-16 at 13:08 +0200, Nir Simionovich wrote:
You are correct, FastAGI is a valid option. However, if he's basing his
application on Asterisk Stable, FastAGI is not available in the stable
version.
My version of Asterisk 1.0.6 includes FastAGI support and works pretty
well.
: [Asterisk-Users] AGI kill
On Wed, 2005-03-16 at 13:08 +0200, Nir Simionovich wrote:
You are correct, FastAGI is a valid option. However, if he's basing his
application on Asterisk Stable, FastAGI is not available in the stable
version.
My version of Asterisk 1.0.6 includes FastAGI support and works
On Wed, 2005-03-16 at 11:20 +0100, Pepe Aracil wrote:
Hello.
When the caller hangup the phone, asterisk kills my AGI python script
without
notification.
I caught all signals, but none was trigered.
How can i trap this event to resume some operations.
Asterisk doesn't send any signal
Hi All,
I've been playing about with the RECORD FILE agi function and am
finding two distinct problems with the resulting wav file when using a
non zero sample offset. Specifically, I call the function with a zero
offset and a given filename (the original recording), and then later
call it with
Hi All,
I've been playing about with the RECORD FILE agi function and am
finding two distinct problems with the resulting wav file when using a
non zero sample offset. Specifically, I call the function with a zero
offset and a given filename (the original recording), and then later
call it with
On Tue, 2005-03-01 at 13:42 -0500, John Hammen wrote:
Hi All,
I've been playing about with the RECORD FILE agi function and am
finding two distinct problems with the resulting wav file when using a
non zero sample offset. Specifically, I call the function with a zero
offset and a given
Thanks for the quick reply, we are using WAV format on version
CVS-HEAD-01/06/05-07:07:23
We're trying 1.0.6 right now, I'll let you know if the problem persists...
Thanks again,
John
What file format are you using and what version of asterisk are you
using?
There had been a bug for all
.
Specifically, X is not a digit, you must either use for no
interuptions permitted or use 0123456789 for all digits available to
interupt.
I also 'discovered' that you cannot send a sequence of commands to
asterisk without
reading the results between each command submission. Similar to the
I'm running Asterisk CVS-v1-0-12/28/04
I use a short php agi script to get the temperature from an opto22 module.
STREAM FILE temperature does nothing, but SAY NUMBER works fine.
What am I doing wrong?
#!/usr/bin/php -q
?
$output = @shell_exec('eiocl 192.168.10.212 2001 10 44 r ap');
$words =
On Mon, 2005-02-07 at 15:18 -0500, Paul Zimm wrote:
I'm running Asterisk CVS-v1-0-12/28/04
I use a short php agi script to get the temperature from an opto22 module.
STREAM FILE temperature does nothing, but SAY NUMBER works fine.
What am I doing wrong?
#!/usr/bin/php -q
?
$output =
hi jay,
Jay Milk wrote:
The result can be found here:
http://www.muware.com/asterisk/
it seems as if your webserver tries to execute the .php file instead of
making them available for download...
regards
frank
___
Asterisk-Users mailing list
Subject: Re: [Asterisk-Users] AGI Script for CID Rewrite and
CID Name lookup
hi jay,
Jay Milk wrote:
The result can be found here:
http://www.muware.com/asterisk/
it seems as if your webserver tries to execute the .php file
instead of
making them available for download
I am using the outgoing spool directory and place two files there to
call two extensions.
I have FC3 and T100P card.
example call files:
Channel: ZAP/g1/207
Context: testing-multicall
Extension: 55
Priority: 1
RetryTime: 2
WaitTime: 20
MaxRetries: 0
Channel: ZAP/g1/216
Context: testing-multicall
I have had some radom occurances of someone calling in, and for whatever
reason the person is getting dumped into the section of the lcr.agi file
that output the message of it is necessary to dial x. I was curious,
does any one know about a variable that might be available in the AGI that
I am now just wondering as far as the variables are concerned, if anyone
knows of a complete list of variables that can be used in an AGI script?
I noticed that the globals according to that page would not work, but that
$input{'channel'} gave me the desired information. I was looking for a way
Apparently I have had a few calls show up in my logs as something odd
happening. Apparently at a certain spot the wrong number of digits are
being presented, but I am not sure why that is. That is what I am trying
to figure out. I was curious, does anyone know of a wiki page that
outlines the
I recently changed to all IAX providers for my DIDs, and none of them
offer incoming caller-names. Back in the days when I did have incoming
caller names, I found the names provided by the various phone-companies
fairly useless -- WIRELESS CALLER, YOURCITYHERE etc.
Last Friday I finally set off
I have a problem with AGI Perl commands:
I can't hear audio out of my SIP phone when I use $AGI-stream_file
in a agi perl script.
$AGI-exec('Playback',fnord) works fine, but not the perl-agi builtin
functions for audio output.
Any ideas ?
/sascha
___
Hi
all, I have a very simple AGI program in Java, but it sometimes hangup before the whole process is completed. Looking at the /var/log/asterisk/full,
I found the following:
AGI
Tx agi_enhanced:
0.0
AGI
Tx agi_accountcode:
AGI
Tx
AGI
Rx STREAM FILE beep
Jan
20 07:32:30
If asterisk -cg is used to start asterisk it shows AGI Environment
Dumps, which I find very useful, but if asterisk and then asterisk
-r is used, you dont see any Environment Dumps. Is there a way to
make AGI Environment Dumps show up when using -r or any other options?
Any help is
On Wed, 2005-01-19 at 21:12 -0500, Nate Kapi wrote:
If asterisk -cg is used to start asterisk it shows AGI Environment
Dumps, which I find very useful, but if asterisk and then asterisk
-r is used, you dont see any Environment Dumps. Is there a way to
make AGI Environment Dumps show up
On Wed, 2005-01-19 at 21:12 -0500, Nate Kapi wrote:
If asterisk -cg is used to start asterisk it shows AGI Environment
Dumps, which I find very useful, but if asterisk and then asterisk
-r is used, you dont see any Environment Dumps. Is there a way to
make AGI Environment Dumps show up
Hi,
what happens if the dialplan contains something like
exten = s,1,AGI(agi://10.0.0.1)
exten = s,2,Dial(SIP/phone1|20|tr)
etc. - if 10.0.0.1 isn't reachable or doesn't react on the connection? In my
test cases, I always got a hangup and no further processing of the dialplan.
Any hints? (
Before
coming in here , I had a deep dig into Google and couldnt find an
answer,
Simply
spoken, using agi-getdat in an AGI application , the call disconnects if
digits are entered fast by user.
I'm
certain that others have been though this problem, please pour your experience
Hi,
I have a big problem with EXEC in AGI scripts:
I do, for example, EXEC Dial SIP/phone1, Asterisk says
-- AGI Script Executing Application: (dial) Options: (sip/phone1)
Jan 10 14:33:20 WARNING[10567]: chan_sip.c:1389 create_addr: No such host:
phone1
Jan 10 14:33:20 NOTICE[10567]:
Has anyone goten this script to work with other reverse lookup
providers. I also am sitting on a pri line that by standard only gives
number returns.
Thanks,
On Thu, 19 Aug 2004 17:56:16 -0500, Greg Blakely [EMAIL PROTECTED] wrote:
Is anyone successfully using the AGI script
Hi;
If i use an agi script to send an INVITE message using the send text
command to a sip client, that client is going to reply with a 200 OK,
would asterisk B2BUA reply with an ACK?
thanks
moe smadi
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
Greetings All,
I've created a sample trouble ticketing management script in perl that
allows the management of trouble tickets, call routing, etc that
interfaces with the perldesk helpdesk application.
It is mainly for an example of what integration between asterisk and real
world apps is
Hello,
I'm writing a AGI Perl script and use the following lines to initiate a
call :
$res = $AGI-exec(DIAL $dialstr);
And then :
$answeredtime = $AGI-get_variable(ANSWEREDTIME);
The problem is that I need to know immediately when the call has begun.
I can have the call duration establishment
If I start up 2 agi applications (by using the outgoing spool directory)
doing one at a 1 time is no problem. If I start both of them so they
are active at the same time and there is some message that plays
when the first AGI is done it executes a hangup.
It appears the second agi receives that
Additionally.
This seems to be related to the first AGI channel being CONSOLE/dsp.
The Hangup that my AGI sends at the end is sent to the wrong channel
so I get 200 result=-1 on the wrong channel.
-
If I start up 2 agi applications (by using the outgoing spool directory)
doing one at a 1 time
I'm having troubles with my agi scripts.
-- Executing Answer(SIP/asterisk-7f82, ) in new stack
-- Executing AGI(SIP/asterisk-7f82, php-agi.agi) in new stack
Failed to execute '/var/lib/asterisk/agi-bin/php-agi.agi': No such
file or directory
Now that file is there! Thats a fact. The
On Mon, 2004-11-08 at 03:00 -0800, Mike Roberts wrote:
I'm having troubles with my agi scripts.
-- Executing Answer(SIP/asterisk-7f82, ) in new stack
-- Executing AGI(SIP/asterisk-7f82, php-agi.agi) in new stack
Failed to execute '/var/lib/asterisk/agi-bin/php-agi.agi': No such
The Script
http://pastebin.ca/1968
The File
[EMAIL PROTECTED] agi-bin]# ll
-rwxr-xr-x1 root root 1020 Nov 8 01:17 php-agi.agi
[EMAIL PROTECTED] agi-bin]# pwd
/var/lib/asterisk/agi-bin
The Error
*CLI -- Executing Answer(SIP/asterisk-6520, ) in new stack
-- Executing
Okay, I found it.. I've never seen php installed in
/usr/local/bin/php... But hey
there's s first for everything eh? I'll remember this one for sure!
Thanks everyone
On Mon, 08 Nov 2004 07:27:03 -0800, Matthew Asham
[EMAIL PROTECTED] wrote:
As Steven asked, what about /usr/bin/php ?
List - Non-Commercial Discussion
[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 10:01 PM
Subject: Re: [Asterisk-Users] $AGI-stream_file
On Fri, 29 Oct 2004 16:59:56 -0400, Victor Cartes
[EMAIL PROTECTED] wrote:
Hello everybody!
I've got a problem here. I writing an AGI in Perl and when I used
Can somebody tell me why this does not work in perl (AGI)???
#!/usr/bin/perl -w
use Asterisk::AGI;
$AGI =3D new Asterisk::AGI;
%input =3D $AGI-ReadParse();
$AGI-say_number(1984);
At the console I can see the program start and finish OK, but it doesn't
execute the
List - Non-Commercial Discussion
[EMAIL PROTECTED]
Sent: Tuesday, November 02, 2004 11:14 AM
Subject: [Asterisk-Users] $AGI-say_number
Can somebody tell me why this does not work in perl (AGI)???
#!/usr/bin/perl -w
use Asterisk::AGI;
$AGI =3D new Asterisk::AGI;
%input =3D $AGI
Hello everybody!
I've got a problem here. I writing an AGI in Perl and when I used the
stream_file method It did not work. Then I realized that the next line has
no waited for the streamed file end, the program has just gone on.
What should I do to make the routine wait for the stramed file
On Fri, 29 Oct 2004 16:59:56 -0400, Victor Cartes
[EMAIL PROTECTED] wrote:
Hello everybody!
I've got a problem here. I writing an AGI in Perl and when I used the
stream_file method It did not work. Then I realized that the next line has
no waited for the streamed file end, the program has
I am attempting to place a call in the outgoing spool directory
once that call is placed run my agi. I am using analog cards.
I am attempting to find some reliable call status indication.
I found the command CHANNEL STATUS for the agi.
It says is reports busy, remote ring etc...
I tried it and the
Hello,
On Thu, 21 Oct 2004 10:43:01 -0500, Jerry Geis [EMAIL PROTECTED] wrote:
I am attempting to place a call in the outgoing spool directory
once that call is placed run my agi. I am using analog cards.
The problem is that there is no reliable call progress on ANALOG
lines. Asterisk just set
801 - 900 of 1104 matches
Mail list logo