similar to: AGI "STREAM FILE" issue

Displaying 20 results from an estimated 20000 matches similar to: "AGI "STREAM FILE" issue"

2005 Mar 28
2
AGI STREAM FILE command
Has anyone had success with the AGI STREAM FILE command with the CVS? I can't get it to work with the debian 1.0.5 package or the CVS on Redhat or Debian. It's not syntax, I'm doing that right. It doesn't give me an error when I use AGI DEBUG, it doesn't even give a response, just goes right on to the next command. I put a "SAY NUMBER 123 #" before and after
2006 Jan 16
2
agi debug - unable to set normal priority
Hello! In my agi-debug i get the following error-message: AGI Rx << Jan 16 14:45:52 WARNING[18299]: asterisk.c:788 ast_set_priority: Unable to set normal priority AGI Tx >> 510 Invalid or unknown command AGI Rx << SET VARIABLE MODCLI 00434345452 the agi i call is a very simple shellscript that simply removes wrong charakters: #!/bin/bash modcli=`echo $1 | sed -e
2011 Jun 06
4
AGI STREAM FILE not working?
Hello, using 1.8.4. using a very simple local AGI script in bash which has only one line in it: echo -e 'STREAM FILE welcome 123 \n' dialplan: exten => 5150,1,Answer() same => n,Set(CHANNEL(language)=en_AU) same => n,AGI(testagi.sh) same => n,Hangup console output: -- Executing [5150 at AllPhones:1] Answer("SIP/PBX-00000024", "") in new stack
2005 Mar 01
2
agi RECORD FILE with offset
Hi All, I've been playing about with the RECORD FILE agi function and am finding two distinct problems with the resulting wav file when using a non zero sample offset. Specifically, I call the function with a zero offset and a given filename (the "original" recording), and then later call it with the same filename and a non-zero offset (the "overdub"). When I do this, I
2005 Aug 11
2
wildcard/FXO config
Trying to config the latest Asterisk/zaptel with an Digium Wildcard and a single X100m FXO interface connected to a POTS analog line. Build and install of both work ok - I'm using Suse 8 on a dual Pentium box. I load the driver with "modprobe wctdm" and the LED on the wildcard lights up. Then I start Asterisk with "asterisk -vvvgc" and asterisk fails to start. The
2009 Oct 22
2
AGI STREAM FILE and not blocking execution
Hello, I'm wondering if I can take benefits of long prompts to compute in the background the next step to be performed by Asterisk. Do you know what will be the behavior of asterisk if I send a STREAM FILE command immediately followed by another command ? Will asterisk stack commands or will it stop the first one to execute the second one ? If stops, is there any AGI library that handles
2010 Apr 07
2
AGI + Dial + stream file ?
Hi all, I am running an AGI script in a command dial, or call a SIP trunk. I want to execute after 10 minutes a voice message (stream file) on the channel to warn the person that the call is about to end. How to do that? Thank you, Mickael. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2003 Mar 09
2
How to play sound AND run asterisk?
Hi, I'm a new asterisk user developing an AGI application. As part of my application I'd like to play sounds on the server's speakers, but it seems that I can't do this while asterisk is running. When I try to play sounds using the play or aplay command, it blocks until I stop asterisk. My guess is that asterisk is using the sound device and this means that other programs
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 =
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]
2008 Mar 11
2
AGI - calling functions, CHANNEL STATUS broken?
Greetings, I am writing an AGI script that needs to check on the idle/busy status of a number of SIP peers (mostly SPA9xx phones, with a few Polycoms and Snoms thrown in for fun). Is it possible to call Asterisk functions (e.g. SIPPEER) from AGI scripts? Based on my Googling, I would guess in the negative. I have tried various permutations of Set() and Eval() without success. I have also
2009 Apr 08
1
Perl AGI
Hi all, I have the below peace of my AGI script...the problem here is that I cannot fetch the extension value to inside the script and assign it to another variable...I highlighted it in red #!/usr/bin/perl #use DBD::mysql; use DBI; use DBD::mysql; use Asterisk::AGI; ############################ #To read asterisk variable values. $AGI = new Asterisk::AGI; my %input = $AGI->ReadParse();
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