[asterisk-bugs] [Asterisk 0017661]: redirecting to IPv6 URIs

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 16 07:26:40 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17661 
====================================================================== 
Reported By:                oej
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17661
Category:                   Channels/chan_sip/General
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
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:26 CDT
Last Modified:              2010-07-16 07:26 CDT
====================================================================== 
Summary:                    redirecting to IPv6 URIs
Description: 
static int sip_sipredirect(struct sip_pvt *p, const char *dest){       
char *cdest;        char *extension, *host, *port;        char tmp[80];

        cdest = ast_strdupa(dest);

        extension = strsep(&cdest, "@");
        host = strsep(&cdest, ":");
        port = strsep(&cdest, ":");


This code will not be able to parse a
sip:lattjolajban@[fdd8:899a:a995:32dc:225:4bff:fea8:1d88]:5032 URI.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-16 07:26 oej            New Issue                                    
2010-07-16 07:26 oej            Asterisk Version          => SVN             
2010-07-16 07:26 oej            Regression                => No              
2010-07-16 07:26 oej            SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
2010-07-16 07:26 oej            SVN Revision (number only!) => 277027          
======================================================================




More information about the asterisk-bugs mailing list