[asterisk-bugs] [Asterisk 0017663]: [patch] IPv6: get_refer_info

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jul 22 15:22:41 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17663 
====================================================================== 
Reported By:                oej
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   17663
Category:                   Channels/chan_sip/IPv6
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                       SWP-1864 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 277027 
Request Review:              
====================================================================== 
Date Submitted:             2010-07-16 07:45 CDT
Last Modified:              2010-07-22 15:22 CDT
====================================================================== 
Summary:                    [patch] IPv6: get_refer_info
Description: 
14207                 domain = ptr;
14208                 if ((ptr = strchr(domain, ':'))) {      /* Remove
:port */
14209                         *ptr = '\0';
14210                 }
14211 


Another case where we just search for : to separate host and port
====================================================================== 

---------------------------------------------------------------------- 
 (0124875) mmichelson (administrator) - 2010-07-22 15:22
 https://issues.asterisk.org/view.php?id=17663#c124875 
---------------------------------------------------------------------- 
AST_NONSTANDARD_RAW_ARGS() sounds good to me. It seems like there may be
several cases in chan_sip where we'll have a string and wish to either
isolate or remove the port. I think a helper function that makes use of
AST_NONSTANDARD_RAW_ARGS would work well. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-22 15:22 mmichelson     Note Added: 0124875                          
======================================================================




More information about the asterisk-bugs mailing list