Displaying 20 results from an estimated 700 matches similar to: "AGI variables"
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();
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 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.
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
=============
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
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 =
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]
2007 Aug 09
1
generating a GUID
I have a need to have a GUID (for example,
bcd47ccc-d7c9-ddb6-dc11-6746a770d77d [36 characters long including the
"-"]) generated in the dialplan. Is there any asterisk function that
would do this ? I would prefer not to have to shell out every time a
call comes in.
Julian
2009 Jun 04
2
broken pipe in perl agi
Hi gang,
Since I'm getting no joy from device_Status or SIPPEER in
1.4.26-rc1, I thought I would do an AGI to read my hints and check for line
in use that way. The AGI works fine from a prompt, but returns the dreaded
"utils.c:966 ast_carefulwrite: write() returned error: Broken pipe" when I
try to run it from the dialplan. Here is my dialplan snippet;
2005 Jun 11
1
AreskiCC Calling Problem
Hello There,
I *think* i've setuped the AreskiCC2 Calling Card system right , but
i've yet to make any calls out of it , i added a rate card , trunk
and defined some rates , generated some users , added 10 dollars in
them , okay , now i call any number , it asks me to enter my pin , i
do , it tells me i have ten $ , right after that it says sorry you
dont have enough funds for this call
2009 Feb 25
5
AGI problem using mono (.Net)
Hello.
I have a software developer creating a .Net / mono program to use as an
AGI script. We are having problems getting it to stream files. From what
we can tell, it is talking to asterisk correctly when called from the
dial plan. Its stderr output goes to the asterisk console. But asterisk
doesn't give any indication that it receives the STREAM FILE command.
Asterisk simply quickly
2005 Apr 09
3
CallerID name lookup AGI script
Hi all,
My VoIP provider (race.com) doesn't send name info with CallerID, so I wrote
an AGI script that does the following:
1) If it's a toll free number (800|888|877|866), set the CallerID name to
"TollFree Caller"
2) Use curl to look up the number in Google phonebook
3) If a business listing, set the CallerID name to business name, as is.
4) If it's a residential
2013 Apr 10
5
Setting a CDR field from using feature codes...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am trying to set the CDR(userfield) to a certain vaule using the
application map of features.conf but I am not able to do it. When I
receive a call I would like to tag it with a client code (3 digit
numeric) so I can referenci it later from the CDR. I have edited
features.conf with something like:
code => #111,self,SET(CDR(userfield(111))
or
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
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 Nov 01
6
Java Web Phone
Hello list partners
you know about a softphone made in java attachable in a web page?
GNU!
Thaks in advance!______________________________
Visita http://www.tutopia.com y comienza a navegar m?s r?pido en Internet. Tutopia es Internet para todos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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.
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
2005 Oct 17
2
DID's
I am Jerry Richmond CEO of ByVolution LLC. We have purched some did's from you that we use to test with, weare going to order our first batch of 250 this week. John Blackman is not with us any more. I need for some one to call me on my cell phone because our office no. 9198270713 to 9198270720 can not except outside calls. Brian Sponaugle tells me he is not getting the help he needs from