Displaying 20 results from an estimated 1000 matches similar to: "channel variables in AGI"
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 May 04
3
AGI PHP
I'm just trying to make a real simple Survey via php. Just want it to
play the Question Files, wait for a response, save the response into the
correct variable and then email it all.
I have no issue playing the audio or emailing. But I can't get it to
wait for digits or to properly capture those digits into the variables.
I know the code is technically right since the emails have this
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
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 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
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.
2010 Aug 11
6
asterisk on Vmware
Hello,
Is it possible to install Asterisk on Vmware(centos) from source. Is there
any difference or disadvantage for this compared to asterisk running on
physical machine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100811/05a14968/attachment.htm
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
=============
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]
2010 Nov 12
6
help with bridging
Hello,
There is a xen setup in which "brctl show" gives the following output.
bridge name bridge id STP enabled interfaces
eth1 8000.003048c9d4df no peth1
vif1.0
vif2.0
2005 Jun 03
1
ARESKICC DOESN'T make a CALL!!!
Hi Folks,
After going to the paifull steps of installing AreskiCC and finally being able
to access the webinterface, connecting to *, importing rates and setting up
accounts I am not being able to make a CALL: No matter what number i try to
dial I get the same response: The number you have dialed is currently
unavailabel. Please enter thenumber you want to dial starting with 1 for
local and
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
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
2010 Aug 19
4
setting variable for a DID number
Hello,
Is it possible to set a variable in dialpan when the someone calls a
particular DID number so that i can use that variable for calls coming to
that number only.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100819/25402ade/attachment.htm
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 =
2010 Aug 02
5
Asterisk and TV media server
Hello,
I would like to know whether there is a way to associate a TV media server
with Asterisk. Is it possible to access TV Chanels in the Telephone Sets.
Anybody have any tips or documents related to this please let me know.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Sep 09
1
UNIQUEID not the same in Dialplan as passed to AGI
Hi,
I've noticed that the UNIQUEID for a call is not the same in the
Dialplan (when executed e.g. exten => s,n,NoOp(${UNIQUEID}) as it is
when passed via STDIN to an AGI script.
Is this normal, and is this supposed to behave this way?
The UNIQUEID received in the AGI is usually .001 higher than the one
in the dial plan -- but sometimes it is also a second behind.
Here's an example
2006 Feb 09
3
Corrupt CDR records in Asterisk 1.2.x
I have a problem with CDR recording in Asterisk 1.2.x. This is the
situation:
An Asterisk 1.2.0 (BRIstuffed-0.3.0-PRE-1 with florz) machine with a single
HFC-S ISDN BRI card. I log the call records to both the Master.csv and
MySQL.
The problem is that when an incoming call from the ISDN line is logged to
the CDR, the "src" and the "clid" field show up as something like