Displaying 20 results from an estimated 30000 matches similar to: "AGI programming work required"
2009 Apr 16
1
AGI Programming
Hi all,
This isn't meant to be spam I thought some of you might find it interesting.
Packt Publishing approached me a few weeks ago and asked if I would like
to review a book or two for them on my blog.
The first one they sent me is called Asterisk Gateway Interface
Programming and has only just been released. It was written by Nir
Simionovich.
You can read my review here:
2005 Sep 11
1
Syslog file size
Not possible to do natively
Write a script yourself to monior it's size and invoke logrotate to
rotate it when that size is reached. And cron your script however often
you want (ie 10 times a day?)
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of YT Lim
Sent: Monday, 12 September 2005 1:01 PM
To:
2003 Oct 10
4
Caller Id AGI Script
As you my be aware the X100p cannot collect uk caller id,
now I have a modem and a perl script that creates a
file /etc/asterisk/callerid.txt on each incoming call in the format
number,date,time,name
over writing each time a new call comes in
I can asterisk read this file and populate the callerid for internal phones and
cdr?
I think it can be done with AGI but don't know where to start
2006 Feb 14
5
Multiple AGI Issues
I've got several issues with AGI/FastAGI
1. When an AGI script sends a command to Asterisk via stdin, why does Asterisk block and not return a result until the command is complete? Specifically, the dial command. If I send a Dial command to Asterisk, I don't get a return result until AFTER the call is HUNG UP. Not when it's ringing, not when the call is connected, but when it's
2004 Feb 03
2
Detecting answer supervison from an AGI app
I've got a dumb Western Electric payphone and some homebuilt hardware to control the coin relay which is accessible to Asterisk through the AGI interface. I'd like to be able to set the state of the coin relay to collect at the end of a call if a called party answers.
[Hey, I admit this project is being persued just for the fun of it ]
Looking through the documentation, there is a way to
2006 Apr 12
33
DUNDi with SIP
Anyone out there have a functional DUNDi configuration using SIP for the
inter-Asterisk transport? I've gotten it to work with IAX2, but if I
change it to SIP it does not pass the call over even though it knows
where to send it. Thanks.
The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally
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
2007 Apr 25
3
call dispatching - legacy application
Hy all
need to preprocess
1) incoming call get caller id lookup some info in my db,
2) based on the result dispatch the call to the right operator
step 1 is ok I developped a small .php script that connect manager and
parse events, now I have to tell AAH do dispatch call to the right
operator
questions
1) is this the right practice ?
2) where to find a complete manager api reference, (to buy
2008 Aug 21
3
After Dial execution, using DIALEDTIME, ANSWEREDTIME
Hi,
I noticed that when dial terminates it does not return to the dialplan,
and therefore can not execute any entry after Dial().
Is there any trick to overcome this limitation ?
How I am supposed to handle the returned vales DIALEDTIME, ANSWEREDTIME if
I can not execute anything after Dial()?
I made a workaround with DeadAGI (below) but it is unreliable: if 2 calls
end
2007 Jul 30
1
AGI and exec Playback
Hello,
I'm looking for a way to play sound file, and control the playback
trough web interface. Is it possible to use AGI to play a sound file
and then by receiving some event stop playing it, and play another
file. The catch is that i want to seek to 1st minute, 5th minute, etc
- so regular ControlPlayback with intervals wouldn't fit - i have to
use sox to create different file and then
2004 Aug 19
1
AGI Script: calleridnamelookup.agi
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
-- Executing AGI("SIP/9525485560-5359", "calleridnamelookup.agi") in
new stack
2016 Oct 10
2
AGI: How to break out of AGI when stream_file escape_digits are detected in middle of long sequence of files?
For reasons best known to myself, I call a python agi (PYST2 - love
it!) which streams a series of very short files in quick succession.
Like this:
escape_digits = str("0")
agi.stream_file(promptFile,escape_digits)
and this is what I see on the AGI debug:
<Local/s at root-00000061;2>AGI Tx >> 200 result=0 endpos=6784
<Local/s at root-00000061;2>AGI Rx <<
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
2005 Jun 28
1
pbx_extension_helper: No application 'agi'
Hi all,
Sorry for this elementary question (I'm a newbie).
I'm trying to write an agi script (test.agi) and run it when I call
in. However, I'm getting an error that says application agi isn't
being found. I've put test.agi into agi-bin with permissions 755.
Do I have to compile agi support into Asterisk, or is it built in? My
test.agi script is php, but not using anything
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
2005 Feb 14
2
Can't run AGI for outbound call
Hi
Just installed Asterisk on a Debian Woody/testing.
I want to create a AGI script that is run after an outbound call is answered. I did this a while back (many versions ago).
The problem is Asterisk does not seem to know the AGI application. I create a file test.call and place it in the outbound spool directory:
the test.call file looks like this:
#Simple test call script.
#call my
2007 Nov 20
1
How to receive manager events from commands made by an AGI script?
Hi all,
I'm new on this list, my name is Noel. :D
I developed a system using AGI and now I'm trying to develop a system
that listen events fired by Manager API. I have realized that I don't
receive events from commands made by an AGI script like "play a file"
or "record a file".
Is there a way to receive such events?
Sorry about the poor English.
Thanks in
2011 May 06
3
question on ways to activate voicemail light on polycom
Is there a way in asterisk to Activate/Clear the blinking light on
polycom phones
indicating VM. Either from an AGI or some way in the dialplan?
I want to be able to control this light for from my application.
I have an AGI to do something similiar to VM and want to light /clear
the light myself.
Thanks,
Jerry
2004 Aug 16
2
1.0 RC2 External AGI Issues
Hi All,
I'm trying to execute an external AGI script but get just the following:
-- Executing AGI("SIP/xlite-2fa7", "agi-test") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-test
-- AGI Script agi-test completed, returning 0
For whatever reason, it looks like the AGI script is just exiting without
feeding the correct commands into
2009 Jul 02
1
AGI Transfer?
I've been trying to get an AGI "transfer" to work for several weeks now. It
isn't error-ing out, but it isn't working either.
I can't use "dial" in this case due to what I'm trying to accomplish.
Does an AGI Transfer actually work?
-= Info about application 'Transfer' =-
[Synopsis]
Transfer caller to remote extension
[Description]