similar to: AGI-like calls in the [globals] section

Displaying 20 results from an estimated 80000 matches similar to: "AGI-like calls in the [globals] section"

2005 Mar 17
3
Channel name (and substring)
How do I get the bit like "IAX2/white_phone" in extensions.conf eg from pre-defined variables or variants thereof ? What I *do* get is strings like this "IAX2/white_phone@white_phone-4" from ${CHANNEL}, but that's the full channel name. What am I missing here ? Thanks, Thomas
2005 Feb 01
1
AGI global style variables
I have had some radom occurances of someone calling in, and for whatever reason the person is getting dumped into the section of the lcr.agi file that output the message of "it is necessary to dial x". I was curious, does any one know about a variable that might be available in the AGI that would tell me what channel they are coming in on. I looked in the wiki and found
2005 Oct 05
0
agi-test.agi question - wierd results
Hello I am starting to learn AGI. I have setup an extension to play the agi-test.agi perl script and the output I get is this on console: On Polycom 300: -- Executing Answer("SIP/200-72d2", "") in new stack -- Executing AGI("SIP/200-72d2", "agi-test.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-test.agi --
2003 Sep 08
0
Question about using AGI - over network (with Java)?
I'm originally a Perl programmer, but have moved to java in the last few years.... I've played around with the AGI stuff under perl, as it's very easy.... Since I prefer Java, I started experimenting a bit, but was concerned about the huge startup times for the JVM. I tried something a bit weird, and it worked fine, but I'm interested in feedback, (i.e. is this a stupid idea?)
2017 Feb 13
2
CALLS NOT HANGING UP THROUGH AGI
Hi Everyone, I am dealing with a problem for now and its really annoying. I want to hangup calls from AGI but it seems that my AGI is not rejecting the calls properly. { $agi->verbose("number-not-in-service"); $agi->exec("Congestion","1"); $agi->hangup(); exit; } with the above logic, all of
2009 Jul 23
0
detect keys before agi starts
I am running an AGI 1.4.26 A person answers the call, and presses a DIGIT really fast. Perhaps while the AGI is still starting up. Is there anyway to get that digit? When doing "wait for digit" if my AGI is up and running I seem to get the digit every time. Is there a way/method to get ANY digits pressed while during startup? Thanks, Jerry
2004 Sep 08
2
My AGI is not detecting hangups on outgoing calls
I have set up an application which records incoming calls (customer problems), and then places outgoing calls (handing the problems to support people). I have written some AGI programs (in C) to implement parts of the functionality. So far I am very pleased with the overall application. But I have one very annoying, very nasty problem: The C AGI is handling a dialog with a user on an outgoing
2020 Jun 13
1
Any api (agi/ari/ami) equivalent of "core show calls"?
I'm parsing ` sudo asterisk -rx "core show calls" | grep active | head -c 1 ` as an external call from within the Asterisk dialplan then passing it to agi, but this seems really hacky and ugly. However, I cannot find any ARI/AGI/AMI function (or global variable I can get with agi) which shows me this. Any ideas?!? In case it helps and you're wondering why... I need to ensure
2009 Jul 16
0
AGI to announce temperature from weather.com XMLfile
I have just the thing in PHP. Drop me a personal e-mail and I'll whiz it over. Andrew Thomas Technical Services Manager andy at datavox.co.uk DataVox Ltd Saddleworth Business Centre Huddersfield Road Delph, Oldham OL3 5DF -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Trevor Hammonds
2006 Oct 18
0
AGI for authenticating calls with DTMF
HI, I am trying to write an AGI that will authenticate users befoer the call is allowed to proceed. Befor you ask, i have tried using the authenticate() function but it does not work for me as this function messes up call accounting (authenticat() awayas awnseres the channel, thus causes CDR to bill for 'ring' time). the AGI will (1) playback a voice prompt over an unawnsered channel (2)
2005 Mar 11
1
Is it an AGI bug in 1.06? IAX Calls going to wrong extension with AGI.
I am using PBXware for configuring users and extensions. Pbxware uses Internal script called init.sh to process the calls based on its own version of extensions.conf defined in the GUI. I have IAX2 Extensions 56 and 101 and SIP extensions 50 and 51. I have used IAX2 extension 101 and dialed SIP Extension 51 But the PBXWare's Init.sh AGI command identifies the DNIS as another IAX
2006 Jan 27
3
paging agi
Hello Everyone, I've been playing with an agi script for paging sip phones. page.agi will take all available sip extensions and assign them to the global variable PAGE_GROUP. Allowing the phones to be paged from the dialplan with the new Page cmd. Extensions to be excluded are presented as arguments to the agi. Each time a page is made this agi refreshes the global variable. This works with
2006 Jun 13
0
AGI and Video
I've been using Asterisk for over a year now, and think I've pretty much got it nailed form a voice perspective. We have just purchased a couple of Video phones to start experimenting with IP video, with a view to eventually building an IP media platform, such as Intel's HMP. I have record/playback working in Voicemail, but am wondering what status Asterisk's AGI (specifically
2005 Mar 11
0
Is it an AGI bug in 1.06? IAX Calls going towrong extension with AGI.
Steven Critchfield Wrote: ------------------------ Just a quick thought here, as the vast majority doesn't have access or at the minimal don't use the software you are using to do config and as it is an agi script outside of asterisk, you should go to the vendor of PBXWare and see what they say. /SNIP/ Let me rephrase my question - Has anyone faced any problem with DeadAgi script where
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
2005 Sep 10
2
AGI programming work required
Anyone on this list interested in doing some paid AGI programming work for me? Fairly simple. Need a script (preferably PHP) that will extract the name of a MP3 file from a Mysql database based on certain criteria (including the users caller ID), and pass the file name back to the Asterisk dial plan so that it can play the MP3. Email if you can help, need it by end of next week. Cheers Brad
2009 Sep 02
0
problem with agi script not getting variable
I am learning agi scripting using php. I m using phpagi 2.x on asterisk 1.2. I hve written a simple script that reads out the callerid using flite. My problem is that I seems the script is not getting the callerID. Bellow is the script _________________ #!/usr/bin/php -q <?php /** * @package phpAGI_examples * @version 2.0 */ set_time_limit(30);
2011 Feb 24
2
[1.4.39.2] Simple AGI doesn't reply
Hello The following, dead simple Bash script ran as AGI doesn't reply to Asterisk: ============= extensions.conf [from_fxo] exten => s,1,Wait(2) exten => s,n,Set(CID=${CALLERID(num)}) exten => s,n,AGI(/var/tmp/basic.agi) exten => s,n,Hangup() ============= /var/tmp/basic.agi #!/bin/bash #Ripped from #http://lists.digium.com/pipermail/asterisk-users/2003-July/008554.html while
2007 Jul 10
0
Odd AGI Issue - STREAM FILE, GET DATA not playing file
Apologies if this has been brought up before, but extensive googling and digging through my list archive didn't turn anything up. Basically, I'm working on an AGI web app and need to read some digit input. I'm having multiple issues with asterisk interpreting agi commands at the moment, but I figured I'd start with this one. when I call GET DATA or STREAM FILE I don't
2004 Apr 18
0
AGI Module
Hey all, I'm sorry to bother you with something so trivial, but I seem to be having an issue with the Asterisk::AGI module. I am a relative newbie with Perl so it could be a stupid syntax mistake that I missed. It seems when I try to execute either the stream_file or the get_data subs nothing is actually done. It doesn't seem to stream the files, but on the console it says it played the