Displaying 20 results from an estimated 600 matches similar to: "Weird AGI/X100P behavior"
2010 Jan 11
1
MeetMe Conferencing - Announce your own join/leave to yourself and other conference members
Hi all,
I'm trying to get the MeetMe system to take a caller and announce to them they've joined the conference in addition to the other members of the conference assuming previous members of the conference >= 1.
I can see where the meetme.c app actually processes it using the ast_pthread_create_background(&conf->announcethread, NULL, announce_thread, conf); function. The
2004 May 10
1
AGI.pm wait_for_digit() not working for me!!!
Hello everybody!!!
I really need your help guys, I am using the AGI mode in meetme application,
and I want that AGI should wait for an input from the client/user i.e. a
digit and then proceed, but I have used that AGI function
agi->wait_for_digit(), but no use....my agi just passes, or ignores this
function,
where AGI should stop here and wait for the input....
.....my extension in my
2003 Nov 26
3
AGI - CallerID ??
I have a client who needs an application for there field techs to call
in when they arrive on site and when they leave. The logic behind it
seems pretty simple. I am going to write something in AGI to capture
some DTMF tones and update this data into MySQL to run some reports
from.
But here's my initial problem. I have started to create a simple AGI
script to capture the CallerID, but I
2010 Jan 08
1
How to recieve number returned by $AGI->wait_for_digit($timeout)
hi,
i use $AGI->wait_for_digit($timeout) to wait for the user press key 1
,and then to do something.
but how can i get the return number ?
is that use $key = $AGI->wait_for_digit($timeout)
and $key will be "200 result=49" if i pressed number 1?
Thanks!
--
Best regards,
Sucan
2007 Apr 11
3
Execute EAGI script with params from extensions.conf
How can I execute an EAGI script with params from extensions.conf
Example python script:
InfMsg -s 1
in my extensions.conf
exten => 492,1,Answer
exten => 492,2,eagi,InfMsg -s 1
exten => 492,3,Hangup()
It doesn?t work
my * report...
-- Executing [92@telpin-112:2] EAGI("Zap/4-1", "InfMsg -s 1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/InfMsg
2009 Aug 31
4
How to stop IVR once system receives DTMF?
Hi,
We are trying to implement a complex business logic in Asterisk. Executing
"Wait_For_Digit" command after playing IVR. We want to stop the IVR once we
receive the digit. It is not recognizing the Digit until it completes the
IVR. How can we stop the IVR once we receive the digit?
Thanks
BB
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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 =
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
2007 Aug 27
1
Detecting tones
Hello folks,
I'm interested in detecting tones on specific frequencies with
specific timing; for example, I'd like Asterisk to dial out and when
the channel starts/call connects, listen for a 1200Hz tone that plays
for 100ms.
Is this doable with Asterisk using something already extant? After
looking through documentation, mailing lists, and some of the source I
had the idea that I might
2009 Feb 26
3
Getting SIP field P-Asserted-Identity from EAGI
Hi, using EAGI variables like
agi_request
agi_channel
agi_language
agi_type
agi_uniqueid
agi_callerid
agi_dnid
agi_rdnis
agi_context
agi_extension
agi_priority
agi_enhanced
agi_accountcode
I get a lot of data about a call, but I need to obtain P-Asserted-Identity
value from a SIP call. Are tehe any eagi variable to get that? Or have you
any solution??
Thanks!!!
-------------- next part
2010 Feb 24
2
audio glitches in conference
I'm having a problem with conferences both meetme and app_conference,
though I've done most of the testing with meetme.
Essentially, I get little gaps in the audio - usually fewer than a dozen
or so samples, though it does vary. They seem to occur at random, but I
usually get one ever few seconds, on average. They also seem to delay
some buffer somewhere, so that if I start recording
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
2003 Jul 03
0
app_festival not cleaning up properly?
I am still poking at app_festival a little bit and have found a problem
I don't really understand, and therefore, I don't really know what to
try to do about fixing it. I have done a lot of things in the code, but
the best I can do is rewrite a bunch of stuff and still have the
problem. Perhaps someone more familiar with the * internals can lend
some in helping me to understand what might
2008 Feb 04
8
AGI: Not getting answers from get_data in a call-file call
I have the following situation: I drop a call-file into the Asterisk
spool directory and I get called back. That all works.
And I have this script:
#!/usr/bin/perl -w
use Asterisk::AGI;
my $AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
$AGI->answer();
my $i;
$i = $AGI->channel_status();
$AGI->say_digits($i);
$i =
2004 Jul 01
2
DISA and AGI: authenticate by caller ID?
I'm having trouble getting an AGI exec command to spawn app_disa. The
script executes properly, but does not spawn DISA. The CLI gives no helpful
clues. Am I doing the exec incorrectly?
I want to have a way to authenticate callers to the extension by Caller
ID... if their caller ID is in my database and set to active, they can call
out. [like a calling card but auth'd by CID instead
2004 Jun 10
4
How to get the Called id with AGI
Hi all,
Is there a way to get the "called id" (the B number) with AGI perl ?
I know how to get the caller id which is working fine and is just below:
#!/usr/bin/perl
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
$callerid = $input{'callerid'};
$AGI->say_digits($callerid);
}
Thanks in advance,
Angel.
2010 Jun 11
1
WARNING message when play
When I use an eagi script when play a message appear a lot of warning
messages, but it play very well
I?m using
Asterisk 1.4.32
dahdi-linux-2.3.0.1
chan_ss7-1.4.1
Any ideas??
-- Playing 'ser002' (escape_digits=0123456789*#) (sample_offset 0)
[Jun 11 18:12:45] WARNING[15807]: file.c:1300 waitstream_core: write()
failed: Broken pipe
[Jun 11 18:12:45] WARNING[15807]: file.c:1300
2023 Jul 01
1
SetCallerPres command gone
The AGI debug command worked well, and I found the offending command:
SetCallerPres(allowed)
That worked in Asterisk 13, but from my google searching it looks like this command has disappeared in Asterisk 20 (actually everything after ver 13). I thought it was replaced with CALLERPRES(allowed) but this generated an error too in Asterisk 20.
Is there a replacement command?
-----Original
2003 Oct 12
1
AGI Test Fails
I've been trying to use the AGI get_data function for some time now, and
can't get it to work. Today I reinstalled a clean system with Red Hat
8.0 (I had been using RH9, but was told * had problems with RH9) and
downloaded the latest Asterisk CVS to install. I then downloaded and
installed perl-asterisk-0.08. I have extension 502 pointed at
EAGI(agi-test.agi). When I call that
2006 Apr 13
1
placing call with agi
I'm trying to set up a system so that I can record a conversation over
SIP. Monitor and the like don't work so well for me, because I need to
pipe the conversation to other programs in realtime, rather than record
to a file, so I've been trying to use EAGI instead. (if anyone has any
other suggestions about this, it would be greatly appreciated!)
At this point, I'm a little