[Asterisk-Users] AGI comand channel status]

2004-10-21 Thread Jerry Geis
Sir, Thanks for the reply. I have tried the callprogress in zapata and it was not reliable for me. I have tried the backgrounddetect and it does not give me busy indications. Dialogic had a callprocess function that gave busy status, waited for voice energy (some one saying hello) so you new

RE: [Asterisk-Users] AGI comand channel status]

2004-10-21 Thread Todd Lieberman
Look to hack the record app and listen for silence. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jerry Geis Sent: Thursday, October 21, 2004 10:38 PM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] AGI comand channel status] Sir, Thanks for the reply

RE: [Asterisk-Users] AGI RECORD FILE BUG!

2004-10-19 Thread Simon Smith
I am experiencing a problem with the RECORD FILE functionality in AGI when I am doing a Record_file. After approx 20 mins + the Record_file ceases to accept escape digits and therefore records for ever or until my timeout I set. It acts like a dead application, just recording without the

RE: [Asterisk-Users] AGI RECORD FILE BUG!

2004-10-19 Thread Steven Critchfield
You also are having a problem realizing that we have now seen your message SEVERAL times and shoved into other threads that are irrelavent to recording or AGI. You are not helping yourself by doing this. -- Steven Critchfield [EMAIL PROTECTED] ___

RE: [Asterisk-Users] AGI RECORD FILE BUG!

2004-10-19 Thread Scott Stingel
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Smith Sent: Tuesday, October 19, 2004 3:49 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] AGI RECORD FILE BUG! Importance: High I am experiencing a problem with the RECORD FILE functionality

RE: [Asterisk-Users] AGI RECORD FILE BUG!

2004-10-19 Thread Simon Smith
: [Asterisk-Users] AGI RECORD FILE BUG! You also are having a problem realizing that we have now seen your message SEVERAL times and shoved into other threads that are irrelavent to recording or AGI. You are not helping yourself by doing this. -- Steven Critchfield [EMAIL PROTECTED

RE: [Asterisk-Users] AGI RECORD FILE BUG!

2004-10-19 Thread Steven Critchfield
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Critchfield Sent: Tuesday, 19 October 2004 11:06 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] AGI RECORD FILE BUG! You also are having a problem realizing

[Asterisk-Users] AGI Python Clear or Channel Failure?

2004-09-17 Thread Martyn Russell
Hi All, When I call the stream_file function all goes well if the user doesn't clear the call. But if I do clear the call (on the handset for example), I get the following exception: -- Channel 0/31, span 1 got hangup RESULT_LINE: 200 result=-1 endpos=28000 ==

Re: [Asterisk-Users] AGI Python Clear or Channel Failure?

2004-09-17 Thread Steven Critchfield
On Fri, 2004-09-17 at 09:01, Martyn Russell wrote: Is there any way to know if the return code (-1) is a clear or channel failure? Does it matter. If you receive a -1 you know the line is no longer available and no other commands will be accepted. So all that is left for your app is to clean

Re: [Asterisk-Users] AGI Python Clear or Channel Failure?

2004-09-17 Thread Steven Critchfield
Please do not respond to all. I don't need a copy privately mailed to me outside of the list. On Fri, 2004-09-17 at 09:35, Martyn Russell wrote: On Fri, 2004-09-17 at 14:58, Steven Critchfield wrote: On Fri, 2004-09-17 at 09:01, Martyn Russell wrote: Is there any way to know if the return

Re: [Asterisk-Users] AGI Python Clear or Channel Failure?

2004-09-17 Thread Martyn Russell
On Fri, 2004-09-17 at 15:31, Steven Critchfield wrote: If, for example, the channel fails because the PRI has been pulled out of the back of the card, that is serious. We need to know if it is serious or expected, and the user clearing in the middle of the call is expected. This isn't

RE: [Asterisk-Users] AGI dtmf problems (with x-lite) (solved)

2004-08-28 Thread Raul Elizondo (wizardteam)
Hi Steven, IT is interesting you are even that far along with your AGI application when you haven't even figured out your mail client. Do you mean my email client? or my voicemail? Voicemail is working fine on digim extensions, i even changed the language to spanish (btw, there are lot of

[Asterisk-Users] AGI dtmf problems (with x-lite)

2004-08-27 Thread Raul Elizondo (wizardteam)
Hi guys, May be this is a subject already disscused some where before, but i cant find a solution. By using x-lite, i can dial in menus, or even in voicemail during the process of any of both. But when i run my own AGI (using tcl), it does not detect DTMF when GET DATA function. I got no more

