similar to: My AGI is not detecting hangups on outgoing calls

Displaying 20 results from an estimated 20000 matches similar to: "My AGI is not detecting hangups on outgoing calls"

2001 Mar 12
1
WINEPS insists on using LPT1:
I'm running Wine 20010305. I am using the WINEPS driver and trying to direct it to various printers on various ports. It seems to output to port LPT1 regardless of the port I specify in the registry and win.ini. Here is a simplified scenario, in which I define only one printer, on LPT2. Can any one tell me what is happening? Follow-up question: Am I limited to 9 printers, on LPT1-LPT9?
2008 Aug 07
1
outgoing call file and agi detect busy
I am using asterisk 1.4.21 with outgoing call files. I am call a line that is busy as you can see below. How can my AGI ask what the status of the last call was so I can tell if there was NO ANSWER or it was BUSY? Thanks, Jerry -- Attempting call on SIP/401 for smvoice_callprogress at smvoice-dialout:1 (Retry 1) -- Got SIP response 486 "Busy" back from 192.168.1.161
2004 Aug 19
4
Request for help designing an unusual * application
I have been reading asterisk doc's for the past couple weeks, and monitoring this list. I have to implement an unusual (I think) application of asterisk. I have the beginnings of a plan, and I would like to throw it up here for comments. The application: An after-hours emergency support "hotline" for our technology company. We have 5 different support people that take turns on
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
2005 Mar 07
1
Exec AGI after hangup.
Hi everybody, I'm trying to implement a enhanced blacklist system using AGI and Perl, configuration in extension.conf is: exten =>_numbera,1,AGI,blacklist_2_in.agi exten =>_numbera,2,Answer exten =>_numbera,3,AGI,xisco_1.agi exten =>_numbera,4,AGI,blacklist_2_out.agi The problem that I have now, is that blacklist_2_out.agi doesn't execute. I think this is because in
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 <<
2005 Sep 23
2
Execute php agi after channel hangup
Hi, following I would like to implement: 1. I receive a call. 2. I hang up the call. 3. I execute a macro I thought about using call files first... but they don't support macros, or? Then I figured I could use php agi after I receive the call, hang up the call with php agi and execute the macro with "exec ...". Unfortunately, the php agi seems to die with the hangup. Does
2003 Oct 07
2
agi exit problem
The way I worked around this is to log the "uniqueid" in a database when the call is placed with the start time and then execute an agi script upon all hangups: exten => h,1,AGI(call_log.agi,${EXTEN}) That script queries the database for the "uniqueid" and if it exists in the table it figures out the call length and updates the record It's a little bit of perl
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
2003 Jul 17
2
AGI & Silence detection
Does anyone how you might detect a period of x milliseconds of silence using AGI ? Rgds, Stuart
2018 Jan 18
2
Handling a long-running agi on hangup-handler?
I know that hangup handlers ( https://wiki.asterisk.org/wiki/display/AST/Hangup+Handlers) have to finish quickly. So it's no surprise that my speech to text agi which takes 8 seconds gets killed. However, can anyone think of a way round this? So, once the caller has hung up, I need to take one of the channel variables, and pass it to a python agi script which then does speech to text.
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
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
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
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
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.
2005 Aug 23
1
AGI nor System working after a dial - Should it work?
Hello List, This is my first message herein. I was playing around with System() and AGI() and found out something I cound not determine my configuration error. I added before.agi and after.agi to the agi-bin dir. Tried to make before.agi get run before the dial call and after.agi be run after. Only the first priority (step 1) gets executed. Here follows some relevant part of the tests: On
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
2005 Oct 13
1
AGI Variable problem
Hello all, I try to use a agi script to get a variable from * und put them into a script which gives me another variablke and put this in *. My problem is now it seems the var ID is empty coz i always jump into the result 0 loop. The $MSN should be in the SetCIDNum. #!/usr/bin/php -q <?php include("/var/lib/asterisk/agi-bin/phpagi.php"); $agi = new AGI(); $ID =