Displaying 20 results from an estimated 2000 matches similar to: "PHPAGI daemon/background task?"
2016 Aug 10
2
Replacement for phpagi?
Anyone know a good replacement for phpagi? Unfortunately
development stalled long ago and it has not been updated. What is the
best solution for AMI and AGI on PHP? Thanks.
--
Telecomunicaciones Abiertas de M?xico S.A. de C.V.
Carlos Ch?vez
+52 (55)9116-91161
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 {
2009 May 29
1
how to detect dtmf in meetme
hello
i want to kick participant in a meeting by pressing the digit on sip phone.when i entry the meeting ,no matter how i press the button,the dtmf does not work.
here is my dialplan and my agi script,and sip.conf
[from-internal]
exten =>121,1,MeetMeCount(900,CONFCOUNT)
exten =>121,2,GotoIF($[${CONFCOUNT}<10]?3:100)
exten =>121,3,Authenticate(123456)
exten
2009 Mar 26
3
show pri usage
Hi,
I would like to know how to see which channels are used in my PRI E1 link from Asterisk to another locally-connected commercial PBX.
If I run "dahdi show channels", I can see the used channels in the second column "extension" but only if it's an "incoming" call (ie. legacy PBX to Asterisk).
If I dial from an Asterisk extension to an extension in the other
2008 Mar 19
3
phpagi
Hello,
How do I install phpagi?
http://phpagi.sourceforge.net/
I couldn't find any info about setup in that site, and I couldn't email the
developers.so I'm lost.
I know it isn't a real question for this list, but I suppose many people
here already have installed it.
So, how can I install it?
Thanks
Carlos
-------------- next part --------------
An HTML
2005 Jun 09
1
PHPAGI Swift Escape Digits
I am trying to use swift in PHP/AGI.
function swift($text, $escape_digits='', $frequency=8000, $voice=NULL,
$fnameIn='')
During swift speaking some text I want the caller to be able to press
1, 2 or 3 to do thing 1, thing 2 or thing 3.
How are these digit defines and then caught?
Thanks,
Michael
2006 May 23
2
Outband call from php script
Hello,
I am trying to make the following... Can someone tell me if it is
possible? Is someone willing to do it from an asterisk@home box?
1. I send an http request to asterisk@home box.
Ex: http://asterisk@home/call.php?phone=0033102030405&code=12345
2. Application will call phone number 0033102030405 (using a sip provider)
3. Application will play a pre-recorded voice prompt
4. Application
2005 Aug 01
1
How to install PHPAGI?
Hello everyone,
Where can I find instructions on how to install PHPAGI?
BTW, what's the difference between PHPAGI and PHPAGI2? Are they
different products? It's hard to tell from voip-info.org...
Best,
Leo
2005 May 24
3
PHPAGI problems
Hi
Here is part of my extensions.conf
exten => 8661231234,1,agi,dtmf.php
When I dial this number, this is what I see in my asterisk console:
-- Accepting AUTHENTICATED call from 198.22.67.70:
> requested format = gsm,
> requested prefs = (),
> actual format = gsm,
> host prefs = (gsm|ilbc|speex),
> priority = mine
-- Executing
2010 May 14
1
is my PHPAGI Soap code right?
Hello,
i try to use soap in the phpagi.
i want to call a function from a web service
when a user call a telephne failed.
this is my phpagi script, Could you show me what's wrong ? becasue i
can't excute it successfully.
please open the following url to see my code:
http://pastebin.com/uzvWSxPy
Thanks!
--
Thanks for your supporting,
have a nice day.
Sucan
2009 Aug 18
1
Play Fake ring in phpagi
> I'm going blind searching - maybe you know?
>
> During the execution of a script I want to play fake ring to caller.
> Both of these examples complain of missing option:
>
> $agi->exec("Ringing");
> $agi->exec("Playtones ring");
>
> Notice: Undefined variable: options in
> /var/lib/asterisk/agi-bin/includes/phpagi.php on line 326
2007 Jan 15
1
phpagi transfer example
Hi, i want to to this thing with php AGI:
#!/usr/local/bin/php -q
<?php
set_time_limit(30);
require('phpagi.php');
error_reporting(E_ALL);
$agi = new AGI();
$agi->answer();
$cid = $agi->parse_callerid();
$agi->text2wav("Hello, {$cid['name']}.");
$agi->text2wav('Enter some numbers and then press the pound key. Press
1 1 1 followed by the pound key
2008 Jan 18
2
SAY TIME + PHPAGI + Timezone
Hello All,
Is there any way to change the timezone on the fly? I have this little
time clock program running on Asterisk system developed using PHPAGI.
Currently, whenever user logs in, Asterisk will prompt the current
system time using "$agi->say_time();" which executes "SAY TIME". Now the
current timezone set on the system is "PST", and I have a request to
2010 Apr 04
1
[OT] phpagi help
Hi,
I am attempting to connect to the blacklist database using PHPAgi and it always seems to hang. The code snippet I am trying is:
$r = $agi->get_variable("CALLERID(num)");
$cidnum = $r["data"];
if ($cidnum < 1000000000) # No valid callerid.
{
exit(0);
}
$r = $agi->database_get("blacklist", "$cidnum");
if ($r["result"] ==
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
2013 Apr 17
1
Phpagi action based on outbound call user response
Hello List,
In PHPAGI, I'm using the Astrisk Manager function send_request() to
originate an outbound call. I want to execute the remaining PHP code after
the call gets executed (depending on user input). But presently the call
originates in a different context and asterisk executes the remaining code
in parallel.
Is there a way in which I can pause the code execution until the call is
2008 Oct 05
5
asterisk, phpagi and singleton
Hello,
I've this situation: 300+ simultaneous calls and dialplan like this:
exten => _X.,1,Answer()
exten => _X.,2,DEADAGI(check_status.php)
exten => _X.,3,Dial(SIP/other/${NUMBER})
exten => _X.,4,Hangup
exten => h,1,DEADAGI(cdr.php)
When project is running , I had a lot of defunct php scripts (I've exceed
mysql connection limits and so on, deadagi help a bit). The
2012 Oct 02
2
Questions on converting to ConfBridge
I'm looking at what would be involved in converting from MeetMe to
ConfBridge and there seems to be a lot of missing administrative things,
but I hope I'm just missing it. We all know about the missing realtime
linkage. That's a major nuisance, but can be worked around.
More serious is that the CLI command to display users in a ConfBridge
don't show the caller ID information, so
2007 Sep 13
0
[phpAGI] generate a call from a SIP device to Asterisk
Hi
i need to generate a call from a SIP hardware device to Asterisk.
The device isn't registered with a sip account to Asterisk.
What i've done, is to do this (using phpAGI):
.....
$asm->Originate(SIP/user_on_device at ip_of_device,2000,"default","1");
.....
And on the extension 2000 in the context "default"
exten => 2000,1,ChanSpy(|g(100))
exten
2006 Dec 27
8
1.4.0, IMAP and Dovecot
I thought I would give the new IMAP support a spin on my home
server, but without much luck so far.
Asterisk 1.4.0
Dovecot 0.99.14
Maildir format
C-client 2006d
The imap server is also the Asterisk server, so connections are
on the localhost.
The error posted to the logs is:
IMAP Error: Can't open mailbox
{127.0.0.1:143/imap/authuser=root//user=dan_austin}INBOX: invalid remote
specification