-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISUP multipart encoding issue #540
Comments
@mkpaz thanks for raising this can you provide a pcap to reproduce this end-to-end? |
@lmangani Thanks for the response. Yes, I've attached all info including pcap for both SIP and HEP side. |
@lmangani Any suggestions would be greatly appreciated. I've tried to compile a look at it myself, but I'm not a Go coder. |
Thanks for your patience @mkpaz! Busy times. @adubovikov will review and patch if needed, once time allows |
No longer interested. Feel free to reopen if the project is still maintained. |
The project is absolutely maintained, but sadly the resources are scarce. Apologies for letting this fall behind! |
the problem is here in postgress, the data in ISUP part is full binary and the field type "varchar" doesn't support and rejects some "binary" elements. The best way to do it, change "raw - varchar" to "raw - bytea", but this will require to change also select/insert query. We will test it in the lab and let you know |
so here is the way
so, we should change it to bytea and in the select, we have to convert the raw into "hex" or to "escape" string. @mkpaz sounds good for you ? |
I send HEP packets that contains a SIP message with ISUP attachment like this:
I compared it with the actual SIP message and they're identical and can be decoded by Wireshark dissector.
But after inserting into PgSQL database it looks like this:
Some bytes just lost in the process:
So, tshark decoder fails with some JSON error.
I suppose it's some encoding problem. Here is a similar issue, except Heplify removes more than just
\x00
.The text was updated successfully, but these errors were encountered: