similar to: AGI

Displaying 20 results from an estimated 10000 matches similar to: "AGI"

2013 Mar 06
2
AGI Script
> > Hi every body, > > Please if some one could help me with this: > I'm writing an AGU Perl Script which basically makes a call using an extension provided by other asterisk box to an E1. The asterisk version is 1.6.0.28, so it hasn't the Wellington know AGI class. The code is as follows: > > ============================= > #!/usr/bin/perl > use strict; >
2016 Jun 30
3
how to join 2 channels using AGI/AMI
sorry for top-posting, the two topics started with 2 different reason subject, but then we finished on the same problem. btw,the 2 show channel are reported above: the channel with DTMF working kcenter*CLI> core show channel SIP/pbx2-000004b9 -- General -- Name: SIP/pbx2-000004b9 Type: SIP UniqueID: 1467323106.1275 Caller ID: xxxx Caller ID Name: xxxx
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
2009 Jun 24
7
PHP AGI Not Working and Odd Behavior
Hi, I'm running asterisk 1.4.22 on a debian server. I have php5 installed and it works correctly command line. When trying to run a php script via AGI, I get messages such as: GI Tx >> I> AGI Rx << #!/usr/bin/php5 -q AGI Tx >> 510 Invalid or unknown command The scripts are completely executable and owned by asterisk -rwxr-xr-x 1 asterisk asterisk Googling is not helping
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 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
2011 May 19
1
SIP 603 Declined after AGI execution
Hello everyone. I'm using Asterisk 1.4.31 and A2Billing 1.7.0 to manage a small wholesale operation, so I configured A2Billing for not to answer the call nor play any greetings or balance notifications to the caller. I'm authenticating each customer by it's IP address, and each customer has it's own context, in which I set the following: ;=====in extensions.conf======
2011 May 19
1
Getting 603 Declined after AGI execution
Hello everyone. I'm using Asterisk 1.4.31 and A2Billing 1.7.0 to manage a small wholesale operation, so I configured A2Billing for not to answer the call nor play any greetings or balance notifications to the caller. I'm authenticating each customer by it's IP address, and each customer has it's own context, in which I set the following: ;=====in extensions.conf======
2012 Feb 11
1
Asterisk perl AGI confusing variables
Hello all, I'm struck with a very strange problem today. I've an AGI with some code subroutine snippet as follows: sub enable_sbc($) { my $carrier = shift; my $tmp = substr($carrier,1); my $jkh = $tmp; $server_port = $ast_agi->get_variable("SIPPEER($jkh,port)"); $ser_ip = $ast_agi->get_variable("SIPPEER($tmp,ip)");
2003 Nov 26
3
AGI - CallerID ??
I have a client who needs an application for there field techs to call in when they arrive on site and when they leave. The logic behind it seems pretty simple. I am going to write something in AGI to capture some DTMF tones and update this data into MySQL to run some reports from. But here's my initial problem. I have started to create a simple AGI script to capture the CallerID, but I
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
2003 Oct 10
1
Asterisk crash on AGI
Hi I've just started to play around with AGI scripts and have run into problems. When I run Asterisk in console mode everything works just fine. If I run Asterisk in 'regular' mode (not console) it crashes if I hang up on the script. I have used Python scripts to test this and also the "agi-test.agi" script. (the Asterisk code was compiled from CVS code just a few days
2010 Jun 30
2
Pbx_lua vs. calling lua thru AGI?
Hello I'm taking a look at how to write scripts to be called from the dialplan, and saw pbx_lua mentioned. I'd like to know more about this feature, such as what the difference is with just calling the Lua interpreter through AGI (same difference as between php-cgi and mod_php?), whether it's production-ready, etc. Thank you for any help.
2007 Nov 28
2
Billing/Call Control engine : AGI scripts/ AstMan API
Hello ppl, Have implemented a really nice Billing engine using AGI scripts. So far it works fine, tho haven't yet put it in the torture cell. The AGI scripts have been written in PHP, using MySQL for the billing and profile information. The major disadvantages I see using AGI scripts : 1. A new process(invocation of PHP scripts) on every new call. 2. MySQL connections on every instance of
2004 Jan 13
6
SIP and AGI crash...
Hi, I'm trying to use the say-ani agi asterisk-perl script and am experiencing crashes, I am also experienceing problems with the test-agi scripts shipped with asterisk. The clearest demonstration of the problem is that if I dial extension 125 configured as... exten => 125,1,Ringing exten => 125,2,Wait(3) exten => 125,3,Answer exten => 125,4,Wait(2) exten =>
2003 Oct 29
1
AGI question or something
Sorry for asking this question again but before I blow 100 dollars on a X100P I need to know this info: So does "SET EXTENSION <new extension>" allow for you to set which extension the rest of the call will occur over? So if a call comes into the switch and I could make the AGI script check the DID or DNIS which is really in the variable agi_dnid? After that I can do a database
2010 Jul 30
2
agi macro problem
I am trying this approach to see who picked the line: Here is what i am doing: EXEC DIAL SIP/ vaso &Zap/35||M(testing^30086) Macro: [macro-testing] exten => s,1,DumpChan() exten => s,2,AGI(whopicked.rb) exten => s,3,Hangup()
2009 Sep 08
2
1.2 AGI Deadlock
I am running 1.2.34 (also tried on 1.2.32) and whenever I launch an AGI, I get the "avoided deadlock" message below. *CLI> == Spawn extension (CONTEXT3, 6080, 8) exited non-zero on 'SIP/3211-1-081c40a8' -- Executing NoOp("SIP/3211-1-081c40a8", "") in new stack -- Executing AGI("SIP/3211-1-081c40a8", "diallocal.agi") in new
2009 Dec 14
1
AGI with PHP
Hi All, I'm having problems getting results from a PHP file. This is what the CLI is showing. -- Executing [111 at internal:1] AGI("Console/dsp", "GoTalk.php") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/GoTalk.php [Dec 14 11:57:25] ERROR[20260]: utils.c:1019 ast_carefulwrite: write() returned error: Broken pipe If I run the PHP file from
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.