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

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


A NOTE has been added to this issue. 
====================================================================== 
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:55 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!

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

---------------------------------------------------------------------- 
 (0108158) Tian00di00 (reporter) - 2009-07-24 03:55
 https://issues.asterisk.org/view.php?id=15568#c108158 
---------------------------------------------------------------------- 
Since Zaptel has been renamed to Dahdi, I suggest MTP2_FLAG_ZAPMTP2 be
renamed as MTP2_FLAG_DAHDIMTP2. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-24 03:55 Tian00di00     Note Added: 0108158                          
======================================================================




More information about the asterisk-bugs mailing list