Re: [Asterisk-Users] AGI dtmf problems (with x-lite)

2004-08-27 Thread Steven Critchfield
On Fri, 2004-08-27 at 13:23, Raul Elizondo (wizardteam) wrote: Hi guys, May be this is a subject already disscused some where before, but i cant find a solution. By using x-lite, i can dial in menus, or even in voicemail during the process of any of both. But when i run my own AGI (using

[Asterisk-Users] AGI and EXEC function CONFIRMATION

2004-08-26 Thread jeff quade
Howdie- Can anyone please confirm that the BACKGROUND application does ***NOT*** return IMMEDIATELY when called from within an AGI EXEC command? It seems that EXEC waits until DTMF or THE END OF THE AUDIO FILE to return to the AGI script. This essentially prevents repeated calls to BACKGROUND

Re: [Asterisk-Users] AGI and EXEC function CONFIRMATION

2004-08-26 Thread Clayton Smith
At least with my php scripts, it retuns immediately, which is why i get it to check for what the function returns eg. fputs($configSettings['handles']['stdOut'],STREAM FILE $filename \\\n); gets it to play a background message This line keeps my script from continueing (and thus, ending and

[Asterisk-Users] AGI and EXEC function CONFIRMATION

2004-08-26 Thread jeff quade
Clayton/group-- Thanks for the quick response... I think we may be on a different wavelength on the queue problem, though. I cant get the following native agi commands to Return ***BEFORE*** a user response-- which makes sense-- because these commands want to return with the response DATA.

[Asterisk-Users] AGI Script: calleridnamelookup.agi

2004-08-19 Thread Greg Blakely
Is anyone successfully using the AGI script calleridnamelookup.agi (or anything similar) ? I get both name and number caller ID from my POTS line, but I'd save money if I had them deliver ANI only. I've downloaded and installed the AGI script calleridnamelookup.agi, but I always get --

[Asterisk-Users] Agi Question

2004-08-17 Thread Yelson
Hi everybody I'm working on an AGI in perl and i find this problem. My agi should dial an outside number (PSTN) but every time that i try to dial from the agi, asterisk shows this message: -- -- AGI Script Executing

Re: [Asterisk-Users] Agi Question

2004-08-17 Thread Steven Critchfield
On Tue, 2004-08-17 at 19:10, Yelson wrote: Hi everybody I'm working on an AGI in perl and i find this problem. My agi should dial an outside number (PSTN) but every time that i try to dial from the agi, asterisk shows this message:

[Asterisk-Users] AGI help - Say Number

2004-07-27 Thread clive18
Hi I am trying to read a number back using the command SayNumber. This worked fine in older versions of asterisk, but now I am trying CVS head and I get this error: Jul 27 16:10:53 WARNING[507921]: file.c:1004 ast_waitstream_full: Wait failed (Interrupted system call) The line in code is:

[Asterisk-Users] AGI Dial, Extension dial SIP Loop

2004-07-19 Thread Stefan de Konink
At the moment I'm prototyping an advanced ENUM application with PHP fetched from LDAP. When a user enters a full hostname as SIP adress I get loop problems from the AGI EXECUTE DIAL and from a Dial in the extension.conf. -- Executing AGI(SIP/1000-c3c3, enum.php) in new stack -- Launched

[Asterisk-Users] AGI - No audio

2004-07-07 Thread Bruce Marler
All, I am currently working with the AGI interface using PHP, I have it working to execute commands that do not require prompts to be played, but when I execute an AGI command to play a prompt or stream a prompt all i get is silence (although I can see in the log where it says the correct name

RE: [Asterisk-Users] AGI - No audio

2004-07-07 Thread Jason Penton
PROTECTED] Subject: [Asterisk-Users] AGI - No audio All, I am currently working with the AGI interface using PHP, I have it working to execute commands that do not require prompts to be played, but when I execute an AGI command to play a prompt or stream a prompt all i get is silence

[Asterisk-Users] AGI - NO Audio

2004-07-07 Thread Bruce Marler
All, As it was kindly pointed out to me, I should have listed the complete version #, sorry it was way too late to be typing at the point:) Version CVS-HEAD-06/01/04-09:06:48 Also, a couple other points, the codec in use on the sip channels is g711, but the problem also occurs Zap channel to Zap

[Asterisk-Users] AGI Diad number

2004-06-30 Thread Ben Merrills
Is there a way of getting the dialled number from an AGI? Is it passed in the initial variables, or can it be pulled out or passed across from the dial plan? Cheers, Ben Merrills Griffin Internet

Re: [Asterisk-Users] AGI Diad number

2004-06-30 Thread FastJack
Merrills To: [EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 12:46 PM Subject: [Asterisk-Users] AGI Diad number Is there a way of getting the dialled number from an AGI? Is it passed in the initial variables, or can it be pulled out or passed across from the dial plan

Re: [Asterisk-Users] AGI Diad number

2004-06-30 Thread Philipp von Klitzing
Hi! Is there a way of getting the dialled number from an AGI? Is it passed in the initial variables, Yes. You'll need to do some reading, though, start with Communicating with Asterisk at http://home.cogeco.ca/~camstuff/agi.html. Then continue with

[Asterisk-Users] AGI-Exec Problem

2004-06-28 Thread Tom Daly
Hello, I am having some trouble with the Asterisk::AGI perl library. It seems that the AGI-Exec() command is causing me a problem. Here's the line in my AGI code: $AGI-exec('Record',$vmfile:wav, 30); I'm trying to record voicemail to the file name stored in $vmfile with a silence timeout of 30.

Re: [Asterisk-Users] AGI-Exec Problem

2004-06-28 Thread Navnit Chachan
$AGI-exec('Record',$vmfile:wav 30); - Original Message - From: Tom Daly [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 28, 2004 8:05 PM Subject: [Asterisk-Users] AGI-Exec Problem Hello, I am having some trouble with the Asterisk::AGI perl library. It seems that the AGI

Re: [Asterisk-Users] AGI-Exec Problem

2004-06-28 Thread James Golovich
On Mon, 28 Jun 2004, Tom Daly wrote: Hello, I am having some trouble with the Asterisk::AGI perl library. It seems that the AGI-Exec() command is causing me a problem. Here's the line in my AGI code: $AGI-exec('Record',$vmfile:wav, 30); The proper usage would be: $AGI-exec('Record',

[Asterisk-Users] AGI + g729A

2004-06-08 Thread Osvaldo Mundim
Hello I have the follow situatuion: ISDN | | V E100P || IAX2 / g729A || T100P | Asterisk1 |- - - - - - - - - - - - - - | Asterisk2 | - - - - - - |--| | | | | | Zhone| - -

Re: [Asterisk-Users] AGI + g729A

2004-06-08 Thread Osvaldo Mundim
Hi Philipp, I'm not receiving my emails sent to the list. I thought my email was not in the asterisk-users list anymore. But anyways.. About the DIAL application, I'm currently use the DIAL application from an AGI program to connect call to Zap channels (i.e, the caller calls an DID number, I

[Asterisk-Users] AGI + g729A

2004-06-07 Thread Osvaldo Mundim
Hello I have the follow situatuion: ISDN | | V E100P || IAX2 / g729A || T100P | Asterisk1 |- - - - - - - - - - - - - - | Asterisk2 | - - - - - - |--| | | | | | Zhone| - -

RE: [Asterisk-Users] AGI Pascal

2004-06-01 Thread Andy Powell
On 28/05/2004 at 19:58 usedcanon wrote: Hi Andy, I am most certainly interested. If you have some example code using a DB (MySQL maybe) that would be extremelly helpful. BTW, I am new to fpc(Turbo pascal, Delphi and now Kylix), does it have a linux command line IDE like the DOS version Thanks

RE: [Asterisk-Users] AGI Pascal

2004-06-01 Thread Umar Sear
Hi Andy, Once again thanks. This should make things a lot easier for me. I am greatful. btw what is the command line to execute the freepascal ide, also do you have any other recomendations. Thanks Umar. --- Andy Powell [EMAIL PROTECTED] wrote: On 28/05/2004 at 19:58 usedcanon wrote:

RE: [Asterisk-Users] AGI Pascal

2004-06-01 Thread Andy Powell
On 01/06/2004 at 11:00 Umar Sear wrote: Hi Andy, Once again thanks. This should make things a lot easier for me. I am greatful. btw what is the command line to execute the freepascal ide, also do you have any other recomendations. Thanks Umar. No problem, I hope it comes in handy :D I

Re: [Asterisk-Users] AGI Pascal

2004-05-28 Thread Peter Corlett
usedcanon [EMAIL PROTECTED] wrote: Thanks, suddenly makes sense now. I guessed that is the case however was not sure. Any opinion on what is more/most efficient, using a scripting language like perl or a compile app in C/pascal. Define efficient. A C program would normally be expected to be

Re: [Asterisk-Users] AGI Pascal

2004-05-28 Thread Umar Sear
hi Peter, Your feedback is greatly appreciated. Having not done any AGI before I was not sure what to expect. My requirements are very basic at the moment, and time as you say is money. my best option is to find something simmillar and customise it to my needs. Umar. --- Peter Corlett [EMAIL

Re: [Asterisk-Users] AGI Pascal

2004-05-28 Thread Andy Powell
On 27/05/2004 at 22:32 usedcanon wrote: Hi, Has anyone done any AGI scripting in pascal. I would appreciate help anyone can offer. My understandin on AGI scripting is very flaky, I am assuming whatever language is used the application needs to be compile and made executable. So if I write a

RE: [Asterisk-Users] AGI Pascal

2004-05-28 Thread usedcanon
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andy Powell Sent: 28 May 2004 19:32 To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] AGI Pascal On 27/05/2004 at 22:32 usedcanon wrote: Hi, Has anyone done any AGI scripting in pascal. I would appreciate help anyone can offer

[Asterisk-Users] AGI Pascal

2004-05-27 Thread usedcanon
Hi, Has anyone done any AGI scripting in pascal. I would appreciate help anyone can offer. My understandin on AGI scripting is very flaky, I am assuming whatever language is used the application needs to be compile and made executable. So if I write a script in pascal, I would compile it with

RE: [Asterisk-Users] AGI Pascal

2004-05-27 Thread usedcanon
an absolute time out (sort of a prepaid application, but basic with no prompts) Thanks Umar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brancaleoni Matteo Sent: 27 May 2004 23:18 To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] AGI Pascal Hi Il gio

[Asterisk-Users] AGI/php script not working

2004-05-20 Thread Jer
Dear all I am just getting started with AGI so I wrote the following script as a simple test but all that happens is silence before it times out and hangs up can someone help to get me started? yet if i use the agi-test.agi script everything works I don't see the difference Thanks php -q ?php

Re: [Asterisk-Users] AGI/php script not working

2004-05-20 Thread Iain Stevenson
'SAY NUMBER 123 #* isn't a valid * command - it should be saynumber followed by a valid string of arguments. Do a show application saynumber in *. Iain --On Thursday, May 20, 2004 7:14 am -0400 Jer [EMAIL PROTECTED] wrote: Dear all I am just getting started with AGI so I wrote the following

Re: [Asterisk-Users] AGI/php script not working

2004-05-20 Thread Apollon Koutlides
Iain Stevenson wrote: 'SAY NUMBER 123 #* isn't a valid * command - it should be saynumber followed by a valid string of arguments. Do a show application saynumber in *. In the meantime, you might as well try a show agi yourself :-) Apollon Koutlides

Re: [Asterisk-Users] AGI/php script not working

2004-05-20 Thread Iain Stevenson
OK, but I have AGI working and you don't - so please allow me the error since it's a while since I worked on this, Of course, it would help if * used consistent syntax for identical commands in extensions.conf and AGI, but that's another debate. Why not check the logs for php and * and post

Re: [Asterisk-Users] AGI/php script not working

2004-05-20 Thread Philipp von Klitzing
Hi! I am just getting started with AGI so I wrote the following script as a simple test but all that happens is silence before it times out and hangs up can someone help to get me started? Look here: http://www.voip-info.org/wiki-Asterisk+AGI+php php -q ?php fputs(STDOUT 'SAY

Re: [Asterisk-Users] AGI/php script not working

2004-05-20 Thread Jer
At 08:47 AM 5/20/2004, you wrote: -vvvc mode I see *CLI -- Executing Wait(Phone/phone0, 1) in new stack -- Executing Answer(Phone/phone0, ) in new stack -- Executing AGI(Phone/phone0, test.php) in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/test.php -- AGI Script

[Asterisk-Users] AGI Assitance

2004-05-09 Thread AstGrp
I am trying to figure this out... I'm sure it's simple, but I can't think of it right now In my AGI Script I am doing this... (This is done in Perl) $AGI-exec('Record', /usr/local/apache/htdocs/demo/sound/$EmpNum%d:wav); And after this is done.. I want to get the name of the file it created

RE: [Asterisk-Users] AGI Assistance

2004-05-09 Thread Todd Lieberman
: [Asterisk-Users] AGI Assitance I am trying to figure this out... I'm sure it's simple, but I can't think of it right now In my AGI Script I am doing this... (This is done in Perl) $AGI-exec('Record', /usr/local/apache/htdocs/demo/sound/$EmpNum%d:wav); And after this is done.. I want to get

RE: [Asterisk-Users] AGI Assistance

2004-05-09 Thread AstGrp
, 2004 4:00 PM Posted To: Asterisk User Group Conversation: [Asterisk-Users] AGI Assistance Subject: RE: [Asterisk-Users] AGI Assistance Declare the file path before you record it. $path = /usr/local/apache/htdocs/demo/sound/myapp.$date.wav; $AGI-exec('Record',$path:wav); -Original Message

RE: [Asterisk-Users] AGI Assistance

2004-05-09 Thread AstGrp
Never Mind... Figured it out... Thanks... -gcc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Todd Lieberman Posted At: Sunday, May 09, 2004 4:00 PM Posted To: Asterisk User Group Conversation: [Asterisk-Users] AGI Assistance Subject: RE: [Asterisk

RE: [Asterisk-Users] AGI Assistance

2004-05-09 Thread Dean Collins
Can you post your error to the list so we know what was wrong? Cheers, Dean -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of AstGrp Sent: Monday, 10 May 2004 7:34 AM To: [EMAIL PROTECTED] Subject: RE: [Asterisk-Users] AGI Assistance Never Mind

RE: [Asterisk-Users] AGI Assistance

2004-05-09 Thread AstGrp
... But besides that This is what did it for me Thanks, -gcc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean Collins Posted At: Sunday, May 09, 2004 6:40 PM Posted To: Asterisk User Group Conversation: [Asterisk-Users] AGI Assistance Subject: RE: [Asterisk

[Asterisk-Users] AGI question

2004-05-03 Thread Osvaldo Mundim
Hello, I'm using an AGI program written in C to manage incoming calls to some extensions. Its being used for a small call center (20 people). When the call comes in, the caller can listen the directory menu and then dial the extension. The AGI program is called and get one of the available

Re: [Asterisk-Users] AGI question

2004-05-03 Thread Areski
Hello, Can we see your dialplan related to that ? On Mon, 2004-05-03 at 13:40, Osvaldo Mundim wrote: Hello, I'm using an AGI program written in C to manage incoming calls to some extensions. Its being used for a small call center (20 people). When the call comes in, the caller can

[Asterisk-Users] AGI question

2004-05-02 Thread Osvaldo Mundim
Hello, I'm using an AGI program written in C to manage incoming calls to some extensions. Its being used for a small call center (20 people). When the call comes in, the caller can listen the directory menu and then dial the extension. The AGI program is called and get one of the available

[Asterisk-Users] AGI Module

2004-04-18 Thread Robert Jackson
Hey all, I'm sorry to bother you with something so trivial, but I seem to be having an issue with the Asterisk::AGI module. I am a relative newbie with Perl so it could be a stupid syntax mistake that I missed. It seems when I try to execute either the stream_file or the get_data subs

[Asterisk-Users] AGI - GET DATA not working on current stable cvs (anyone else?)

2004-04-09 Thread Jeb Campbell
Has anyone else had trouble with the AGI command GET DATA on the latest stable cvs? I can't get it to work with asterisk-perl, or by using print statements and reading stdin. I get 200 result= (timeout). (this is from the print statements, and asterisk-perl reports nothing). But asterisk is

Re: [Asterisk-Users] AGI - GET DATA not working on current stable cvs (anyone else?)

2004-04-09 Thread Steven Critchfield
On Fri, 2004-04-09 at 00:59, Jeb Campbell wrote: Has anyone else had trouble with the AGI command GET DATA on the latest stable cvs? I can't get it to work with asterisk-perl, or by using print statements and reading stdin. I get 200 result= (timeout). (this is from the print statements,

Re: [Asterisk-Users] Agi and bridging problem when codecs differ

2004-04-08 Thread Steven Critchfield
On Tue, 2004-04-06 at 03:23, Ron McMillin wrote: Hi all, I have encountered this problem: if the caller is connected to the callee using Dial() command called from extensions in extensions.conf, there is no problem. But if the same caller and callee are connected using an

[Asterisk-Users] Agi and bridging problem when codecs differ

2004-04-06 Thread Ron McMillin
Hi all, I have encountered this problem: if the caller isconnected to the callee using Dial() commandcalled from extensions in extensions.conf, there is no problem. But if the same caller and callee are connected using an AGI-exec('Dial'...), the line is disconnected when asnwer. There's a

[Asterisk-Users] AGI crashes asterisk

2004-03-27 Thread Vikram Rangnekar
I configured agi-test.agi on extension 111 when i dial into asterisk extension 111 using a IAX softphone and hangup while the AGI is playing asterisk crashes. Does anyone have any idea why this happens. -- regards Vikram (http://www.vicramresearch.com)

[Asterisk-Users] agi and stream_file

2004-03-27 Thread Robert Boardman
Hi, I trying to get agi with perl to stream a gsm file , and wait for a digit , the agi gets to the stream but doesn't play back, could some one explain how this works here is a snip it of code open(DAT,/etc/asterisk/1571.log) || die(Cannot Open File); while( $sth-fetch() ) { print DAT in

[Asterisk-Users] AGI startup on channel when asterisk starts

2004-03-21 Thread Jerry Geis
All, I am looking for a way to have my AGI startup on a channel automatically when asterisk starts. Is this possible? I have my AGI working for when a call comes in - however I would like the AGI started up automatically with asterisk on a couple channels as I want to monitor my database and when

Re: [Asterisk-Users] AGI startup on channel when asterisk starts

2004-03-21 Thread Steven Critchfield
On Sun, 2004-03-21 at 16:05, Jerry Geis wrote: All, I am looking for a way to have my AGI startup on a channel automatically when asterisk starts. Is this possible? I have my AGI working for when a call comes in - however I would like the AGI started up automatically with asterisk on a

RE: [Asterisk-Users] AGI test script

2004-03-17 Thread Wes Marderness
Did you make the file executable. chmod 777 *, what was the message given from konsole? Wes -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Vikram Rangnekar Sent: Tuesday, March 16, 2004 2:35 PM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] AGI test

Re: [Asterisk-Users] AGI script will not be terminated

2004-03-16 Thread willy
To amplify the question: Here's a non-AGI scenario: Call from outside. Dial VoiceMail extension in order to allow the user to check his/her mailbox. User decides this is wrong time, and hangs up. Asterisk keeps looping 4-ever (as witnessed by lookign at console messages) prompting th e(now

Re: [Asterisk-Users] AGI script will not be terminated

2004-03-16 Thread Areski
Hi Thomas, Do you answer correctly in your dial plan ? I met the same problem but unfortunately I don t remember what I was doing wrong :/ exten = 1112,1,Answer exten = 1112,2,Wait(1) exten = 1112,3,agi,myscript On Tue, 2004-03-16 at 15:58, Thomas Haeger wrote: Hi all, if i answer a call

AW: [Asterisk-Users] AGI script will not be terminated

2004-03-16 Thread Thomas Haeger
An: Asterisk-Users Mailing-list Betreff: Re: [Asterisk-Users] AGI script will not be terminated Hi Thomas, Do you answer correctly in your dial plan ? I met the same problem but unfortunately I don t remember what I was doing wrong :/ exten = 1112,1,Answer exten = 1112,2,Wait(1) exten = 1112,3,agi

Re: [Asterisk-Users] AGI script will not be terminated

2004-03-16 Thread Tilghman Lesher
On Tuesday 16 March 2004 08:58, Thomas Haeger wrote: if i answer a call on my astbox and go into an AGI script... then there is somthing happens.(play music or something like that)...and the person who called to the box hangs up the script will never be terminated. The process hangs around

[Asterisk-Users] AGI test script

2004-03-16 Thread Vikram Rangnekar
exten = 666,1,Answer exten = 666,2,AGI(agi-text.agi) exten = 666,103,Hangup iwhy is that not working any idea. Does answer need to be there or does the AGI script answer the call. -- regards Vikram (http://www.vicramresearch.com) ___ Asterisk-Users

RE: [Asterisk-Users] AGI test script

2004-03-16 Thread AstGrp
Whats the script doing.. Is the script failing...? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vikram Rangnekar Posted At: Tuesday, March 16, 2004 2:35 PM Posted To: Asterisk User Group Conversation: [Asterisk-Users] AGI test script Subject: [Asterisk

Re: [Asterisk-Users] AGI/php help needed with variables

2004-03-01 Thread Warren H. Prince
Well, I finally found my own answer, so I'm posting to share. In php, $argv is an array of the command line variables passed to the routine. So, if in extension.conf you do a : exten = AGI(myphpcode.php,${EXTEN}) $argv[1] will have the value of EXTEN. Note that it's $argv[1] and not

[Asterisk-Users] AGI/php help needed with variables

2004-02-29 Thread Warren H. Prince
I want to pull the current extension into a php script, but can't seem to figure out the syntax. I've tried: $agi-agi_exec(GET VARIABLE EXTEN $EXTEN); $EXTEN = $agi-response_var($EXTEN); $EXTEN = $agi-request(agi_extension); $EXTEN = $agi-get_variable('EXTEN'); and some other variations, but

RE: [Asterisk-Users] agi scripting in perl - dealiing withunexpected disconnects gracefully / spurious DTMF

2004-02-19 Thread Tim Petlock
* with it. THANKS!!! -Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Critchfield Sent: Wednesday, February 18, 2004 8:00 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] agi scripting in perl - dealiing withunexpected disconnects gracefully / spurious

RE: [Asterisk-Users] agi scripting in perl - dealiing withunexpected disconnects gracefully / spurious DTMF

2004-02-19 Thread James Golovich
Also since you are using Asterisk::AGI you can register a callback that gets called when most of the AGI commands return error/hangup. James On Thu, 19 Feb 2004, Tim Petlock wrote: Thanks - that gave me the basis for a couple of google searches. Near the top of the script I put in $SIG{HUP}

RE: [Asterisk-Users] agi scripting in perl - dealiing withunexpected disconnects gracefully / spurious DTMF

2004-02-19 Thread Nicolas Gudino
On Thu, 2004-02-19 at 19:00, Tim Petlock wrote: I need to do something like this because I've timed calls with a stopwatch and can't figure out why the records going into the CDR table are 20 seconds longer (or more) than the actual call time. I understand that the actual call time includes

[Asterisk-Users] agi scripting in perl - dealiing with unexpected disconnects gracefully / spurious DTMF

2004-02-18 Thread Tim Petlock
Ok - before posting I (think I) read every post on the list that had the phrase calling card in it. This is probably more of a perl-related question. I've slightly modified Brian West's calling card script and I'm stumped for how to deal with users hanging up on it - it doesn't recover

Re: [Asterisk-Users] agi scripting in perl - dealiing with unexpected disconnects gracefully / spurious DTMF

2004-02-18 Thread Steven Critchfield
On Wed, 2004-02-18 at 11:11, Tim Petlock wrote: If everything is entered correctly and perfectly the script works and the call goes through. However, I've found that if I enter only a partial calling card number and then hang up the script will continue to run with the perl process that it

Re: [Asterisk-Users] AGI and PHP

2004-01-09 Thread WipeOut
John Skinger wrote: I'm looking at using php and mysql to store some useful information that i would normally use dbput and get to retrieve but since the db's need to be accessed from 2 machines I think agi is the way to go. so what I am looking for is some examples of some php agi scripts. I've

[Asterisk-Users] AGI and PHP

2004-01-08 Thread John Skinger
I'm looking at using php and mysql to store some useful information that i would normally use dbput and get to retrieve but since the db's need to be accessed from 2 machines I think agi is the way to go. so what I am looking for is some examples of some php agi scripts. I've seen the sample, but

RE: [Asterisk-Users] AGI and PHP

2004-01-08 Thread Luciano Ramos
:[EMAIL PROTECTED] nombre de John Skinger Enviado el: Jueves 8 de Enero del 2004 18:25 Para: [EMAIL PROTECTED] Asunto: [Asterisk-Users] AGI and PHP I'm looking at using php and mysql to store some useful information that i would normally use dbput and get to retrieve but since the db's need

[Asterisk-Users] AGI Scripting

2004-01-06 Thread Luciano Ramos
Hi!. Is there any way to know which extension answered a call , when dialing from an AGI Script?? Thanks! Luciano

Re: [Asterisk-Users] AGI Scripting

2004-01-06 Thread WipeOut
Luciano Ramos wrote: Hi!. Is there any way to know which extension answered a call , when dialing from an AGI Script?? Thanks! Luciano I don't think so, the AGI script will hand off the call at the point it dials it and will no longer participate in the session so from that point on

RE: [Asterisk-Users] AGI Scripting

2004-01-06 Thread Michael Devenijn
Use the callmanager their u can use the link event Michael Van: Luciano Ramos [mailto:[EMAIL PROTECTED] Verzonden: di 6/01/2004 13:56 Aan: [EMAIL PROTECTED] Onderwerp: [Asterisk-Users] AGI Scripting Hi

RE: [Asterisk-Users] AGI Scripting

2004-01-06 Thread Luciano Ramos
Which Call Manager??? Luciano -Mensaje original-De: Michael Devenijn [mailto:[EMAIL PROTECTED]En nombre de Michael DevenijnEnviado el: Martes 6 de Enero del 2004 10:10Para: [EMAIL PROTECTED]Asunto: RE: [Asterisk-Users] AGI Scripting Use the callmanager their u

RE: [Asterisk-Users] AGI Scripting

2004-01-06 Thread Michael Devenijn
: [Asterisk-Users] AGI Scripting Which Call Manager??? Luciano -Mensaje original- De: Michael Devenijn [mailto:[EMAIL PROTECTED] nombre de Michael Devenijn Enviado el: Martes 6 de Enero del 2004 10:10 Para: [EMAIL PROTECTED] Asunto: RE

Re: [Asterisk-Users] AGI - IVR - Time Clock

2004-01-05 Thread Jason A. Pattie
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 PBX wrote: | I wanted to post the beginings of my latest IVR Project for an automated | Time Clock software. Not to alarm you too much, but MCI WorldCom has a patent on this kind of thing and is suing people that develop/implement/use these kinds of

Re: [Asterisk-Users] AGI - IVR - Time Clock

2004-01-05 Thread Michiel Betel
Jason A. Pattie wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 PBX wrote: | I wanted to post the beginings of my latest IVR Project for an automated | Time Clock software. Not to alarm you too much, but MCI WorldCom has a patent on this kind of thing and is suing people that

[Asterisk-Users] AGI and broken pipe

2003-12-18 Thread Paulo Mannheimer
Hi All, I was able to track down what I believe is a bug when using AGI services. This bug may crash your system if your extensions.conf script is intensive in using AGI services. Depending on your system's ulimit, * keeps opening files until it reaches the system limit and then stops responding.

Re: [Asterisk-Users] AGI and broken pipe

2003-12-18 Thread Angel Carpintero
On Thu, 18 Dec 2003 11:48:59 -0300 Paulo Mannheimer [EMAIL PROTECTED] wrote: Hi All, I was able to track down what I believe is a bug when using AGI services. This bug may crash your system if your extensions.conf script is intensive in using AGI services. Depending on your system's ulimit,

RE: [Asterisk-Users] AGI and broken pipe

2003-12-18 Thread Paulo Mannheimer
: [Asterisk-Users] AGI and broken pipe On Thu, 18 Dec 2003 11:48:59 -0300 Paulo Mannheimer [EMAIL PROTECTED] wrote: Hi All, I was able to track down what I believe is a bug when using AGI services. This bug may crash your system if your extensions.conf script is intensive in using AGI services

[Asterisk-Users] AGI - Freakin Lost

2003-11-27 Thread PBX
Ok, I have spent that past 4 - 5hrs working (trying to) figure some AGI syntax out in perl. Maybe I'm Looney / slow or what I don't know, but I am lost. I need to figure out how to send STDIN into the script. I understand the concept of it, but lost when it comes down to it. No matter what I

Re: [Asterisk-Users] AGI - Freakin Lost

2003-11-27 Thread wasim
On Thu, 27 Nov 2003, PBX wrote: I have spent that past 4 - 5hrs working (trying to) figure some AGI syntax out in perl. Maybe I'm Looney / slow or what I don't know, but I am lost. I need to figure out how to send STDIN into the script. I understand the concept of it, but lost when it

Re: [Asterisk-Users] AGI - Freakin Lost

2003-11-27 Thread Jeremy McNamara
http://asterisk.gnuinter.net Jeremy McNamara PBX wrote: Ok, I have spent that past 4 - 5hrs working (trying to) figure some AGI syntax out in perl. Maybe I'm Looney / slow or what I don't know, but I am lost. I need to figure out how to send STDIN into the script. I understand the concept

RE: [Asterisk-Users] AGI - Freakin Lost

2003-11-27 Thread PBX
:06 AM Posted To: Asterisk User Group Conversation: [Asterisk-Users] AGI - Freakin Lost Subject: Re: [Asterisk-Users] AGI - Freakin Lost http://asterisk.gnuinter.net Jeremy McNamara PBX wrote: Ok, I have spent that past 4 - 5hrs working (trying to) figure some AGI syntax out in perl. Maybe

RE: [Asterisk-Users] AGI (IF/ELSE)

2003-11-27 Thread PBX
:19 PM Posted To: Asterisk User Group Conversation: AGI (IF/ELSE) Subject: [Asterisk-Users] AGI (IF/ELSE) I need some help with some statements. #!/usr/bin/perl use Asterisk::AGI; $AGI = new Asterisk::AGI; my %input = $AGI-ReadParse(); my $callerid = $input{'callerid'}; if ($optemp != 1

[Asterisk-Users] AGI - CallerID ??

2003-11-26 Thread PBX
I have a client who needs an application for there field techs to call in when they arrive on site and when they leave. The logic behind it seems pretty simple. I am going to write something in AGI to capture some DTMF tones and update this data into MySQL to run some reports from. But here's

<    5   6   7   8   9   10   11   12   >