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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 24 03:52:03 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15568 
====================================================================== 
Reported By:                Tian00di00
Assigned To:                mattf
====================================================================== 
Project:                    LibSS7
Issue ID:                   15568
Category:                   General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0.10 
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:              2009-07-24 03:52 CDT
====================================================================== 
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               
====================================================================== 
2009-07-24 03:52 Tian00di00     New Issue                                    
2009-07-24 03:52 Tian00di00     Status                   new => assigned     
2009-07-24 03:52 Tian00di00     Assigned To               => mattf           
2009-07-24 03:52 Tian00di00     Asterisk Version          => 1.6.0.10        
2009-07-24 03:52 Tian00di00     SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
2009-07-24 03:52 Tian00di00     SVN Revision (number only!) => 269             
======================================================================




More information about the asterisk-bugs mailing list