[asterisk-dev] A bug in libss7 ISUP message construction!

Tian tian00di00 at live.com
Sun Oct 18 06:35:56 CDT 2009


Hi guys,

I am reading the libss7 source code, careful analysis reveals that the core function isup_send_message() that is used to construct ISUP messages contains bugs! It will fail to correctly construct a ISUP message that has zero mandatory fixed parmameters, just one variable mandatory parmameter and zero optional parmameters. Fox example, if an SAM message is constructed, the Pointer to parameter "Subsequent number" field will be filled with 1, but the correct value should be 2.

Is there anyone who have the modified code that correctly construct an SAM message? If so, I hope the code will be kindly shared with me, thank you very much!


Best regards,

Tian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20091018/01ed8203/attachment.htm 


More information about the asterisk-dev mailing list