Displaying 20 results from an estimated 10000 matches similar to: "AGI kill"
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
2005 Mar 13
1
sip.conf entry precedence
Hello. I'm new in the list and sorry for my poor english :)
I have this two entrys in the sip.conf file, one for incoming calls (vtele_in)
an the other for the outgoing calls (vtele_out)
-- piece of sip.conf ---
; entry for incoming calls
[vtele_in]
type=user
context=sip-in
host=voztele.com
disallow=all
allow=g729
allow=ulaw
allow=alaw
;Entry for outgoing calls
[vtele_out]
type=peer
2005 May 25
15
PHP/AGI Problem
Hi
I am currently developing a IVR application using
PHP/AGI. I am using the PHPAGI class at
http://phpagi.sourceforge.net/ to handle the
commuication with my *.
The application basically asks a caller to enter in
some information which is then processed and a answer
is read back out to them. I want the application to
loop back to the beginning after giving the answer so
they can try another
2008 Jan 29
1
softmodems bank for ast.
Hi.
We need a full featured modem bank 20+ to attend data calls.
IAXmodem only supports fax protocols because spandsp only support fax protocols.
The idea is to do a IAX wrapper like IAXmodem but with a full featured
(but propietary) softmodem library like PCTEL or linuxant.
I hate astribank+hardmodems solution.
Some body think that is possible?
Sorry for my horrible English. ;)
Bye.
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 May 14
3
Proper AGI use with MySQL
Hi,
We have a "simple" AGI script that provides some IVR functionality. It connects to a MySQL database in order to create a call record and capture IVR data.
During the IVR process, we need to store the time the call started, so basically we INSERT a new MySQL row with callstart = NOW(), uniqueid = AGI(agi_uniqueid). As the user selects different options, we update the row to reflect
2011 Apr 09
1
Is it the normal behaviore for AGI and DeadAGI to terminate AFTER the "h" extension?
Hi Everyone,
Trying to run a php script after DeadAGI for A2Billing does it's magic. This
is the dialplan:
[a2billing]
exten => _X.,1,System(php pre-call.php ${CALLERID(num)} ${EXTEN}
${UNIQUEID})
exten => _X.,n,AGI(a2billing.php,1)
exten => _X.,n,Hangup()
*exten => h,1,Wait(5)*
*exten => h,n,System(php post-call.php ${CALLERID(num)} ${UNIQUEID})*
As you can see above, I even
2007 Sep 15
2
AGI/PHP: missing arguments
hi folks,
I've built a simple PHP-script utilizing the AGI-interface. in
extensions.conf I trigger the script and pass a single value as first
argument:
exten => h,1,DeadAGI(process.php|${Enter})
On the Asterisk-console, I can actually see that the script is called
correctly (something like "DeadAGI(process.php|1234)"). However, when I read
stdin in the PHP script, I receive
2006 Mar 20
4
simple perl-agi - where's the error?
Hello!
I'm trying to setup a perl-deadagi, but my perl skills lack. can
someone tell me why the following code doesn't work:
#!/usr/bin/perl
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
$dialstring = $AGI->get_variable("DIALSTRING");
$res = $AGI->exec("DIAL $dialstring");
the asterisk output says:
AGI Rx << GET VARIABLE DIALSTRING
AGI Tx >> 200
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
2007 Aug 13
1
AGI answering the channel even though I never asked it to
I am working on a call-back solution where the initiating call should
never be answered.
I was doing this simply through the dial plan, sending a progress
tone, and then dumping the channel, and firing off a DeadAGI which
created a call file to make the callback.
Now I've tried extending this so that an AGI is fired first to check
for things - like no inbound ANI - and play a
2005 Mar 15
2
How to determine the voicemail file name for an AGI script
I've read several of the Wiki sections on Voicemail and "Asterisk
variables" but could not find an obvious answer to this question.
I would like to run a script that post-processes the voicemail after the
Voicemail application returns (with AGI or DeadAGI), but I cannot figure
out how to easily determine the name of the file written by the
Voicemail application. Does anyone
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 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
2005 May 11
1
HELP: ASTCC (AGI) meets call forward ERROR
Hi, ALL:
When I use astcc to do the prepaid function, but if I want to enable
"call forward".
The result of CDR seems not correct.
UA 1011 make a call to UA 9999, and UA 9999 forwards this call to a PSTN number.
I think we shall charge the credit from UA 9999 not UA 1011 because UA
1011 don't know where UA 9999 forwards to.
But in CDR, I can only find the from(1011) and
2005 Jul 26
1
Perl AGI
I am wondering if anyone can help me figure out how to do something.
I'm running a simple perl AGI which at the end of the call, creates a
MySQL row with some of the tasks done during the AGI session.
However, when the call is unexpectedly dropped (possibly the caller
hangs up before finishing the entire AGI flow), I don't get the MySQL
row created.
I'm wondering if there is
2006 Jan 27
3
paging agi
Hello Everyone,
I've been playing with an agi script for paging sip phones.
page.agi will take all available sip extensions and assign them to the
global variable PAGE_GROUP. Allowing the phones to be paged from the
dialplan with the new Page cmd. Extensions to be excluded are presented as
arguments to the agi. Each time a page is made this agi refreshes the global
variable. This works with
2006 Feb 16
3
AGI Flakyness *sigh*
Well, I'm about ready to throw Asterisk across the room.
Can someone tell me WHY, when you've sent a Dial command to Asterisk via AGI, if the callee hangs up the call, Asterisk sends a return code, but if the caller hangs up, it does not???
This means if an agi script services a call, and after the two parties have finished speaking, the person who initiated the call hangs up, the agi
2007 Jun 15
2
combining AGI with dialplans
On 2007-05-15 Tony Mountifield wrote (wrt using AGI scripts to dial out):
> Can't comment on this one, as I never use AGI to dial.
> My AGIs just set the context, extension and priority,
> and exit to the dialplan to do any dialling.
(http://article.gmane.org/gmane.comp.telephony.pbx.asterisk.user/185537)
I would like to do this, but I am having trouble figuring out how. I have
2006 Feb 20
1
Dial from AGI = no ring back ??
Hi everybody,
I sent an e-mail this morning regarding SIP / IAX2
with no ring-back, I now succeeded to pin-point the
problem, here it is, if I dial a provider directly from
extensions.conf I get ring-back, if I dial from an AGI
script I don't get the ring-back but it calls anyway.
I use 1.0.9.
Any hint would be appreciated ! Thanks,
Frederic
;Calling this one does not give me ring back