Displaying 20 results from an estimated 20000 matches similar to: "AGI STREAM FILE and not blocking execution"
2012 Sep 26
5
PLAYIN MUSIC WHILE SEARCHING MYSQL
Dear All,
I want to play music in my AGI while i am searching for a field in DB.
Actually during some processes in AGI i need to play music .
Thanks in advanced.
Regards,
Mehdi
2010 Aug 28
1
Play a number of files to a caller
I want to be able to allow a caller to dial a ddi, system to verify
identity etc (this is all done)
I then want them to sit listening to music, until an event happens.
When this (external) event happens, I want to play a certain file to
the caller, using playback (so that they have ff / rw etc), and when
finished, go back to the music.
1) I thought of redirecting to an extension that played the
2009 Feb 18
6
AGI pdf book
Dear Sir,
Can someone help me please to find a free ebook talking about AGI scripting
through asterisk?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090218/a59fc299/attachment.htm
2019 Apr 10
7
Forking AGI or GoSub
I have an AGI that can sometimes take time complete. I don't want the
dialplan to be held up by the agi. Is there any way to call it and have
Asterisk continue with the dialplan?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190410/4c704231/attachment.html>
2013 Jun 17
1
Asterisk / PHP-AGI / pthreads
Hi there,
does anyone have experience with Asterisk-AGI-Scripts in PHP while using
pthreads in PHP? Are there any limitations or problems known?
Best regards
-Thorsten-
2013 Mar 14
1
AGI
Hi everybody,
Does any one knows how to place a call from a shell agi? I guess is something like echo Exec Dial(DAHDI/g2/2010,,W). Algo how i get the dnid variable?
Thanks.
2011 Apr 13
4
AGI and forking
Hi. I just want to make sure I understand this before doing something that
might break things spectacularly for our users and customers :)
We are using Asterisk 1.6.2.9 and my programming language of choice is Perl.
I want, when a call comes in on someone's DDI number (which the person who
dialled it can only possibly have obtained by dialling 1471 after we called
them), to be able to
2006 Jun 27
1
ExternalIVR vs AGI
I have an Perl AGI script that acts as an IVR for my Asterisk box.
Basically, it simply plays audio files to the caller, collecting DTMF
input and logging every DTMF input into a database table, simply to
document every step or option selected by the caller.
One thing is that in addition to playing audio files, it also, at
some point, plays SayUnitTime command.
This IVR has constantly
2020 Jun 14
2
Any api (agi/ari/ami) equivalent of "core show calls"?
Wow! I've been *-ing for about 6 years and had literally no idea about
that!
I can see a way I could put it to a different use, but it seems to be a bit
of a sledgehammer to crack the walnut of "how many current callers"
compared to one line of (albeit hacky) dialplan.
That's making me sound ungrateful. I don't mean to be!
On Sun, 14 Jun 2020, 22:39 Steve Edwards,
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
2010 Mar 02
1
Hide time consuming processed by prompt
Dear Asterisk users,
I have a simple question, but guess the answer is not that simple :-)
What I want to achieve is to "hide" time consuming processing by a
prompt (load of a customer history), stop the prompt and come
back to the dial plan when the information is available. I'm actually
using AGI script.
How can I do this with asterisk ?
Best regards,
Patrick
2009 Feb 19
3
AGI script
Dear All,
I would like to ask please if someone has a AGI script that select a value
from a database and dial this value as a destination number
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090220/e2aa530c/attachment.htm
2008 Apr 22
4
need examples of asterisk and mysql integration
I'm presently working on a project to build a scheduling system
accessible by both web and phone. on the web side one can query what
items are available when by using the time or the item as a key then
reserve for an available time slot. reservations may also be modified
by the user that made them or an admin. Where may I find examples of
doing similar things with asterisk? all I've
2010 May 11
4
AGI and Severe Weather Alerts
All,
I am toying with an idea of using an AGI to be able to 'call'
my phone, or phones, in case of severe weather warnings. I have been
tinkering with a script that reads from weather underground for the
forecast, based off a PHP version of a weather AGI I found on the net.
It seems rather trivial to have the AGI as a script, that does nothing
unless a condition is met, and
2020 Jan 24
4
Perl AGI: read variable with quotes
Hi Gang
I have stumbled of this problem.
I need the P-Asserted-Identity header in an AGI scrip.
In the Dial-Plan I do:
same => n,Set(PAI=${PJSIP_HEADER(read,P-Asserted-Identity)})
In the AGI I do:
my $pai = $AGI->get_variable(PAI);
This works fine, unless the PAI contains quotes:
P-Asserted-Identity: <sip:1000 at 1.2.3.4:5060;user=phone>
I get "<sip:1000 at
2014 Nov 18
2
AGI and AMI in PHP -- What's current?
I'm writing some code that needs to access AMI in PHP. (I'll probably be
doing AGI later as well.)
I'm looking at phpagi (2.20), but it hasn't been updated since 2010 and
appears to be a bit behind current Asterisk -- No event handler for event
'fullybooted'.
What PHP framework/library are you using -- and why?
--
Thanks in advance,
2007 Apr 09
3
Play audio and continue to next priority before audio ends...
Hello list members.
I would like to know how to playback an audio file to the caller, and while
it's played asterisk to continue executing the next priorities on
extensions.conf
That's not the case when using "playback" command, because the next priority
is executed until the audio file ends playing. I want to evaluate some
variables while caller hears the audio file.
Any
2009 Jun 04
2
broken pipe in perl agi
Hi gang,
Since I'm getting no joy from device_Status or SIPPEER in
1.4.26-rc1, I thought I would do an AGI to read my hints and check for line
in use that way. The AGI works fine from a prompt, but returns the dreaded
"utils.c:966 ast_carefulwrite: write() returned error: Broken pipe" when I
try to run it from the dialplan. Here is my dialplan snippet;
2009 Jul 02
1
AGI Transfer?
I've been trying to get an AGI "transfer" to work for several weeks now. It
isn't error-ing out, but it isn't working either.
I can't use "dial" in this case due to what I'm trying to accomplish.
Does an AGI Transfer actually work?
-= Info about application 'Transfer' =-
[Synopsis]
Transfer caller to remote extension
[Description]
2012 Feb 11
1
Asterisk perl AGI confusing variables
Hello all,
I'm struck with a very strange problem today. I've an AGI with some code
subroutine snippet as follows:
sub enable_sbc($) {
my $carrier = shift;
my $tmp = substr($carrier,1);
my $jkh = $tmp;
$server_port = $ast_agi->get_variable("SIPPEER($jkh,port)");
$ser_ip = $ast_agi->get_variable("SIPPEER($tmp,ip)");