similar to: AGI-python script

Displaying 20 results from an estimated 10000 matches similar to: "AGI-python script"

2007 Dec 07
2
PHP AGI script
I've got a very nice PHP AGI script but I want to be able to do some database cleanup when the user hangs up the phone. I wish everyone would hang up when they were suposed to, but some people don't. So what does Asterisk send to an AGI file when the line has been disconnected? If I remember reading somewhere correctly, I don't need to use DeadAGI. Instead I'm able to use
2011 Feb 09
2
queue called by agi doesn't re-enter the script
Hello, I tried this piece of extensions on my Asterisk 1.8: exten => 679,1,NoOp(start) exten => 679,2,AGI(/var/lib/asterisk/bin/test.py) exten => 679,3,NoOp(--- end ---) exten => 679,n,Hangup where test.py executes a queue command. The strange thing is my CLI never shows the '--- end ---' string. It seems that with queues, the normal script flow is not going on to the next
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
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 Apr 04
2
Asterisk 1.8 and DeadAGI
Dears; In asterisk 1.8, it is not more possible to use DeadAGI? Also, I found the below commands in the a2billing and I would to ask why it set the sequence 1 for the Hangup()? Maybe because it is related to the NoOp? How? [a2billing-callingcard] exten => _X.,1,NoOp(A2Billing Start) exten => _X.,n,Answer() exten => _X.,n,Wait(2) exten => _X.,n,DeadAgi(a2billing.php,1) exten =>
2010 Sep 02
1
How to finish an AGI
Hello community, I need to finish an AGI script when it invokes a macro from dialplan, how can i do that? it's quite confusing...the macro is making a hangup but the script continues.... Thanks -- Salu2 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100902/2cead65a/attachment.htm
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
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.
2013 Mar 14
1
AGI
Hi everybody, Does any one knows how to place a call from a shell agi? I guess is something like echo Exec Dial(DAHDI/g2/2010,,W). Algo how i get the dnid variable? Thanks.
2009 May 05
6
Preferred language for Asterisk AGIs development ?
Hello, We are going to start development for a product based over Asterisk. According to you, which is the preferred language for AGIs / IVRs development in Asterisk. I got opinions that Perl is going to be replaced by PHP for all future developments. -- Kashif Naeem Business Development Manager Hadi Telecom www.haditelecom.com Cell: +92 (0)345 4226006 Office: +92 (0)42 5692766 Email: kashif
2012 Mar 08
1
Using the h and DeadAGI
Hi All; Really I need to know why when using the "h" in the exten =>, then we use DeaAGI with it? I am using vicidial and I see this line alot, so I need to know how it work (when it will be executed): exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME}) The question is: When
2009 Apr 20
2
Execute after hangup
What is the syntax to progress with a dial plan after hangup please? Michael
2010 Aug 31
1
Running System() after call completion, not in 'h'?
Greetings all- I have some dialplan code on an Asterisk 1.2.x box that basically dials a call, then after call completion, runs a command via System(). However, I'm finding that roughly 5% of the time, the System() command never executes and seems to be on specific destinations. Simplified/paraphrased example: exten => 1,1,Set(VARIABLE=SOMEVALUE) exten =>
2011 Feb 01
1
How to use Monitor() in Python AGI
How can I use the application Monitor() in the Python AGI skripts? Thanks a lot. best regards, Feilx -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110201/c1256374/attachment.htm>
2010 Jun 11
1
WARNING message when play
When I use an eagi script when play a message appear a lot of warning messages, but it play very well I?m using Asterisk 1.4.32 dahdi-linux-2.3.0.1 chan_ss7-1.4.1 Any ideas?? -- Playing 'ser002' (escape_digits=0123456789*#) (sample_offset 0) [Jun 11 18:12:45] WARNING[15807]: file.c:1300 waitstream_core: write() failed: Broken pipe [Jun 11 18:12:45] WARNING[15807]: file.c:1300
2011 Feb 18
1
[1.4/AGI] CHANNEL STATUS never "down & available"?
Hello I'm using an AGI script in Lua to make a callback through Zaptel. For this to work, I must wait until the channel is idle, or I get this kind of error, even after waiting over 10 seconds after the remote end rings once and hangs up: ============== channel.c:2863 __ast_request_and_dial: Unable to request channel Zap/1/123456 pbx_spool.c:341 attempt_thread: Call failed to go through,
2007 Dec 12
4
Enable/Disable Sip without registration
I try to configure that only registered sips can make calls. How can I do that? I was looking in sip.conf but I didn?t found wath opition configure this functionality. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071212/cfed2687/attachment.htm
2012 Jul 24
5
DAHDI problems
Is a normal functionality? when I do #dahdi_cfg -vvvvvv In my Asterisk console shows this.... [Jul 24 13:39:08] NOTICE[30263]: chan_dahdi.c:9461 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1 If I do this a lot of times...then [Jul 24 13:39:20] NOTICE[30263]: chan_dahdi.c:9461 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1 [Jul 24
2016 Jan 06
2
No joy with my first AGI Python script
It's very simple but it doesn't work. Here's the entire script. #! /usr/bin/python import sys env = {} def comm(cmd): sys.stdout.write(cmd.strip() + '\n') sys.stdout.flush() return sys.stdin.readline().strip() while 1: line = sys.stdin.readline().strip() if line == '': break key,data = line.split(':') if key[:4] == 'agi_':
2012 Mar 07
1
Finish ChanSpy() when channel spied hangs up
Is there any way to do this? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120307/77764e4b/attachment.htm>