similar to: Using php exec() in agi script

Displaying 20 results from an estimated 20000 matches similar to: "Using php exec() in agi script"

2006 Mar 31
5
Dial from php
Hi all, Here is the situation. Linux workstation access a web page on a web server (not the one running Asterisk). From that web page, we need to initiate a dial-out on the Asterisk server and once the call is connected, it must ring on the agent's hard phone. Any pointers about how to initiale an Asterisk call from a remove web server? Thanks, Andre Courchesne
2007 May 07
2
Queues: Play a list of sound file n round-robin at a specific interval
Hi, Anyone knows if there is a way to play a list of sound file in a round robin mode (at specific interval) while someone in waiting in moh in a queue? Ok, you enter a queue and wait listening to moh, every X minutes a sound file is played from a list of sound files to be played. If that possible and if so how? Thanks for any pointers. Andre
2006 Apr 13
3
Display "Confideltial" or "unknown" on called id display
Hi, When making a call from an Asterisk box over a PRI connection, I am able to set the Caller ID phone number to what ever I want. This works find. How to I make the called party callerid display "Confidential" or "unknown" as we sometimes see ? Andre
2006 Mar 31
1
Play wav while in connection with a caller
Hi, For thanks to everyone that answered the "dial from pph". On an other subject, how would I go about playing a wav file while talking to someone over a Zap channel ? Let me explain. I am on line with someone. I want him to hear a WAV (or mp3) sound file. I punch a key on my phone keyboard and he hears the sound file and after we can continu talking. Any hints
2006 Apr 13
1
Display "Confideltial" or "unknown" on called iddisplay
Prepend *67 if your carrier allows it Thanks, Steve Totaro http://www.asteriskhelpdesk.com > -----Original Message----- > From: Andre Courchesne - Consultant [mailto:courchea@net-forces.com] > Sent: Thursday, April 13, 2006 12:02 PM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] Display "Confideltial" or "unknown" on called > iddisplay
2007 Jan 11
1
Queues Service Level
There seems to be something about SL for queues since when the show queues CLI command is used, it give something like "SL:0.0% within 0s": pbx*CLI> show queues 1 has 3 calls (max unlimited) in 'rrmemory' strategy (243s holdtime), C:174, A:9, SL:0.0% within 0s Members: SIP/1242 (dynamic) has taken no calls yet SIP/1251 (dynamic) has taken 4 calls
2006 Nov 15
2
safe_asterisks pawning multiple asterisk process???
We have 1 server that after a few hours operating has multiple process of asterisk running. Here is the pstree output: # pstree init-+-atftpd |-auditd---{auditd} |-bash---safe_opserver---op_server.pl |-crond |-cwASTcall.pl |-dbus-daemon |-events/0 |-hald-+-hald-addon-acpi | `-2*[hald-addon-stor] |-httpd---3*[httpd] |-khelper |-klogd
2007 Aug 02
3
PRI/T1 data rate...
Hi all, First, this is not my first PRI/T1 Asterisk deployement. Did several with Bell, Telus, AllStream, Rogers but this is my first with Videotron. Just spoke with the person taking the order and on top of the standard settings (switch, coding,...) she asked me about data rate (56k or 64k). Since I have never been asked this question before and can find anything relevant in the
2008 Dec 05
2
async agi question
Hi, I am developing asterisk support for our application using the Async AGI and Asterisk-Java. One thing I haven't been able to implement is how to stop playing a sound. Something similar to StopIO for Dialogic GlobalCall or DivaStopSending for Eicon. Is there any way to achieve this today which I have missed? Or could someone give me hints on how I could implement this in the res_agi.c The
2007 Nov 20
1
How to receive manager events from commands made by an AGI script?
Hi all, I'm new on this list, my name is Noel. :D I developed a system using AGI and now I'm trying to develop a system that listen events fired by Manager API. I have realized that I don't receive events from commands made by an AGI script like "play a file" or "record a file". Is there a way to receive such events? Sorry about the poor English. Thanks in
2006 Apr 19
4
Ring a grop of extension, then playback a file, then transfer to external number
Ok, Here is what I got working: A call comes in from a Zap line. 5 SIP extension ring if nobody picks up, the call is transfered to a cell phone number. That works. I not want to add a playback of a file ("Please waite while you are being transfered") before transfering the call to the cell phone. How can I do this? Andre
2006 Oct 30
3
Live creation of trunk groups
Hi, Is there a way to create trunk groups while asterisk is running. For exemple let's say that zapata.conf defines g0 as channels 1-23 I would like (while asterisk is running) define g1 as 1-10 and g1 as 10-23 Any hints appreciated. Andre Courchesne
2006 May 08
1
UpState NY SIP provider
Hi, Anyone has good/bad experience with SIP providers in upstate NY? Any recommendations of such provider who works great with Asterisk? Thanks, Andre Courchesne
2004 May 20
2
AGI/php script not working
Dear all I am just getting started with AGI so I wrote the following script as a simple test but all that happens is silence before it times out and hangs up can someone help to get me started? yet if i use the agi-test.agi script everything works I don't see the difference Thanks php -q <?php fputs(STDOUT 'SAY NUMBER 123 "#*"\n'); $lin =
2007 Aug 23
3
[PHP-AGI] Problem executing script
Hello,I have succeded in compiling and configuring My TDM Card and asterisk, all works fine. But I have a problem using the PHP Agi.The CLI tells me that when I call my number :-- Starting simple switch on 'Zap/4-1' -- Executing [s at incoming:1] Answer("Zap/4-1", "") in new stack -- Executing [s at incoming:2] AGI("Zap/4-1", "rabot.agi") in
2005 Oct 13
2
Incomming call line identification (NOT CallerID)
Hi, Ok, here is the setup. Asterisk conected to a PRI line (23 lines). 3 tool-free phone numbers are routed to this PRI line. Customer wants to have a way to have shown on the receptionist phone that the call comes from which of the 3 tool-free lines. Possibly display on the phone that the call comed from tool-free number 1, 2 ou 3 or even better a name or text id associated with this
2009 Oct 29
1
Async Agi problem
Now that everything seems to rock I've hit the next hurdle. In my extensions.conf I have the extension: [agi-async] exten => _01XXXX,1,Agi(agi:async) and I can see that the context is "hit" when dialing into *. However my java app that's supposed to receive async agi events get no such events at all, but it does receive other manager API events. * version is 1.6.1.4
2008 Mar 24
2
Getting Exec Format Error when running AGI call
Dear friends, I am having problem with running a sample php and I can't figure out why. I can run the sample.php using CLI but when I run it inside the dialplan it does not work. Can someone please suggest the config problem that I may have made? dommy:/var/lib/asterisk/agi-bin# php sample.php #!/usr/bin/php5 -q VERBOSE "Here we go!" 2 VERBOSE "Call from - Calling
2009 Apr 23
3
AGI PHP script
I have the below script that doesn't seem to be working. I don't know if I have something in the script wrong that I am just missing. Or if I don't have the php.ini set correctly for emailing This is the CLI output -- Executing [4099XXXXXX at port3_real:1] Goto("DAHDI/50-1", "newhire,s,1") in new stack -- Goto (newhire,s,1) -- Executing [s at
2004 Aug 26
2
<<< AGI and EXEC function CONFIRMATION >>>
Howdie- Can anyone please confirm that the BACKGROUND application does ***NOT*** return IMMEDIATELY when called from within an AGI EXEC command? It seems that EXEC waits until DTMF or THE END OF THE AUDIO FILE to return to the AGI script. This essentially prevents repeated calls to BACKGROUND (or I assume any other asterisk dialplan application) from within an AGI, and prevents