similar to: First AGI help..

Displaying 20 results from an estimated 2000 matches similar to: "First AGI help.."

2006 Dec 18
2
AGI Help Please
List, I finally decided to break down & start playing with AGI scripts, but for the life of me, I can't figure out what I am doing wrong. Below is a super simple script to run a query in mysql to see how many call records there are for the extension calling in, then print the total in the CLI. This is all I get on the CLI: -- Executing AGI("SIP/216-0baa",
2006 Jun 02
1
PHP-AGI help
Can someone help me with this AGI script to send an email. It just isn't working. The file is being called in the dialplan and is saved as em.agi but it isn't sending the email. #!/usr/bin/php4 -q <?php ob_implicit_flush(true); set_time_limit(6); $in = fopen("php://stdin","r"); $stdlog = fopen("/var/log/asterisk/my_agi.log", "w"); //
2003 Nov 10
3
AGI and PHP
i've just spent the pass 2 days trying to get AGI to work with PHP; i made a lot of silly mistakes along the way which could have been avoided if only there were some kinda howto or samples. at the risk of looking stupid, i decided to shared my experience in hopes that it might help some newbie get going with PHP. 1. first order of business is to be aware of your php environment; i m NOT
2005 Oct 12
3
AGI and set_callerid for number and name
Hi, I've been trying to use the set_callerid function in the AGI. It sets the CallerIDname properly but I can't figure out how to set the CallerIDnumber. Is it at at possible ? Cheers. SL
2005 Aug 04
1
Callback question
Hi, I'm interested in a callback feature where I can dial my Asterisk, then hangup and Asterisk will call me back and I can then place phone calls or whatever I want to do. And also, if I've got voicemail I want Asterisk to call me back as well. Are there any scripts for this available? Any help would be apreciated! Best regards, Christian
2010 Jan 11
0
PHP-Script (AGI) doesn't finish after upgrading to 1.6.0.15
Hi, I recently upgraded our asterisk server from some 1.4 version to version 1.6.0.15. From this point on my AGI scripts aren't working anymore, here is a simple example: [isdin] exten => 83086921,1,AGI(test.php) exten => 83086921,2,NOOP("MARKE1") exten => 83086921,3,WAIT(2) exten => 83086921,4,Hangup() /var/lib/asterisk/agi-bin/test.php
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
2003 Dec 29
1
Agent setup
Dear Group, I have been successful in setting up the Agents, queues and getting agents to log in. Is there a way that I could configure the system so that the agent is called back. i.e. the agent logs into the system, a call is destined for them and their phone rings. If some one has this setup I would be very interested in hearing from them. Warm Regards and Thanks --------------- Shad
2005 Mar 05
1
SAY DIGITS problem
Hi, I have a problem using AGI cmd "SAY DIGITS". For some reason I cannot here any thing when the script got executed. However if I use the cmd "SAY NUMBER" I can here * reading the number fine. I am running asterisk-1.0.6 and below is my PHP script. Help please. - Natt #!/usr/bin/php -q <?php ob_implicit_flush(true); set_time_limit(10); /*
2003 Jul 07
5
Direct entry to your own voice mailbox
Hi, There is any possibility to dial a specific extension and then enter in your own mailbox (the one defined for that specific SIP phone) without asking for the exxtension number but only for the password? I want to be the same extension for all phones, not a specific one for each of them. It is possible to have a time stamp in the recorded message? I want to know when the message has been
2005 Mar 27
6
pass caller ID to another application or machine.
I would like to have asterisk pass along the caller ID phone number to a database server on a my local network (the same network that the * server resides on ) so that our customer service app. can pull up customer data automatially. Asterisk passes along caller ID to the phones fine, can someone tell me how to make it pass this info to my database server? Any suggestions would be greatly
2003 Nov 13
0
2 AGI questions..
Question 1.. Do the "say number" and "say digits" commands in AGI scritps work? If I use "EXEC SayNumber 123" it works but is I try "say number 123" it doesn't.. I think I have the syntax right becaasue thats how its shown when typing "show agi" on a console and also on the agi pages I have looked at.. Question 2.. Can an AGI script be
2003 Dec 10
0
Trouble with AGI and SAY DIGITS and WAIT FOR DIGIT using PHP
Hi there, AGI is partially not working for me with SAY DIGITS, SAY NUMBER, WAIT FOR DIGITS etc. It appears that result is always one for any function that looks for user input, regardless of which key was pressed. Playing sound is only possible using EXEC. This applies to two * servers with RH 7.2 and RH 7.3 and very recent CVS. Any suggestion or tips about where I goofed? Thanks, Philipp
2008 Feb 06
0
Problem forwarding a call with an AGI script
Hi, I'm trying to achieve the following: Incoming call for user A (97), user A make a blind transfer to user B's phone (96). User B's phone rings and since there is no one to take the call, it returns the call to User A with an AGI script. The dialplan looks like this: [local] .... exten => 96,1,Dial(SIP/user4,10,tr) exten => 96,2,AGI(transfer.php) exten =>
2009 Oct 02
0
Sending a DTMF remotely with PlayDTMF problem.
Hello, I need to be able to send a DTMF to an existing channel remotely. So I made a php script to do such with the Manager command PlayDTMF. I need it for example to start a transfer. isb177*CLI> features show Builtin Feature Default Current --------------- ------- ------- Pickup *8 *8 Blind Transfer # #8 Attended Transfer
2009 Oct 03
0
Problem sending a DTMF remotely. Please need help...
Hello, I need to be able to send a DTMF to an existing channel remotely. So I made a php script to do such with the Manager command PlayDTMF. I need it for example to start a transfer. isb177*CLI> features show Builtin Feature Default Current --------------- ------- ------- Pickup *8 *8 Blind Transfer # #8 Attended Transfer
2009 Oct 06
0
Problem sending a DTMF remotely. Please need help!!!
Hello, how are you? I need to be able to send a DTMF to an existing channel remotely. So I made a php script to do such with the Manager command PlayDTMF. I need it for example to start a transfer. isb177*CLI> features show Builtin Feature Default Current --------------- ------- ------- Pickup *8 *8 Blind Transfer # #8 Attended
2009 Oct 05
1
Problem sending a DTMF remotely. Please need help!!
Hello, I need to be able to send a DTMF to an existing channel remotely. So I made a php script to do such with the Manager command PlayDTMF. I need it for example to start a transfer. isb177*CLI> features show Builtin Feature Default Current --------------- ------- ------- Pickup *8 *8 Blind Transfer # #8 Attended Transfer
2004 Jul 14
0
Having serious problems with AGI
Hi All, I've been working with AGI for the past week or so building a fairly complex IVR system with database functionality. Most of the work up to this point has been with basically one-way scripts that look up some info in the database and say the data back to the user with the "EXEC Playback my-file" AGI command. However, now I am working on scripts that need to accept user DTMF
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 =