[asterisk-bugs] [Asterisk 0014775]: [patch] Added ability to perform SRV lookups for AGI URIs

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Mar 27 16:14:39 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14775 
====================================================================== 
Reported By:                _brent_
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14775
Category:                   Resources/res_agi/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.1.0-rc3 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-27 13:24 CDT
Last Modified:              2009-03-27 16:14 CDT
====================================================================== 
Summary:                    [patch] Added ability to perform SRV lookups for AGI
URIs
Description: 
With this patch, you can run the Agi() dial plan application with a URI
beginning with hagi:// (for HA Agi) to indicate that the host name should
be resolved as an SRV service instead of a regular host name.
====================================================================== 

---------------------------------------------------------------------- 
 (0102317) _brent_ (reporter) - 2009-03-27 16:14
 http://bugs.digium.com/view.php?id=14775#c102317 
---------------------------------------------------------------------- 
1) check
2) check
3) check
4) I don't think you have to use AST_LIST_TRAVERSE_SAFE_BEGIN if you're
calling AST_LIST_REMOVE_HEAD, just for AST_LIST_REMOVE_CURRENT (which isn't
used here)
5) I put a break in the loop instead of the if(). Is there any reason it
wouldn't be safe to break out of an AST_LIST_TRAVERSE_SAFE_BEGIN loop?


You're welcome :-) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-27 16:14 _brent_        Note Added: 0102317                          
======================================================================




More information about the asterisk-bugs mailing list