[Asterisk-bugs] [Asterisk 0010245]: Agi in live & dead channels? Don't drop DeadAGI from live.

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jul 21 02:59:18 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10245 
====================================================================== 
Reported By:                xrg
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10245
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.8  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-20-2007 03:14 CDT
Last Modified:              07-21-2007 02:59 CDT
====================================================================== 
Summary:                    Agi in live & dead channels? Don't drop DeadAGI from
live.
Description: 
According to http://bugs.digium.com/view.php?id=10210, the DeadAGI will be
phased out from working on live
channels. In the a2billing project (www.asterisk2billing.org), DeadAGI is
the core element which calculates destination, dials and after the call
records the call charges, all in one AGI call.

Is there some other AGI method that can manipulate a call both at Dial and
after that?
If no, could you reconsider banning DeadAGI on live channels?
====================================================================== 

---------------------------------------------------------------------- 
 juggie - 07-21-07 02:59  
---------------------------------------------------------------------- 
1) of course agi can replace dialplan logic, nothing functionality wise has
been changed.

2) if you want to try to dial more then once then to AGI you would send
--> EXEC DIAL Zap/g1/mynumber|30|g
<-- after dial exits (30 seconds, or the end of call you get a response)
--- when you get a return, check your dialstatus and if necessary send
the
--- call again
--> EXEC DIAL Zap/g2/mynumber|30|g

3) your agi is fine, the channel is *NOT* dead, so long as the originating
channel does not hang up if you use the g option.  Asterisk automatically
terminates the calling channel after a successful dial UNLESS you request
it not to which is what the g option i've mentioned does.

4) i just tested this w/ agi on my own system and i am able to dial twice
in a row w/ agi without ANY issues.

5) i don't think i can be more clear, but as far as i am concerned there
are no code changes required to achieve the functionality you require.  But
if you have any further questions let me know. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-21-07 02:59  juggie         Note Added: 0067692                          
======================================================================




More information about the asterisk-bugs mailing list