similar to: Manager API in PHP

Displaying 20 results from an estimated 6000 matches similar to: "Manager API in PHP"

2007 Jul 09
10
Monitor events?
Hi all, I would like to know if there is any possibility to send an event when a call is monitored? For both start and stop monitor. There is no event sent on asterisk 1.2 for that monitor case. I did not find any changes regrding that on 1.4. Am I wrong? Is it even possible to send an event when a monitor starts or stop ? Or is this a bad idea. Regards, Daniel
2005 Sep 15
3
${DIALSTATUS} problems
Hi. I'm dialling two numbers - one that's unobtainable, one that's busy. ${DIALSTATUS} is coming back ANSWER each time right before the channels hang up. Am using the following dialplan macro to dial out. [macro-advdial] exten => s,1,Dial(${ARG1},20,g) ; Ring the interface, 20 seconds maximum exten => s,2,Goto(s-${DIALSTATUS},1) ; Jump based on status
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
2006 Jun 09
1
hangup extension
I've been testing the debug version of AstTAPI, which worked for a few calls, then a bit later in the day (and ever since), when the call is hung up, the TAPI client doesn't get notified. Looking at the server logs, The TAPI message that is sent upon hangup, isn't being sent. exten => h,1,UserEvent(TAPI|TAPIEVENT: LINE_CALLSTATE LINECALLSTATE_IDLE) This is in the same context as
2014 Dec 16
3
broken pipe question
I am running a heartbeat... Asterisk 11.15.0 - same behaviour is noticed on 1.4.43 also I issue a call through the API that does the below. just UserEvent and Hangup -- Executing [s at heartbeat:1] UserEvent("Local/s at heartbeat-0000000f;2", "HeartBeat, Noop") in new stack -- Executing [s at heartbeat:2] Hangup("Local/s at heartbeat-0000000f;2",
2009 Apr 24
1
FOP and UserEvent()
Hi all, I try to install FOP. It's very nice. In documentation I red that from my dial plan I can launch a popup window with UserEvent() application. I try to follow FOP documentation but I can't popup anything. My structure is: - server 1: Asterisk system - server 2: FOP system - client On client I connect to FOP panel, but I don't see any popup. Someone can help me to configure FOP
2009 Apr 22
1
Should you use UserEvents for monitoring calls ?
Hi, I need to monitor call activity from a custom application software. The goal is to display things like who is on call or not, who has forwarded his call to his voicemail, etc ... When using manager's login command with Event parameter set to on, I'm getting tens of events I don't care about but I suppose I won't miss things like transfers, pickups, parking ... Would it be a
2006 Jan 05
1
UserEvent() with multiple body lines
Hi, I have tried to use UserEvent() command to send data to Asterisk Manager from my dialplan. It works fine if the body only contains 1 line but I don't know how to send multiple arguments in the body. I have tested: UserEvent(eventname|body1|body2) UserEvent(eventname|body1\r\nbody2) But no one seems to work. Is it possible to do that and what is the correct syntax? Amaury
2009 May 13
0
AGI scripts in Groovy, JavaScript, JRuby or PHP running on the Java Virtual Machine
Hi, We've just finished adding support for writing AGI scripts in a variety of popular scripting languages to Asterisk-Java. The FastAGI server in Asterisk-Java allows you to move your AGI scripts to a dedicated server and increases performance by eleminating the need to start the language interpreter for each request. Our current snapshot release includes an AGI demo in Groovy, JavaScript
2009 Feb 26
3
Question about Do Not Disturb
Hello, Some of my users have phones lacking a DND button. I need to provide an extension they can dial that will put them in DND, i.e. tell the server not to send them any calls until they get off the DND. I've researched it for almost 3 days now and tried a range of configurations. I'm hoping somebody here has an answer. Currently, I have this in extensions.conf [app-dnd-on]
2008 Apr 10
3
Removing "Parsing /etc/asterisk/manager.conf" from CLI
Hello, Is there any way of removing this line from showing on the console? I have a script that logs in every few seconds to manager and it makes the CLI output very hard to follow because of the " == Parsing '/etc/asterisk/manager.conf': Found". (Yes, Found! manager.conf was there 3 seconds ago, guess what it's still there.) There is a very old feature request about this
2020 Jan 30
2
Need feedback on the use of AMI events generated by MESSAGE requests
On Thu, Jan 30, 2020 at 12:18 AM Jean Aunis <jean.aunis at prescom.fr> wrote: > Hello, > > I use UserEvents generated by the Message/ast_message_queue channel with > the UserEvent application. > > Regards > > Jean > Thanks Jean. We're looking at alternatives. > Le 29/01/2020 à 20:31, George Joseph a écrit : > > For those of you who actually
2008 Apr 24
1
Full queue issues
Hello everyone. I got a little problem in here: I want to set up a queue so that if anything of these happens: a) No agents logged in b) All agents busy Then the user gets diverted somewhere. I used this (for testing purposes only, of course): exten => 7080,1,Answer() exten => 7080,n,Queue(teste) exten => 7080,n,Goto(${QUEUESTATUS}) exten => 7080,n(ERROR),NoOp(${QUEUESTATUS}) exten
2020 Jan 30
1
Need feedback on the use of AMI events generated by MESSAGE requests
On Thu, Jan 30, 2020 at 3:18 AM Jean Aunis <jean.aunis at prescom.fr> wrote: > Hello, > > I use UserEvents generated by the Message/ast_message_queue channel with > the UserEvent application. > Do you use any aspects of the channel itself in the user events, or merely the contents of the user event and what you've placed in it? -- Joshua C. Colp Asterisk Technical Lead
2009 Apr 24
1
Hangup Detection After Originate (Asterisk Manager API)
I have written an asterisk manager client which creates an outbound call using Asterisk manager API's Originate action. when the call is connected I run 3 applications on it. 1)read a dtmf digit from user 2)A customized application which I have written,(It plays something to user) 3)Hangup If user hangs up while app 2(see above) is executing I get a 'Event Hangup' from asterisk in my
2009 Apr 23
0
UserEvent doc : is Uniqueid mandatory in 1.6
Hello, I'm using 1.6.1-rc4. When sending a userevent, (with "UserEvent(MyEvent);" in extensions.ael), I've got : Event: UserEvent Privilege: user,all UserEvent: MyEvent I can't see any Uniqueid field as mentioned http://www.voip-info.org/wiki/view/Asterisk+cmd+UserEvent or http://www.the-asterisk-book.com/unstable/applikationen-userevent.html Is this Uniqueid mandatory ?
2018 Jul 25
3
How to know the IP of "manager show connected" in dialplan
​I need to launch a remote process at the machine that has the dialer. I could hard-code the IP address in a global variable, but It would be much more elegant if the dialplan would have a "manager" object where I could read "manager-->connected". ​ -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Aug 10
1
Playback during call
Hi all, How can I playback a file within an active call? I've tried with ChanSpy whisper mode like this (using AMI): Action: Originate Channel: Local/9999 at default Priority: 0 Variable: MSG=test Application: ChanSpy Data: SIP/1234-123 Async: 1 and in the dialplan: [default] exten => 9999,1,Answer() exten => 9999,n,Wait(2) exten => 9999,n,Playback(${MSG}) Where
2018 Feb 20
2
Sip cause and response codes in dialplan
Hi, I am experimenting with getting hold of the sip cause and sip response from outgoing call. How could i make a userevent printing the sip cause and/or sip response. I have tried using hangupcause, sip_cause and such , but i am not getting any data. I would at least like to use the q.850 reason codes in the dialplan which i now am unable to do. Any help appreciated. [Beskrivning: Fogwise -
2011 Mar 28
1
DTMF input while waiting in queue...
Hey all! I'm trying to figure out how to have a queue accept an inbound caller's key press to action on. At first I'm just trying to implement a "Press 1 to leave a voice mail" announced and at any time in the queue, the user can press 1 and go to the queue's voicemail. Later I'd like to have it accept "Press 1 if this is an x issue, press 2 if this a y