The test c program is not correct, because the decoding is not with the right value for
length (which resulted after encoding, stored in olen), it has 147 instead of 167,
that's why the decoding has unexpected result.
I replied a while ago on sr-users mailing list, indicating that you have to grab a pcap
file with the sip traffic (e.g., with sipdump) when you reproduce the case. If it
concludes to be a bug, we will know where that is, becauseat this moment there is not
pointer that it is the encoding/decoding by looking at your test file. The module is used
quite extensively for many years, and an eventual encoding/decoding problem should have
surfaced very early.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3358#issuecomment-1427881454
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3358/1427881454(a)github.com>