search for: agi

Displaying 20 results from an estimated 2604 matches for "agi".

Did you mean: abi
2006 May 15
1
GET DATA and STREAM FILE commands, don´t work
...100 extension through an cisco phone 7912 with SIP, also I dialed through ATA SIP (Linksys PAP-2). I?m using Asterisk 1.2.7.1 and ztdummy driver, linux kernel 2.6.11.4. I also have been done exhausting testing another Asterisk functionalities and all had worked very well, perfectly well. But, some AGI commands not. I would like get help upon it. Somebody already faced this before? Following, my dialplan that call agi script: exten=>2100,1,Answer() exten=>2100,2,Agi(scriptTest.bsh) Now, below is my script in bash shell, scriptTest.bsh: #!/bin/bash #echo -e "Testing the working GE...
2012 Jan 12
1
how to set callerid in php AGI file.
Hi, I am using phpagi for agi scripting. and want to update callerid number but didn't get any success. please help me how to update PHPAGI is new for me. Below is the code which I write. #!/usr/bin/php -q <?php set_time_limit(30); //require(.phpagi.php.); include("phpagi.php"); $agi = new AGI(); //an...
2008 Mar 24
2
Getting Exec Format Error when running AGI call
Dear friends, I am having problem with running a sample php and I can't figure out why. I can run the sample.php using CLI but when I run it inside the dialplan it does not work. Can someone please suggest the config problem that I may have made? dommy:/var/lib/asterisk/agi-bin# php sample.php #!/usr/bin/php5 -q VERBOSE "Here we go!" 2 VERBOSE "Call from - Calling phone" SAY DIGITS 22 X SAY NUMBER 2233 X ================== Asterisk CLI ====================== *CLI> agi debug AGI Debugging Enabled *CLI> -- Executing [444 at my-phones...
2009 Jan 28
5
Inbound Call Disconnect in 3 seconds
...nbound calls lands , but line get disconnect in exactly 3 secs. Here goes my extension.conf setting : [from-ipkall] exten => 901835,1,Ringing ; call ringing exten => 901835,2,Wait(1) ; Wait 1 second for CID delivery from PRI exten => 901835,3,Answer ; Answer the line exten => 901835,4,AGI(agi-VDAD_ALL_inbound.agi,CIDLOOKUPRC-----LB-----SALESLINE-----901835-----Closer-----park----------999-----1-----TESTCAMP) exten => 901835,5,Hangup What could be wrong ? Can it be Provider Issue ? CLI Output :-------------------------- > Channel SIP/cc101-0887f498 was answered. -- Executin...
2005 Jun 20
3
AGI/PHP errors
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 2593 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050620/a0fda201/attachment.jpeg
2005 Oct 06
1
Fwd: ASTCC - INUSE Flag
...quot;inuse" flag. The link of the patch is: http://bugs.digium.com/view.php?id=5400 Best regards to all you in the list. Ricardo Poppi. ======================================================================== Hi Darren. I?m experiencing the same problem that Michael has. If I hang after AGI script started the execution of the Dial command the inuse field is updated correctly. But, if I hang anytime between the start of tell_time and the moment it executes the Dial command, the field is not updated and the 1 stays there "forever", making this card unusable. I?m using ast...
2005 Sep 28
3
ASTCC - INUSE Flag
I download and installed ASTCC over the weekend and I am having an issue where the INUSE flag will not get set back to 0 if the user drops a call while the balance is being played. All other times it seems to reset the flag correctly. I have tried both AGI and DeadAGI with the same results. Those of you using it for a while, how did you get around this? Just for fun this is all I am doing in my astcc-exten.conf [incoming] exten => s,1,Answer ;exten => s,2,DeadAGI(astcc.agi) exten => s,2,AGI(astcc.agi) exten => s,3,Hangup I did some G...
2011 Feb 24
1
missing argument on AGI
Hi All, I'm using the asterisk 1.4.39.2 with phpagi 2.20 I have setup a dial plan: [callback-outbound] exten => _00.,1,Macro(callout|${EXTEN}) [macro-callout] exten => s,1,AGI(getchannel.php|${ARG1}) exten => s,2,Dial(Local/${OUTBOUND}@from-internal/nj||tr) exten => s,3,Hangup() but for some reason i am not receiving the argument: Exe...
2003 Nov 26
3
AGI - CallerID ??
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 my initial problem. I have started to create a simple AGI script to capture the CallerID, but I keep on receiving unknown's for the callerid. I can get the callerid if I call from an interna...
2008 Feb 04
8
AGI: Not getting answers from get_data in a call-file call
I have the following situation: I drop a call-file into the Asterisk spool directory and I get called back. That all works. And I have this script: #!/usr/bin/perl -w use Asterisk::AGI; my $AGI = new Asterisk::AGI; my %input = $AGI->ReadParse(); $AGI->answer(); my $i; $i = $AGI->channel_status(); $AGI->say_digits($i); $i = $AGI->get_data("one-moment-please", 10000, 3); $AGI->say_digits($i); As you can see, nothing...
2011 Mar 11
1
Asterisk 1.8 AGI error ast_carefulwrite: write() returned error
Hey Guys, We upgrade asterisk from 1.2.x to 1.8.2.3 and my one of agi script doesn't working We have allpage.agi script for paging system on all polycom 501 but after upgrade it broke. Any idea what is this error ? extension.conf exten => 7770,1,agi(allpage.agi) exten => 7770,2,meetme(7770,dq) exten => 7770,3,playback(beep) exten => 7770,4,hangup...
2011 Feb 22
1
[1.4.39.1/AGI] ast_carefulwrite: write() returned error: Broken pipe
Hello Incoming calls from the FXO trigger an AGI script which simply NOOP data sent by Asterisk through stdin. The first two NOOP work fine, but after this, Asterisk isn't happy: ============= extensions.conf ... [from_fxo] exten => s,1,Wait(2) exten => s,n,Set(CID=${CALLERID(num)}) exten => s,n,AGI(/var/tmp/test.lua) exten => s...
2006 Mar 20
4
simple perl-agi - where's the error?
Hello! I'm trying to setup a perl-deadagi, but my perl skills lack. can someone tell me why the following code doesn't work: #!/usr/bin/perl use Asterisk::AGI; $AGI = new Asterisk::AGI; $dialstring = $AGI->get_variable("DIALSTRING"); $res = $AGI->exec("DIAL $dialstring"); the asterisk output says: AGI Rx...
2006 Dec 12
1
AGI problema
...<html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <font face="Verdana">Hi all. I've written a AGI in C language. It receive the asterisk variables to identify the caller. After, it dial to destination. When caller or the called hangup the phone, asterisk returns me '200 result=-1'. For this, asterisk never execute next step, priority 2. This is very important to me, because priority 2 d...
2008 Jan 27
1
[AGI 1.4] C sample?
Hello I'm pretty much a newbie when it comes to C, but I have to use this language to write a couple of AGI proggies because I need them to be statically compiled. Strangely enough, Google didn't return much when looking for the "Hello, world!" of AGI in C. The following doesn't work: The file never gets written: =========== //check_cid.c #include <stdio.h> #include <stdlib.h...
2007 Nov 14
4
Problem with AGI Script
I have asterisk 1.2.18 running on a new system we just installed. Although I've used AGIs many times in the past, I'm stumped on this one. It may just be a simple issue that I need another eyeset to look at. My AGI does the following: #!/usr/bin/perl #Load a few modules... use Asterisk::AGI; use DBI; $AGI = new Asterisk::AGI; #Grab input from Asterisk my %input = $AGI->Read...
2005 May 22
0
*@home 1.0 FWD inbound problems, 2 calls generated
...t;IAX2/iaxfwd@fwd/5", "0?novm|1:3") in new stack -- Goto (macro-exten-vm,s,3) -- Executing GotoIf("IAX2/iaxfwd@fwd/5", "0?novm|1") in new stack -- Executing Macro("IAX2/iaxfwd@fwd/5", "dial|15|tr|7020") in new stack -- Executing AGI("IAX2/iaxfwd@fwd/5", "dialparties.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi -- Accepting AUTHENTICATED call from 65.39.205.121, requested format = 4, actual format = 4 -- Executing Goto("IAX2/iaxfwd@fwd/6", "e...
2008 Jul 23
3
Trouble Playing message file via Perl AGI
Hi all, I'm trying to build an IVR using the Perl AGI module at http://search.cpan.org/~jamesgol/asterisk-perl-0.10/lib/Asterisk/AGI.pm But, I'm having trouble getting my program to play a message and wait for a keystroke. I am able to use this code to play the file, so I know that the $msg variable points to a valid sound file: $result = $a...
2011 Feb 24
2
[1.4] Still can't get it to call back
Hello No matter what I try, Asterisk still fails dialing back through a callfile built through an AGI script. The whole thing works fine when the original call that triggers Asterisk is from an internal extension (Xlite), but it fails when it's from my cellphone ringing through the FXO/Zaptel port and I want to wait a few seconds and call back through the FXO/Zaptel. Could it that even though...
2003 Apr 11
1
Weird AGI/X100P behavior
I've got a single phone line coming into an X100P. In extensions.conf I've got this: [inboundzap] exten => s,1,Answer exten => s,2,EAgi,hanguptest.agi I see the ring come in and Asterisk detects it and tries to do something with it: NOTICE[20492]: File chan_zap.c, Line 4017 (ss_thread): Got event 2 (Ring/Answered)... -- Executing Answer("Zap/1-1", "") in new stack -- Executing EAGI("Zap/1-1",...