Hi Daniele
I found a bug in libq931/callref.c in function q931_make_callref as
follows:-
for (i=0; i<size; i++) {
buf[i] = callref & (0xFF << ((size-i-1) * 8));
.....
}
Should be:-
for (i=0; i<size; i++) {
buf[i] = (callref & (0xFF << ((size-i-1) * 8))) >> ((size-i-1) * 8);
.....
}
Maybe it has been fixed in the latest snapshot release. I have not checked.
Regards
Stephen Yong
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers