similar to: AGI why oh why?

Displaying 20 results from an estimated 7000 matches similar to: "AGI why oh why?"

2003 Dec 17
0
issue recording files in wav49 from AGI
Following is a log from an attempt to record and playback a file in wav49 format from an AGI script. COMMAND: stream file aa/after_the_tone "" 0 RESULT_LINE: 200 result=0 endpos=41920 RESULT_DICT: {'result': ('0', ''), 'endpos': ('41920', '')} COMMAND: record file /activity_alerts/wavs/123456_1_1_0.745781945801 wav49 "#" 20000 0
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 Jan 19
0
AGI crash on 1.0.2 on Wait ...
Hi all, I have a very simple AGI program in Java, but it "sometimes" hangup before the whole process is completed. Looking at the /var/log/asterisk/full, I found the following: AGI Tx >> agi_enhanced: 0.0 AGI Tx >> agi_accountcode: AGI Tx >> AGI Rx << STREAM FILE beep "" Jan 20 07:32:30 WARNING[-169026640]: Wait failed (No such file or directory) Jan
2007 Sep 14
2
AGI script fails on IAX channels (from call file).
Hi Guys, I have already tried this one on the developers list. I have not been successful getting much back there and I have notified them that I will post this on the users list instead. Hopefully somebody have tried something similar and can help out. I am developing AGI scripts on Asterisk and have run into some very strange behaviour and I think this is a bug, but I am not completely sure.
2009 Nov 26
0
AGI and Music on hold
Hi, Happy Thanksgiving to those of us in the USA... Been trying to debug an AGI (in C) on 1.4.26.2. I blind transfer a call to this snippet of dialplan: exten => 999900,1,DeadAGI(pq.agi,999950) pq.agi then plays a prompt (which I hear just fine): [Nov 26 02:42:47] VERBOSE[28721] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/pq.agi [Nov 26 02:42:47] VERBOSE[28721]
2004 Sep 17
1
AGI Python Clear or Channel Failure?
Hi All, When I call the stream_file function all goes well if the user doesn't clear the call. But if I do clear the call (on the handset for example), I get the following exception: -- Channel 0/31, span 1 got hangup RESULT_LINE: 200 result=-1 endpos=28000 == Spawn extension (default, 600006, 1) exited non-zero on 'Zap/31-1'
2005 Oct 06
1
Fwd: ASTCC - INUSE Flag
Hi all. Just to update list and increase the "souls-save" database. The patch solved the problem. Now I have an asterisk-1.2.0-beta1 with asterisk-perl-0.08 and mysql-server-3.23.58-16.FC2.1 machine working fine with ASTCC and "inuse" flag. The link of the patch is: http://bugs.digium.com/view.php?id=5400 Best regards to all you in the list. Ricardo Poppi.
2014 Jul 31
0
AGI Record File / what does randomerror mean? res_agi.c / line 2377
Hi, I have a question about this here: Asterisk-Version: 11.10.2 File: res/res_agi.c Line: 2377 [...] static int handle_recordfile(struct ast_channel *chan, AGI *agi, int argc, const char * const argv[]) 2304 { 2305 struct ast_filestream *fs; 2306 struct ast_frame *f; 2307 struct timeval start; 2308 long sample_offset = 0; 2309 int res = 0; 2310
2017 Oct 19
3
speech-recog.agi
I want to try using google for speech recognition in Asterisk and I found a ready made AGI: http://zaf.github.io/asterisk-speech-recog/ I have followed all the steps listed in the web site but I keep getting this error: <PJSIP/2001-0000006e>AGI Tx >> 200 result=99981 (timeout) endpos=22720 <PJSIP/2001-0000006e>AGI Rx << VERBOSE "Unable to get recognition
2006 Nov 02
1
AGI Problems
Hi, I've got a setup whereby calls come into the asterisk server (1.2.7.1) over a IAX2 trunk and into a dialplan that launches a php AGI script: [live-full] exten => _X.,1,Set(TIMEOUT(absolute)=0) exten => _X.,2,NoOp(${EXTEN}) exten => _X.,3,DEADAGI(live-full.php) exten => _X.,4,Wait,2 exten => _X.,5,Hangup The script is using phpagi-2 from http://phpagi.sourceforge.net/ and
2003 Dec 18
11
Sphinx
Hi. I just started trying to play with Sphinx. I followed their site as far as running sphinx-server. It is listening on the default port. I copied sphinx2-simple to another file and changed sphinx2-continuous to sphinx2-server. So, I ran eagi-sphinx-test under asterisk. What exactly is it supposted to do? Here's what I get: debian:~# sphinx2-simple2 sphinx2-simple: Demo CMU Sphinx2
2012 Feb 25
0
No IVR audio. Jump in RTP sequence number
My users dial *120 get to an IVR menu that plays their balance and then ask them for a voucher. Ater the balance is played and the request for the voucher is played the user don't hear any other audio from the asterisk box. I can see the asterisk server playing the files to ask for the voucher again but the user cannot hear any thing. Has any one seens this issue with IVRs. I notice a
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
2008 Oct 17
0
GET DATA Returning only a single digit
-- jand. more than just a group Asterisk AGI Command GET DATA is usually of this form GET DATA timeout max_digits When I execute this command, I get only a single digit, regardless of what the value of max_digits is, Also the script quits Immediately after the press of the digit regardless of what the value of timeout is, This is really un-desirable as I will like to GET multiple DTMF digits
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 Jul 30
1
MeetMe through DeadAGI has changed to return -1 on Hangup
I have a "support call" AGI script that has been working flawlessly for a couple of years now. It dumps the customer into a MeetMe conference room, then dials a bunch of support engineers, and connects anyone who accepts the call into the conference room. The conference room is recorded. After the support call is over, the recording is emailed to a list for quality control, etc. It
2003 Mar 09
0
ogg123 --end 1:59 patch.ogg
Hi Here is another patch regarding time in ogg123 which is more controvercial than the other one I send some days ago. (see attachment) When working with Daisy/SMIL [1] files it would be helpfull if the user could stop play at a specific time. Currently .ogg files are not allowed in the Daisy format but that will hopefully happen one day if I work hard at it. A clip in a Daisy file could look
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
2011 Jan 25
1
Learn Vectorization (Vectorize)
Greetings Friends, I would be grateful if you can help me undestand how to make my R code more efficiently. I have read in R intoductory tutorial that a for loop is not used so ofter (and is not maybe not that efficient) compared to other languages. So I am trying to build understanding how to get the equivalent of a for loop using more R-oriented thinking. If I got it right one way to do that
2006 Jun 29
2
Sangoma card A101 Card troubles.
Hiya all, I have had no end of trouble trying to get my A101 E1 card working on a new asterisk installation. The sangoma tech people have ignored my emails about this. All the installation of wanpipe seems to go ok, and zaptel. it all installed compiled and does all the wanpipe hwprobe exactly as documented. Asterisk compiled ok, but when I run it give me Jun 27 11:12:18 ERROR[10528]: