Displaying 20 results from an estimated 800 matches similar to: "AGI PHP"
2009 Apr 23
3
AGI PHP script
I have the below script that doesn't seem to be working. I don't know if
I have something in the script wrong that I am just missing. Or if I
don't have the php.ini set correctly for emailing
This is the CLI output
-- Executing [4099XXXXXX at port3_real:1] Goto("DAHDI/50-1", "newhire,s,1")
in
new stack
-- Goto (newhire,s,1)
-- Executing [s at
2009 Jan 16
0
No subject
is executable.
Then run 'agi debug' from the asterisk cli, place a call and see what was
send and receive from your agi
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of James A.
Shigley
Sent: April-23-09 12:26 PM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] AGI PHP script
I have the below
2009 Jan 16
0
No subject
AGI is executable.
=20
Then run 'agi debug' from the asterisk cli, place a call and see what
was send and receive from your agi
=20
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of James A.
Shigley
Sent: April-23-09 12:26 PM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] AGI PHP script
=20
I have the
2006 Jan 16
2
AGI variables
When I read variables in AGI scripts, I see only the follwing 13 variables
agi_request
agi_channel
agi_language
agi_type
agi_uniqueid
agi_callerid
agi_dnid
agi_rdnis
agi_context
agi_extension
agi_priority
agi_enhanced
agi_accountcode
beside these, I found following variables documented on several sites.
agi_calleridname
agi_callingpres
agi_callingani2
agi_callington
agi_callingtns
Where can I
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
2005 Oct 06
1
Fwd: ASTCC - INUSE Flag
Hi all. Just to update list and increase the "souls-save" database.
The patch solved the problem. Now I have an asterisk-1.2.0-beta1 with
asterisk-perl-0.08 and mysql-server-3.23.58-16.FC2.1 machine working
fine with ASTCC and "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.
2006 May 15
1
GET DATA and STREAM FILE commands, don´t work
Hi,
I have been written an small script for test the use these commands. I had done massive test with commands, but I didn?t get success
it. Any of the cases, I don?t listen nothing on channel that call 2100 extension. I dial 2100 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
2006 Dec 12
1
AGI problema
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<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.
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
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
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,n,Wait(5)
exten => s,n,Hangup
=============
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();
//answer the call
$agi-> answer();
2009 May 27
1
PHP AGI Problems
(Accidentally posted this to asterisk-dev, should be here)
fgets is only returning one character... either when run as an AGI or
run as a test on PHP on CLI...
Example, enter 3333, then fgets returns '3'.
Also, GET DATA seems to be returning early and the loop keeps
prompting 'invalid'...
Any suggestions on how to improve my AGI class so it actually works?
Thanks.
[code]
2008 Oct 17
0
GET DATA Returning only a single digit
--
jand. more than just a group
Asterisk AGI Command GET DATA is usually of this form
GET DATA timeout max_digits
When I execute this command, I get only a single digit, regardless of
what the value of max_digits is,
Also the script quits Immediately after the press of the digit
regardless of what the value of timeout is,
This is really un-desirable as I will like to GET multiple DTMF digits
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:
Executing [s at macro-callout:2]
2006 Jan 27
0
pb with callerid
Since I passed from version 1.0 to the 1.2.3. I have Pb with the
callerid. If somebody call with presentation of the number all is well.
If somebody make call in masked number, i couldn't send a callerid to
the phone.
It is in a call center and i use the callerid to present the name of the
number called to the operator.
Before that went. To identify the sda, I use the assignment of the
2003 Dec 18
11
Sphinx
Hi. I just started trying to play with Sphinx. I followed their site as far as running sphinx-server. It is listening on the default port. I copied sphinx2-simple to another file and changed sphinx2-continuous to sphinx2-server.
So, I ran eagi-sphinx-test under asterisk. What exactly is it supposted to do? Here's what I get:
debian:~# sphinx2-simple2
sphinx2-simple:
Demo CMU Sphinx2
2010 Aug 11
2
channel variables in AGI
Hello,
How to take the values of channel variables like 'agi_uniqueid' and
'agi_callerid' in agi script.
For example
#!/bin/bash -x
T="$agi_uniqueid"
I want to save value of 'agi_uniqueid' channel variable into a variable
called 'T' in my script
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Feb 26
3
Getting SIP field P-Asserted-Identity from EAGI
Hi, using EAGI variables like
agi_request
agi_channel
agi_language
agi_type
agi_uniqueid
agi_callerid
agi_dnid
agi_rdnis
agi_context
agi_extension
agi_priority
agi_enhanced
agi_accountcode
I get a lot of data about a call, but I need to obtain P-Asserted-Identity
value from a SIP call. Are tehe any eagi variable to get that? Or have you
any solution??
Thanks!!!
-------------- next part
2007 Sep 14
2
AGI script fails on IAX channels (from call file).
Hi Guys,
I have already tried this one on the developers list. I have not been
successful getting much back there and I have notified them that I will
post this on the users list instead. Hopefully somebody have tried
something similar and can help out.
I am developing AGI scripts on Asterisk and have run into some very
strange behaviour and I think this is a bug, but I am not completely
sure.