Displaying 20 results from an estimated 30000 matches similar to: "user entry as variables"
2009 Feb 25
5
AGI problem using mono (.Net)
Hello.
I have a software developer creating a .Net / mono program to use as an
AGI script. We are having problems getting it to stream files. From what
we can tell, it is talking to asterisk correctly when called from the
dial plan. Its stderr output goes to the asterisk console. But asterisk
doesn't give any indication that it receives the STREAM FILE command.
Asterisk simply quickly
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)");
2009 Mar 25
3
OT: Accountless, free, skinnable, browser based SIP client wanted
I have a client that wants to put a phone on their web page for customers
to call them via their Asterisk server.
) A keypad is needed to enter credit card details.
) "Speed dial" buttons like "Tech Support," "Sales," etc. are a
requirement. Actually, passing the SIP address in the HTTP link would work
with a bit of arm twisting.
) Free is preferred, but not a
2010 Mar 30
2
Priority based softhangup
Hi,
Is it possible to softhangup a channel based on priority. I mean I
want to put some calls in higher priority lets say 100. If all
channels are busy and somebody wants to dial an extension with
priority higher than 100. How can softhangup drop a line which has
priority less than 100? I will appreciate your valuable help.
Thanks
Smir
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
2009 May 05
6
Preferred language for Asterisk AGIs development ?
Hello,
We are going to start development for a product based over Asterisk.
According to you, which is the preferred language for AGIs / IVRs
development in Asterisk. I got opinions that Perl is going to be replaced by
PHP for all future developments.
--
Kashif Naeem
Business Development Manager
Hadi Telecom
www.haditelecom.com
Cell: +92 (0)345 4226006
Office: +92 (0)42 5692766
Email: kashif
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
2010 Jun 30
2
Pbx_lua vs. calling lua thru AGI?
Hello
I'm taking a look at how to write scripts to be called from the
dialplan, and saw pbx_lua mentioned.
I'd like to know more about this feature, such as what the difference
is with just calling the Lua interpreter through AGI (same difference
as between php-cgi and mod_php?), whether it's production-ready, etc.
Thank you for any help.
2009 May 22
4
How to stop a background music
Hi Guys,
I would like to know if is there a way to actively stop a Background()
music?
Thanks,
Noel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090522/1e317b99/attachment.htm
2010 Aug 06
2
How to reuse mysql connection between AGI's
Hey, Is there any way to share?MySQL?connection between different agi's.Actually when call comes to asterisk box it executes various agi scripts sequentially. Each script checks various values by making a new?MySQL?connection and then execute query and then disconnects.?
So,?Ideally?there should be one connection, and it should be reused between each agi and when a call is over it should be
2016 Oct 03
2
Synchronous dialplan execution for feedback while processing speech recognition and voice synth, for example.
I've got an agi that recognises speech (via Google) and another that turns
text into speech (tts) (via Microsoft Translate).
Both are web APIs, both called via seperate python AGIs.
I've googled and I'm probably missing something pretty newbie 101 here, but
is there any way, or fiddle, that I can play some audio to let the caller
know that their weather forecast is being fetched,
2019 Jun 07
4
Find out which key ended recording?
Hi Steve,
What language is that please? We're using Perl and so far I haven't found
an equivalent there.
Thanks for your help.
On Fri, 7 Jun 2019 at 12:10, Steve Edwards <asterisk.org at sedwards.com>
wrote:
> On Fri, 7 Jun 2019, David Cunningham wrote:
>
> > We have a need to record audio and allow the user to press any DTMF key
> > to end the recording.
2012 Jan 06
1
Why write your dialplan using Lua?
Hello,
Reading through the Wiki:
"Asterisk supports the ability to write dialplan instructions in the Lua
programming language. This method can be used as an alternative to or in
combination with extensions.conf and/or AEL. PBX lua allows users to use
the full power of lua to develop telephony applications using Asterisk"
My question is, what is the benefit of using Lua? I recently
2019 Jun 06
2
Find out which key ended recording?
Hello,
We have a need to record audio and allow the user to press any DTMF key to
end the recording. Currently we're using the AGI command "record file"
which does allow us to specify which DTMF keys can end the recording.
However we also need to know *which* key actually ended the recording. Note
that only allowing # or * to end the recording won't work for us.
Does anyone
2009 Apr 20
2
Execute after hangup
What is the syntax to progress with a dial plan after hangup please?
Michael
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.
2010 Jun 05
5
Controlling calls
Hello folks,
I want to write an AGI script doing this:
1-user call a number.
2-asterisk call the agi script
3-the script dial the peer
4-if the call is answered, let the call up for 1min
5-then the script hangs up the channel.
I tried either in php or in java but no success.
In java i did this:
//////////////
exec("Dial", "IAX2/400");
boolean t=true;
while(t){
2010 Jul 30
2
agi macro problem
I am trying this approach to see who picked the line:
Here is what i am doing:
EXEC DIAL SIP/ vaso &Zap/35||M(testing^30086)
Macro:
[macro-testing]
exten => s,1,DumpChan()
exten => s,2,AGI(whopicked.rb)
exten => s,3,Hangup()
2009 Sep 08
2
1.2 AGI Deadlock
I am running 1.2.34 (also tried on 1.2.32) and whenever I launch an AGI, I
get the "avoided deadlock" message below.
*CLI> == Spawn extension (CONTEXT3, 6080, 8) exited non-zero on
'SIP/3211-1-081c40a8'
-- Executing NoOp("SIP/3211-1-081c40a8", "") in new stack
-- Executing AGI("SIP/3211-1-081c40a8", "diallocal.agi") in new
2010 Aug 11
2
channel variables in AGI
Hello,
How to take the values of channel variables like 'agi_uniqueid' and
'agi_callerid' in agi script.
For example
#!/bin/bash -x
T="$agi_uniqueid"
I want to save value of 'agi_uniqueid' channel variable into a variable
called 'T' in my script
-------------- next part --------------
An HTML attachment was scrubbed...
URL: