Displaying 20 results from an estimated 5000 matches similar to: "Background timeout and Read questions"
2009 Jan 17
2
Call file in the future
Hello,
I read a thread on the asterisk dev list (call file handling suggestion)
May i have some comment/opinion on these two ways below to place a call file in the future ? (from the wiki and the asterisk book but added typos and stupidity come from me)
The best is ? (and should work ?)
tmsp = the delay in future.. say 100 seconds
exten=> ra,n,System(NOW='date %S')
exten=>
2007 May 16
0
AGI "record_file" issue... bug?
I am having a problem with "record_file" working properly depending on when
it is called -- basically if it is called immediately upon a call, it acts
like it does not hear anything from the callers phone (yes, my phone is
setup properly and functions fine otherwise)... if I do a "background" or
"festival" command before calling it, it works fine.
Details below:
2014 Nov 14
0
Asterisk 13 confbridge recordings not working
We upgraded from asterisk 11 to asterisk 13. Recordings were working fine in 11 but nothing is being written on 13.
Here is the dialplan segment
same => n,ExecIF($["${TL_PHONE_CALL_RECORD}"="TRUE"]?SET(CONFBRIDGE(bridge,record_conference)=yes))
same =>
2004 May 07
1
meetme conf-background.agi
Hello there!
Somebody tried the meetme|b which initiates the conf-background AGI.
Actually I want to originate another call from a conference.my AGI
originates the call and connects it to the conference, but the calleeee is
nowhere
My extension
exten => 21,1,meetme(21|pb)
and my AGI
****************************************************************************
#!/usr/bin/perl -w
2007 Dec 18
1
Call Recording on Hanup
Hello everyone out there, I am having a problem in call recording with php
agi library. I have already recorded voice after playing an IVR, to accept
the recording user need to press one. but I need to record a call on hangup,
Is there any way to do it. Currently i am using record_file() function in
php. Is there any way to record voice by using record_file() function with
hangup. can anyone helps
2004 Aug 06
2
using a web server?
This is a stupid question...
Why would one use a streaming audio server versus just a web server to
stream static files like a juke box?
Here are some reasons I came up with:
1) A web server won't concatinate songs together, but if someone is
only downloading say a one-off clip, perhaps a web server is exactly
what is needed
2) Titles (or rather meta-data) don't get inserted into the
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
2013 Oct 23
2
performance on document.get_data()
I got some performance issue for document.get_data() and
enquire.get_mset(). It costs 35 seconds for matches =
enquire.get_mset(0,200), and 3 seconds for iterating all doc in matches to
get_data. Is't normal? My index contains 30millions documents. I use python
binding to operate xapian. Bellow it's my index structure
# value: 0:date, 1:site
# data: json message which contains: author,
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 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 =
2012 Feb 17
2
DatabaseModifiedError on get_data - best practice?
Hi,
I have previously had a problem with getting this error on a get_mset
call, and solved it by subclassing XapianEnquire with a
backoff-and-retry algorithm (as suggested by this list, many thanks!).
However, I now get it intermittently when calling get_data on a
XapianDocument. The same solution doesn't seem to be quite as easy in
this case, because:
1. The document is not instantiated
2005 Oct 05
1
Caching DTMF tones for get_data AGI?
I'm using get_data in an AGI script and am having a problem when, after
a long time in my IVR, when I ask for a 10-digit phone number, the first
few tries are always invalid -- the number it reads back is very
strange, almost like the DTMF tones from other answers were being cached
and then dumped on the call to get_data.
Anyone ever experienced this before? I have to do some major
2006 Feb 08
1
Possible AGI Bug in Asterisk?
Dear All,
I seem to have stumbled across an AGI problem;
I have written an AGI Script (bottom of this email);
The script does the following;
Makes a CDR entry when called
Records the call
Updates the CDR
Finds a corresponding DNIS from the SMDR table (captured via a serial
port logger)
Matches up the record and updates the CDR.
The script works perfectly in my test lab and has been doing so
2014 Aug 07
2
agi get_data noanswer
Hi Guys..
I am making an anoucement machine that is not allowed to "answer" the call
due to a billing issue.
I found that Playback with "noanwser" is usefull in this case.
$AGI->exec('Playback',"$message","noanswer")}
But when i request some values to the user with get_data, i think there is
an answer anywere.
Is there a way to get_data
2009 Mar 01
1
php agi and get_data errors.
Hallo,
I'm using a self-made script to get the code a user enters on my applications.
Sadly, the code doesn't work, i push the digits, but the result is
always an empty data.
(code=200, result=1, data= '').
Here is the code:
set_time_limit(99999999999999);
require('phpagi.php');
$agi = new AGI();
$agi->answer();
function printdebug($a) {
global $agi;
2008 Jan 08
0
get_data
I am calling get_data from an agi script using Asterisk::AGI like so:
$AGI->get_data('enter-conf-pin-number');
..and I am expecting to hear the file play back when I call. I do not.
My log entry looks like this:
-- Launched AGI Script /var/lib/asterisk/agi-bin/pbx_dev.agi
pbx_dev.agi: CALLERID IS: XXXXXXXXXX
-- <SIP/#-089e50f0> Playing 'enter-conf-pin-number'
2008 Jul 23
3
Trouble Playing message file via Perl AGI
Hi all,
I'm trying to build an IVR using the Perl AGI module at
http://search.cpan.org/~jamesgol/asterisk-perl-0.10/lib/Asterisk/AGI.pm
But, I'm having trouble getting my program to play a message and wait for a
keystroke.
I am able to use this code to play the file, so I know that the $msg variable
points to a valid sound file:
$result = $agi->exec("background $msg");
2009 Sep 30
2
C++ parser for doc.get_data() result.
Xapians!
Did anybody wrote and would like to share a routines that parse result
from doc.get_data() into some key and pair values in C++ ?
Code:
Xapian::Document doc = i.get_document();
string data = doc.get_data();
mymap = parse_result(data);
As you know the data string contain all the data within the document
delimited by "=" sign and "\n" new line and needs to be parse
2011 Nov 04
1
problem when exiting from "record file" function without pressing the escape digit
Hi everybody,
I've been working on a project which records the voice of the incoming call.
I use record_file function of asterisk as described below:
RECORD FILE <filename> <format> <escape digits> <timeout> [offset samples]
[BEEP] [s=<silence>]
filename: record1
format: wav
escape digits: #
timeout: -1
offset samples: 0
BEEP: 1
silence: 3000
*Please read the
2007 Feb 09
1
PHP Binding and dbi2omega questions
Hi All,
I've installed Xapian and the php module. I've set up a script for use with
scriptindex and dbi2omega for getting data from the db into the index
easily, the script file is as follows:
===============================
id : field=id
title : index
title: field=title
description : index
description : truncate=50 field=content
=============================
However, when querying