similar to: Execute after hangup

Displaying 20 results from an estimated 10000 matches similar to: "Execute after hangup"

2005 Sep 23
2
Execute php agi after channel hangup
Hi, following I would like to implement: 1. I receive a call. 2. I hang up the call. 3. I execute a macro I thought about using call files first... but they don't support macros, or? Then I figured I could use php agi after I receive the call, hang up the call with php agi and execute the macro with "exec ...". Unfortunately, the php agi seems to die with the hangup. Does
2006 Feb 27
8
AGI Scripts Terminate too Soon
Ok, here's a weird one. I have an AGI script where one user calls another. The call is answered. Everything is peachy. If the call is terminated by the CALLEE hanging up the call, then Asterisk returns control back to where the Dial() command left off, and I can check the return code of Dial(), ${DIALSTATUS} etc. That's all great. HOWEVER, if the CALLER hangs up the call, it seems as if
2010 Feb 24
2
AMD: HANGUP
*Code:* == Manager 'sendcron' logged off from 127.0.0.1 -- Executing Playback("Local/91441425477394 at default-b9f2,1", "sip-silence") in new stack -- Playing 'sip-silence' (language 'en') -- Executing AGI("Local/91441425477394 at default-b9f2,1", "agi:// 127.0.0.1:4577/call_log") in new stack -- AGI Script
2007 May 14
1
dialplan: execute on hangup
hi list, I'm looking for a way to execute commands in my dialplan specifically when a caller has hung up. my curretn dialplan looks like this: exten => s,1,Answer exten => s,n(restart),BackGround(intro) exten => s,n,Read(Enter,4,4) exten => s,n,Voicemail(${Enter},u) exten => s,n,agi(process.php|${Enter}) exten => #,1,Playback(thanks) exten => #,n,Hangup it lets a user
2011 Jun 02
2
How to continue processing a context after a Hangup
Good afternoon, I'm trying to write a simple callback context, but i need to hangup an incoming call and then call the origin number back, the problem is that asterisk stops processing the call after Hangup() application then it is not able to dial the origin number back. Sorry for the grammatical erros. -------------- next part -------------- An HTML attachment was scrubbed... URL:
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
2006 Apr 12
1
SIP call hangup from asterisk CLI
Hi, We are using Vicidial and sometime even when agent disconnects, outgoing call originated by dialer is still active. Since call was initiated by dialer and then bought into meetme conference of agent and we can't corelate this call to any agent channel. When agents are dialing, channels doesn't show calls vicidial2*CLI> show channels Channel Location
2005 Mar 07
1
Exec AGI after hangup.
Hi everybody, I'm trying to implement a enhanced blacklist system using AGI and Perl, configuration in extension.conf is: exten =>_numbera,1,AGI,blacklist_2_in.agi exten =>_numbera,2,Answer exten =>_numbera,3,AGI,xisco_1.agi exten =>_numbera,4,AGI,blacklist_2_out.agi The problem that I have now, is that blacklist_2_out.agi doesn't execute. I think this is because in
2008 Aug 21
3
After Dial execution, using DIALEDTIME, ANSWEREDTIME
Hi, I noticed that when dial terminates it does not return to the dialplan, and therefore can not execute any entry after Dial(). Is there any trick to overcome this limitation ? How I am supposed to handle the returned vales DIALEDTIME, ANSWEREDTIME if I can not execute anything after Dial()? I made a workaround with DeadAGI (below) but it is unreliable: if 2 calls end
2009 Jan 28
5
Inbound Call Disconnect in 3 seconds
My Inbound calls lands , but line get disconnect in exactly 3 secs. Here goes my extension.conf setting : [from-ipkall] exten => 901835,1,Ringing ; call ringing exten => 901835,2,Wait(1) ; Wait 1 second for CID delivery from PRI exten => 901835,3,Answer ; Answer the line exten =>
2009 Mar 09
3
problem with an agi in PHP
Hello, I need to execute an agi in php. I have that: == Using SIP RTP CoS mark 5 -- Executing [0170725000 at mnupprx1:1] Answer("SIP/33179977999-b6c18478", "") in new stack -- Executing [0170725000 at mnupprx1:2] GotoIf("SIP/33179977999-b6c18478", "0?6:3)") in new stack -- Goto (mnupprx1,0170725000,3) -- Executing
2007 Dec 06
1
DeadAgi
hi, all I am new to use DeadAgi, can anybody help me how to use DeadAgi, actually i want this, when caller hangup his/her phone, i want to send packet to my other app that check caller hung up done.
2007 Mar 29
2
L options in Dial() dont seem to work....
Hello Asterisk users, Can someone thwack me with a clue stick please? I am following the Asterisk TFOT book Dial() example trying to get the limit and announcements to work as per below. These settings seem to have no effect. There are no warning messages after 4 minutes or every 30 secs thereafter and the call lasts longer than 5 minutes. gunner*CLI> show dialplan [ Context
2005 Jun 22
2
ASTCC not making calls
Hi, im trying to setup ASTCC but I'm getting it difficult. I've correctly set up the mysql database astcc and added a brand, trunk, route and a card as follows: brands +------+----------+------+--------------+------+--------+------+------+ | name | language | inc | publishednum | did | markup | days | fee | +------+----------+------+--------------+------+--------+------+------+ | FWD
2010 Feb 14
3
Line DC
My dialer works perfectly , but whenever I dial a number manually from xlite and press a Key like 6055 for DTMF , line gets disconnected. Line gets DC as soon as I press any key from xlite What could be the issues ? I tried the SAME VOIP from another center and Its Ok there. I tried the Same dialer Xlite over Static IP, problem is there. I tried the same number from other Dialer , it works
2007 Aug 28
1
deadagi and billsec or answeredtime
Hello, I want to create php rate script and I'm using Deadagi. But I allways get billsec 0 , or nothing. Can you help me to solve this problem... My extension.conf: exten => _123,1,DeadAgi(rate.php) exten => _123,2,hangup And my simple test php script rate.php #!/usr/local/bin/php -q <?php include_once (dirname(__FILE__)."/phpagi.php"); $AGI = new AGI();
2012 Dec 10
1
deadagi on 11 and 1.4
How can extensions.conf be changed to work with both Asterisk 11 and 1.4.X such that 1.4.X calls deadagi and 11 just calls agi as deadagi is no more. Thanks, jerry
2008 Dec 10
4
Execute AGI after answered Dial() has ended
Hello, I am googling for a while but google seems to be broken today, no solution yet :D I have a PHP script which needs to be started after Dial() has ended. If there is no answer, busy, etc., it is not a problem, because dialplan continues after the Dial() application, but when the call is established (i call macro in Dial() with AGI execution, working ok) and after the call ends, dialplan
2005 Jan 08
3
ASTCC questions
Hello. I have set up ASTCC properly, calling it like this: DeadAGI(${ACCOUNTCODE},${EXTEN}) It seems to be working correctly, but I have two questions: - Although the cards' credit seems to be maintained correctly, I cannot see the call details in astcc-admin. When I try to view information on the card, it's just blank. Any ideas? - When does the 2nd, 3rd and 4th trunk get used? I have
2005 Sep 28
3
ASTCC - INUSE Flag
I download and installed ASTCC over the weekend and I am having an issue where the INUSE flag will not get set back to 0 if the user drops a call while the balance is being played. All other times it seems to reset the flag correctly. I have tried both AGI and DeadAGI with the same results. Those of you using it for a while, how did you get around this? Just for fun this is all I am doing in