similar to: Explain AGI and AMI

Displaying 20 results from an estimated 20000 matches similar to: "Explain AGI and AMI"

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,
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,
2016 Jun 30
3
how to join 2 channels using AGI/AMI
sorry for top-posting, the two topics started with 2 different reason subject, but then we finished on the same problem. btw,the 2 show channel are reported above: the channel with DTMF working kcenter*CLI> core show channel SIP/pbx2-000004b9 -- General -- Name: SIP/pbx2-000004b9 Type: SIP UniqueID: 1467323106.1275 Caller ID: xxxx Caller ID Name: xxxx
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
2016 Jun 30
2
how to join 2 channels using AGI/AMI
this is the point, and the strange thing: DTMF is set to rfc2833, but is working both on incoming and outgoing calls, it is not working only on calls generated with the Originate AMI command, or with the queue member that point to Local dialplan, as you suggested 2016-06-30 22:53 GMT+02:00 John Kiniston <johnkiniston at gmail.com>: > Looking at your logs it looks like you may need to
2011 Apr 05
4
agi voicemail callback
I'm wondering if there is a simply way to perform a voicemail callback feature using AGI. For instance, a caller leaves a voicemail, the voicemail will then call the owner of the voicemailbox determined by a database look up. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Apr 13
2
Possible AGI bug?
Hello all, I wonder if somebody could provide me with some advice on how to track what looks like a bug to me: I've got a PHP AGI script that is called whenever I dial into the system and also whenever I issue a specific Originate() request via AMI. The script works fine when I dial in. However, when I run it via Originate(), it sometimes does not play anything, sometimes plays part
2009 Nov 20
1
PHP AGI : handle Event /AGI session
Hi all, I need some advice to know how to handle event in a PHP agi. do you have an exemple of how to it ? more over I need some advices. currently I have the following SW architecture someone send a URL to call someone a PHP script (script 1) is launch and in its I configure Astmanager in order to make an originating call then my script stop running and Asterisk continue processing the call in
2020 Jun 13
1
Any api (agi/ari/ami) equivalent of "core show calls"?
I'm parsing ` sudo asterisk -rx "core show calls" | grep active | head -c 1 ` as an external call from within the Asterisk dialplan then passing it to agi, but this seems really hacky and ugly. However, I cannot find any ARI/AGI/AMI function (or global variable I can get with agi) which shows me this. Any ideas?!? In case it helps and you're wondering why... I need to ensure
2020 Jun 14
1
Any api (agi/ari/ami) equivalent of "core show calls"?
Thank you... but "just update the database" - hmm, what database? Did you mean ARI? I still can't find the command! The asterisk wiki is somewhat, um... spread around! On Sat, 13 Jun 2020 at 16:56, Steve Edwards <asterisk.org at sedwards.com> wrote: > > On Sat, 13 Jun 2020, Jonathan H wrote: > > > I need to ensure that a MusicOnHold stream is only running when
2011 Feb 18
1
[1.4/AGI] CHANNEL STATUS never "down & available"?
Hello I'm using an AGI script in Lua to make a callback through Zaptel. For this to work, I must wait until the channel is idle, or I get this kind of error, even after waiting over 10 seconds after the remote end rings once and hangs up: ============== channel.c:2863 __ast_request_and_dial: Unable to request channel Zap/1/123456 pbx_spool.c:341 attempt_thread: Call failed to go through,
2011 Mar 08
1
(fast) AGI and AMI synchronization ?
Hi, I've been developing some CTI software around asterisk for a while, mainly with the help of AMI and fast AGI. It works quite fine, but I have some trouble sometimes with the un-synchronized property of these 2. Let me explain, we have a dialplan like this one : exten = s,n,UserEvent(useful_input_data) (...) a few actions exten = s,n,AGI(agi://127.0.0.1:3333/fetch,queuename) The idea is
2007 Nov 28
2
Billing/Call Control engine : AGI scripts/ AstMan API
Hello ppl, Have implemented a really nice Billing engine using AGI scripts. So far it works fine, tho haven't yet put it in the torture cell. The AGI scripts have been written in PHP, using MySQL for the billing and profile information. The major disadvantages I see using AGI scripts : 1. A new process(invocation of PHP scripts) on every new call. 2. MySQL connections on every instance of
2009 May 05
4
AMI + AGI for outbound click to dial
Hey Gang, Trying to figure out how I can do the following (have each part working individually but drawing a blank on combining) 1) click on-screen which sends an AMI originate (works fine) 2) the originated call is to an internal extension that looks up the number to be dialed (works) 3) then via Perl, adding in a SIPAddHeader for answer-after=0.. (works separate from the above) What I
2010 Nov 27
3
How to hangup all channels
Hi guys, I'm using Asterisk 1.4 and i need a way to hangup all channels. I want to use the teleyapper system for broadcasting call for security reason but i need that all channels are free when a security call is ready to start! I already search in the old post without success. Can anyone help me? Thanks and sorry for my newbie english -------------- next part -------------- An HTML
2014 Oct 02
1
Sent ami event from AGI?
hello, is there way to send event to all ami clients from AGI script? Sent from my iPhone
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
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;
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
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]