Re: [Asterisk-Users] AGI nor System working after a dial - Should it work?

2005-09-01 Thread Patrick Tracanelli
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

Re: [Asterisk-Users] AGI nor System working after a dial - Should it work?

2005-08-27 Thread Moises Silva
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

Re: [Asterisk-Users] AGI nor System working after a dial - Should it work?

2005-08-25 Thread Patrick Tracanelli
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

[Asterisk-Users] AGI + Ruby

2005-08-24 Thread Innocent Evil
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

Re: [Asterisk-Users] AGI + Ruby

2005-08-24 Thread Mark Phillips
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

Re: [Asterisk-Users] AGI + Ruby

2005-08-24 Thread Innocent Evil
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

RE: [Asterisk-Users] AGI + Ruby

2005-08-24 Thread Huddleston, Robert
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

RE: [Asterisk-Users] AGI + Ruby

2005-08-24 Thread Innocent Evil
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

Re: [Asterisk-Users] AGI + Ruby

2005-08-24 Thread Mark Phillips
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

RE: [Asterisk-Users] AGI + Ruby

2005-08-24 Thread Huddleston, Robert
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

Re: [Asterisk-Users] AGI + Ruby

2005-08-24 Thread Mark Phillips
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

Re: [Asterisk-Users] AGI + Ruby

2005-08-24 Thread Innocent Evil
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

[Asterisk-Users] AGI nor System working after a dial - Should it work?

2005-08-23 Thread Patrick Tracanelli
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

[Asterisk-Users] Agi Script - sending a message to called party

2005-08-19 Thread j_amorim
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

[Asterisk-Users] Agi Script - sending a message to called party

2005-08-18 Thread j_amorim
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

[Asterisk-Users] AGI SCRIPTS USING PERL NEED SOME KIND OF COMPILATION TO WORK WITH *

2005-08-17 Thread j_amorim
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();

Re: [Asterisk-Users] AGI SCRIPTS USING PERL NEED SOME KIND OF COMPILATION TO WORK WITH *

2005-08-17 Thread Tzafrir Cohen
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

[Asterisk-Users] AGI perl problem

2005-08-08 Thread Anish Basu
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.

Re: [Asterisk-Users] AGI perl problem

2005-08-08 Thread Eric Wieling aka ManxPower
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

Re: [Asterisk-Users] AGI perl problem

2005-08-08 Thread Tzafrir Cohen
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

Re: [Asterisk-Users] AGI perl problem

2005-08-08 Thread Eric Wieling aka ManxPower
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

Re: [Asterisk-Users] AGI perl problem

2005-08-08 Thread Matt Florell
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

[Asterisk-Users] AGI why oh why?

2005-07-26 Thread Mark Ackroyd
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

Re: [Asterisk-Users] AGI say number but in french

2005-06-28 Thread Arvanitis Kostas
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

Re: [Asterisk-Users] AGI say number but in french

2005-06-28 Thread David John Walsh
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

[Asterisk-Users] AGI say number but in french

2005-06-27 Thread David John Walsh
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

Re: [Asterisk-Users] AGI say number but in french

2005-06-27 Thread Robert Goodyear
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 :-)

[Asterisk-Users] AGI to monitor conenction quality

2005-06-23 Thread Chris Mason (Lists)
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

[Asterisk-Users] AGI/PHP errors

2005-06-20 Thread Jeromy Grimmett
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

Re: [Asterisk-Users] AGI/PHP errors

2005-06-20 Thread Michiel van Baak
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

Re: [Asterisk-Users] AGI/PHP errors

2005-06-20 Thread Matthew Boehm
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

RE: [Asterisk-Users] AGI/PHP errors

2005-06-20 Thread Jay Milk
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

Re: [Asterisk-Users] AGI/PHP errors

2005-06-20 Thread Moises Silva
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

Re: [Asterisk-Users] AGI - How to Make Calls and Bridge to Original Incoming

2005-05-16 Thread George Pajari
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

[Asterisk-Users] AGI (LCR) within AGI ( possible???

2005-05-10 Thread Ronald Wiplinger
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

[Asterisk-Users] AGI - How to Make Calls and Bridge to Original Incoming

2005-05-09 Thread George Pajari
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

Re: [Asterisk-Users] AGI - How to Make Calls and Bridge to OriginalIncoming

2005-05-09 Thread TC
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

[Asterisk-Users] agi problem

2005-05-03 Thread M.N.A.Smadi
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:

Re: [Asterisk-Users] agi problem

2005-05-03 Thread Moises Silva
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

[Asterisk-Users] AGI problem on Zaptel channel

2005-04-24 Thread YANG TAO
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

[Asterisk-Users] AGI call problem

2005-04-05 Thread Adam Robins
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

Re: [Asterisk-Users] AGI call problem

2005-04-05 Thread Josiah Bryan
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:

RE: [Asterisk-Users] AGI call problem

2005-04-05 Thread Adam Robins
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

Re: [Asterisk-Users] AGI call problem

2005-04-05 Thread Mike Roberts
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

Re: [Asterisk-Users] AGI Dial Plan

2005-04-04 Thread Jean-Michel Hiver
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',

[Asterisk-Users] AGI Dial Plan

2005-04-03 Thread Lee Lee
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) {

Re: [Asterisk-Users] AGI STREAM FILE command

2005-03-30 Thread Jamin W . Collins
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

[Asterisk-Users] AGI STREAM FILE command

2005-03-28 Thread Bill Kervaski
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

Re: [Asterisk-Users] AGI STREAM FILE command

2005-03-28 Thread Steven Critchfield
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

[Asterisk-Users] AGI STREAM FILE issue

2005-03-26 Thread Bill Kervaski
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

Re: [Asterisk-Users] AGI STREAM FILE issue

2005-03-26 Thread Eric Wieling aka ManxPower
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.

[Asterisk-Users] AGI commands STDOUT problem

2005-03-24 Thread Moises Silva
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

[Asterisk-Users] agi script for german date / time

2005-03-23 Thread Sebastian Bhm
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

[Asterisk-Users] AGI-like calls in the [globals] section

2005-03-18 Thread Thomas Andrews
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

[Asterisk-Users] AGI kill

2005-03-16 Thread Pepe Aracil
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. ___

RE: [Asterisk-Users] AGI kill

2005-03-16 Thread Nir Simionovich
- 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

RE: [Asterisk-Users] AGI kill

2005-03-16 Thread Stefan Reuter
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

RE: [Asterisk-Users] AGI kill

2005-03-16 Thread Nir Simionovich
: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

RE: [Asterisk-Users] AGI kill

2005-03-16 Thread Stefan Reuter
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.

RE: [Asterisk-Users] AGI kill

2005-03-16 Thread Nir Simionovich
: [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

Re: [Asterisk-Users] AGI kill

2005-03-16 Thread Steven Critchfield
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

[Asterisk-Users] agi RECORD FILE with offset

2005-03-01 Thread John Hammen
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

[Asterisk-Users] agi RECORD FILE with offset

2005-03-01 Thread John Hammen
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

Re: [Asterisk-Users] agi RECORD FILE with offset

2005-03-01 Thread Steven Critchfield
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

Re: [Asterisk-Users] agi RECORD FILE with offset

2005-03-01 Thread John Hammen
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

Re: [Asterisk-Users] agi command 'stream file' not working?

2005-02-08 Thread Paul Zimm
. 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

[Asterisk-Users] agi command 'stream file' not working?

2005-02-07 Thread Paul Zimm
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 =

Re: [Asterisk-Users] agi command 'stream file' not working?

2005-02-07 Thread Steven Critchfield
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 =

Re: [Asterisk-Users] AGI Script for CID Rewrite and CID Name lookup

2005-02-01 Thread Frank Sautter
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

RE: [Asterisk-Users] AGI Script for CID Rewrite and CID Name lookup

2005-02-01 Thread Jay Milk
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

[Asterisk-Users] AGI two calls - one hangs up - othere gets interrupted system call

2005-02-01 Thread Jerry Geis
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

[Asterisk-Users] AGI global style variables

2005-02-01 Thread Dan Adams
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

Re: [Asterisk-Users] AGI global style variables

2005-02-01 Thread Dan Adams
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

[Asterisk-Users] AGI Processing Order

2005-01-31 Thread Dan Adams
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

[Asterisk-Users] AGI Script for CID Rewrite and CID Name lookup

2005-01-31 Thread Jay Milk
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

[Asterisk-Users] $AGI-stream_file - no audio on SIP Phone

2005-01-27 Thread S . Ludwig
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 ___

[Asterisk-Users] AGI crash on 1.0.2 on Wait ...

2005-01-19 Thread Andy Cheng
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

[Asterisk-Users] AGI Environment Dump Question w/ASTCC

2005-01-19 Thread Nate Kapi
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

Re: [Asterisk-Users] AGI Environment Dump Question w/ASTCC

2005-01-19 Thread Adam Goryachev
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

Re: [Asterisk-Users] AGI Environment Dump Question w/ASTCC

2005-01-19 Thread Steven Critchfield
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

[Asterisk-Users] AGI / Sockets

2005-01-17 Thread Robert Spielmann
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? (

[Asterisk-Users] AGI Application Hangup when using AGI-getdata

2005-01-11 Thread ALI AL-MUGHRABI
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

[Asterisk-Users] AGI EXEC trouble

2005-01-10 Thread Robert Spielmann
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]:

Re: [Asterisk-Users] AGI Script: calleridnamelookup.agi

2004-12-15 Thread Matt Hohman
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

[Asterisk-Users] agi send text option

2004-12-15 Thread m. smadi
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]

[Asterisk-Users] AGI Helpdesk/Trouble Ticketing application

2004-12-13 Thread Jim Radford
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

[Asterisk-Users] AGI Perl

2004-12-10 Thread Yves
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

[Asterisk-Users] AGI application doing Hangup command and different AGI application running receiving the Hangup

2004-12-07 Thread Jerry Geis
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

[Asterisk-Users] AGI application doing Hangup command and different AGI application running receiving the Hangup - additional

2004-12-07 Thread Jerry Geis
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

[Asterisk-Users] AGI Errors

2004-11-08 Thread Mike Roberts
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

Re: [Asterisk-Users] AGI Errors

2004-11-08 Thread Steven Critchfield
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

Re: [Asterisk-Users] AGI Errors

2004-11-08 Thread Mike Roberts
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

Re: [Asterisk-Users] AGI Errors

2004-11-08 Thread Mike Roberts
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 ?

Re: [Asterisk-Users] $AGI-stream_file

2004-11-02 Thread Victor Cartes
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

[Asterisk-Users] $AGI-say_number

2004-11-02 Thread Victor Cartes
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

Re: [Asterisk-Users] $AGI-say_number

2004-11-02 Thread Victor Cartes
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

[Asterisk-Users] $AGI-stream_file

2004-10-29 Thread Victor Cartes
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

Re: [Asterisk-Users] $AGI-stream_file

2004-10-29 Thread Brian Roy
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

[Asterisk-Users] AGI comand channel status

2004-10-21 Thread Jerry Geis
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

Re: [Asterisk-Users] AGI comand channel status

2004-10-21 Thread Nicolás Gudiño
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

<    4   5   6   7   8   9   10   11   12   >