Displaying 20 results from an estimated 600 matches similar to: "AGI Python Clear or Channel Failure?"
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 <<
2003 Dec 31
1
AGI - IVR - Time Clock
I wanted to post the beginings of my latest IVR Project for an automated
Time Clock software.
The customer has over 300 Field Reps that call in everytime they arrive
on location and whey they leave that location. This is handled by the
receptionist now and she logs in them and out of there Time Clock
Software. Which takes up majority of her day. The customer has
requested a automated way of
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.
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
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
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
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
2007 Aug 28
1
deadagi and billsec or answeredtime
Hello,
I want to create php rate script and I'm using Deadagi. But I allways get
billsec 0 , or nothing. Can you help me to solve this problem...
My extension.conf:
exten => _123,1,DeadAgi(rate.php)
exten => _123,2,hangup
And my simple test php script rate.php
#!/usr/local/bin/php -q
<?php
include_once (dirname(__FILE__)."/phpagi.php");
$AGI = new AGI();
2003 Nov 27
1
AGI (IF/ELSE)
I need some help with some statements.....
#!/usr/bin/perl
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
my $callerid = $input{'callerid'};
if ($optemp != 1) {
my $empid = $AGI->get_data('employee',-1,5);
$AGI->stream_file(entered);
$AGI->say_digits($empid);
my $optemp =
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.
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
2007 Jul 23
0
Problem w/ MySQL update from perl AGI script
I've been trying to get a basic 5 question IVR survey working in an AGI script,
and am having trouble with the SQL portion not updating the table. When I take
out all the AGI references, and run just the perl script, the table updates
with no problem(DBname,username,password have been substituted in this example
for the actual values):
#!/usr/bin/perl
#
#
use DBI;
$DATETIME =
2005 Aug 04
3
SIPPeersAction class file not found in the Asterisk-java.jar file
Hello Everybody,
I am working on Fastagi and I am making use of
Asterisk-java. But I don't find the class file for SIPPeersAction. Hence I
am getting the error message when compiling my java code.
----------------------------------------------------------------------------
------------------------------------------------
[root@localhost asterisk-java-0.1]#
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
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
2004 Jun 02
4
Splicing audio clips into one stream
Is there a Linux tool that will splice several gsm sound clips together
into one clip?
In my agi script, I would like to use 'get_data' with one clip instead
of multiple 'stream_file' so the user doesn't have to listen to the
entire spiel before responding.
Thanks,
--
Michael Welter
Introspect Telephony Corp.
Denver, Colorado
+1 303 674 2575
mike@introspect.com
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
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 Jan 20
3
Enter Pin followed by Pound key
Im trying to create a custom application via the AGI. I want to
authenticate the users that dial in with a userid and pin. However, the
number of digits in the PIN and userid are variable, and therefore I need to
allow the user to "press enter" by hitting the pound key. How would I
accomplish this in the AGI?
stream_file doesnt seem to work, since it only allows one digit to be