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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 2 10:33:36 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
Target Version:             1.6.2.12
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-08-02 10:33 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
====================================================================== 

---------------------------------------------------------------------- 
 (0125425) sperreault (reporter) - 2010-08-02 10:33
 https://issues.asterisk.org/view.php?id=17663#c125425 
---------------------------------------------------------------------- 
I have added two diffs addressing the two separate problems.

I decided against using AST_NONSTANDARD_RAW_ARGS() because:
- Its interface makes it hard to use from here.
- It handles special characters which we don't care about.
- The additional code needed to do this correctly is minimal. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-02 10:33 sperreault     Note Added: 0125425                          
======================================================================




More information about the asterisk-bugs mailing list