[asterisk-bugs] [LibSS7 0015568]: libss7 test programs are broken!

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jan 23 13:48:18 CST 2011


The following issue is now in status NEW (again) 
====================================================================== 
https://issues.asterisk.org/view.php?id=15568 
====================================================================== 
Reported By:                Tian00di00
Assigned To:                
====================================================================== 
Project:                    LibSS7
Issue ID:                   15568
Category:                   General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 269 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2009-07-24 03:52 CDT
Last Modified:              2011-01-23 13:48 CST
====================================================================== 
Summary:                    libss7 test programs are broken!
Description: 
In Libss7 SVN Trunk Rev.269, The function prototype of ss7_add_link() is:

int ss7_add_link(struct ss7 *ss7, int transport, char *name, int slc,
unsigned int adjpc)

but the call to it in ss7linktest.c is:

    if ((ss7_add_link(ss7, ismtp2 ? SS7_TRANSPORT_DAHDIMTP2 :
SS7_TRANSPORT_DAHDIDCHAN, fd, -1, dpc))) {
        perror("ss7_add_link");
        exit(1);
    }

Apparently, they are NOT compatible and surely will NOT compile. I hope a
runnable test program will be provided. Thanks!

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-23 13:48 tilghman       Asterisk Version         1.6.0.10 => SVN     
2011-01-23 13:48 tilghman       Assigned To              mattf =>            
2011-01-23 13:48 tilghman       Status                   assigned => new     
======================================================================




More information about the asterisk-bugs mailing list