Displaying 20 results from an estimated 7000 matches similar to: "AGI interaction with php"
2007 Jan 16
2
command like break ore exit in the dialpan
Hi
i have a similar dialplan:
exten => 99,1,Gotoif(....?2:3)
exten => 99,2,Meetme(100)
exten => 99,3,Meetme(100|options)
i'd like to do something like:
exten => 99,1,Gotoif(....?2:4)
exten => 99,2,Meetme(100)
exten => 99,4, ... exit ...
exten => 99,3,Meetme(100|options)
How can i exit the dialplan?
I won't use meetme twice!
Thanks nik
2007 Mar 14
3
Call center manager for Asterisk (Release 0.3)
Hi
i just want to let you know that is available a new release of ccmanager.
I've added the possibility to import queue_log information in a mysql
database and to generate reports using this information.
The software is in a beta state and provides this functionality:
- users management
- call generation (making a GET or POST request on a certain URL)
- queue management (LOGIN / LOGOUT /
2007 Jan 22
2
agi script as member in queue
Hi
i want to put an AGI script in a queue, to serve once at time the callers.
Example:
Queue (8 callers waiting)
Agi script / IVR (serving the caller)
can i do that?
Thanks
2007 Feb 03
1
misdn and prostgres_cdr on asterisk 1.4
Hi
i am upgrading an asterisk server from 1.2.4 to 1.4.
i've installed libpri 1.4
i've installed zaptel 1.4
I've installed the new version of misdn with the script of beronet.
i use this configure script:
./configure --with-postgres=/usr/local/pgsql
then:
make menuselect
[*] 1. cdr_csv
[*] 2. cdr_custom
[*] 3. cdr_manager
XXX 4. cdr_odbc
[*] 5. cdr_pgsql
XXX 6. cdr_radius
2007 Jun 19
2
PhpAgi call generation
hi
i'd like to write a simply application in php with phpAgi that:
- connect to Asterisk
- call an external number using a Zap channel
- play a message
here is some code:
<?php
$asm = new AGI_AsteriskManager();
if ($asm->connect()) {
$asm->Originate("Zap/g1/1","number","default","1");
/*
play message...
*/
} else {
2006 Apr 07
1
transfer call after advise
i am developing a web application to manage callcenter, i will shortly
release it on sf.net
this is my problem:
i will grant to users the possibility to transfer calls to other users
using a web interface,
for example if SIP/200 is talking with SIP/400 who wants to transfer
the call to SIP/500 i use this commands with manager API:
Action: Redirect\r\n
Channel: SIP/200-sads\r\n
ExtraChannel:
2006 Dec 07
1
queue member refresh
I am experiencing this:
1 - A,B,C are SIP users logged on QUEUEA with ringall strategy
2 - I call QUEUEA
3 - A,B,C start ringing
4 - nobody answer....
5 - D logs on the QUEUEA
6 - D doen's receive any call, but A,B,C are still ringing
How can i avoid that?
I'd like that when D joins the QUEUEA it will immediately receive the
call that is still ringing on other users...
Thanks in
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 Feb 12
1
phpagi - Event "On Hangup"
Do you know if it is possible to handle some events with phpagi?
For example:
On hangup (doesn't care if by caller or by asterisk) do something....
Thanks
2007 Jan 15
3
php agi - first phrase truncated, all others fine
I have the following code. When I call the extension, it either ignores the
first "Hello there everyone", or says "hello" and moves on sometime stoping
before it finishes hello. The rest of the text reads fine. Anyone else
have this issue??
Thanks!
require('/var/lib/asterisk/agi-bin/phpagi.php');
$agi = new AGI();
$agi->answer();
2007 Mar 07
3
asterisk and ssl
what is the support in asterisk for ssl voip protocols?
I am looking for a solutions to grant the possibility to some users to
use an asterisk server as a proxy voice, for talking each them in a
safe and secure mode on internet.
Is it possible?
thanks
2014 Sep 23
2
read digits from the user through php agi script
hi everyone,
actually i want to release an IVR system using PHPAGI API , in this IVR i
want to get value from the user.
I already used get_data defined in phpagi but they are not able to get the
value given by the user and store it in a php variable.
i tested this :
$result = $agi->get_data('beep', 3000, 20);
$keys = $result['result'];
but every time i found in $keys variable
2006 Dec 27
1
php agi trixbox help
I have this code which was taken from the phpagi project page along with the
following in extensions_conf and the output from the asterisk CLI. When I
call the 311 extension, I does nothing then hangs up. What am I doing
wrong??
----php code------------
#!/usr/local/bin/php -q
<?php
set_time_limit(30);
require('phpagi.php');
$agi = new AGI();
$agi->answer();
$cid =
2007 Feb 22
3
queue information into db
Hi
the new asterisk 1.4 supports to store queue log information directly
into a database? (like CDR) ?
thanks
2009 Jun 04
3
PHP/AGI/SetVar Issue
Is there a limitation to the number of variables you can set from a PHP agi
script? I have a simple example and I can't get it to let me set more than
1. I am pretty sure I am just missing something, but I've searched all over
an can't find the answer. Here is the extensions.conf part:
exten => _XXXXXXXXXX,1,AGI,diallocal.agi exten =>
_XXXXXXXXXX,n,NoOp(${ISLOCALCONTEXT})
2012 Jan 12
1
how to set callerid in php AGI file.
Hi,
I am using phpagi for agi scripting. and want to update callerid number but
didn't get any success. please help me how to update PHPAGI is new for me.
Below is the code which I write.
#!/usr/bin/php -q
<?php
set_time_limit(30);
//require(.phpagi.php.);
include("phpagi.php");
$agi = new AGI();
//answer the call
$agi-> answer();
2005 May 25
15
PHP/AGI Problem
Hi
I am currently developing a IVR application using
PHP/AGI. I am using the PHPAGI class at
http://phpagi.sourceforge.net/ to handle the
commuication with my *.
The application basically asks a caller to enter in
some information which is then processed and a answer
is read back out to them. I want the application to
loop back to the beginning after giving the answer so
they can try another
2006 Feb 06
1
php agi configuration issue
Hi all,
I would like to eliminate about 150 lines in log /var/log/messages) every
time a call is placed/received
If I type, on the asterisk console,
set verbose 0
the lines in the log disappear, but it appears to me too drastic as a
method....
The lines shown in the log don't appear (at least to me) very critical: no
problems at all are shown.
Isn't any way to turn off this debug ? I
2005 Jun 20
3
AGI/PHP errors
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 2593 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050620/a0fda201/attachment.jpeg
2006 Nov 29
1
AGI PHP Issues (Not new to Asterisk but new to AGI)
Sorry to bother you all with what is probably a simple question.
I am attempting my first go at a simple AGI application using PHP (Getting
Asterisk to SAY PHONETIC ABC). I have dabbled with PHP but I am by no means
a professional standard developer.
My script seems to execute ok, and I can see asterisk playing the sounds but
my phone goes from ringing to busy, and I don't hear the