-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
Homer incorrect decodes SIP-I ISUP (Content-Type: application/isup;version=itu-t92+) using decoder_shark tshark #603
Comments
The
Please try with JSON output and confirm its there using that format. This is tshark vs tshark. |
If make pcap dump on the kamailio server and decod it using tshark as isup with json output, then everithing is ok. But if you download a pcap file from a Homer interface and decode it using tshark, then the ISUP is displayed incorrect. I guess that there are problems with the heplify server or the HEP protocol, since the kamailio sends the trace to the Homer using the HEP protocol. |
Please star this repository to motivate the developers and to get higher priority! ⭐ |
I don't think so, because we don't touch nor modify SIP message and ISUP body. Please check one more time with JSON output. |
Hello Alexandr, I have made new test and saved pcap from kamailio and from Homer UI. Dumpes attached.
...
... Thanks! |
Ok, I see the problem- ISUP is malformed and looks like during reassambling and storing into DB it was corrupted. Need to check if it postgres or golang. Can you check the stored message in pgsql ? |
In attachment select from postgres: Tables in DB were created by docker conteiner heplify-server. |
Hello Alexandr, |
@mmyshko not yet, need check why postgresql converts binary symbols. Probably need to store message in base64, but this is not good idea.... We will recheck it again in our lab |
I installed on Oracle Linux Server release 8.8 homer-app VERSION: 1.4.56 from RPM and configure "decoder_shark": { "bin": "/usr/bin/tshark"}.
TShark - v2.6.2
I observe problem when try see ISUP part of SIP-I message in Homer-app because incorrect called number and Nature of address indicator.
Information about Calling Party Number is absent at all.
I dumped this SIP-I message on my kamailio and decoded it using tshark - v2.6.2.
Tshark correctly decoded:
Called Party NumberCalled Party Number: 632107608
Mandatory Parameter: Called party number (4)
Pointer to Parameter: 2
Parameter Length: 7
1... .... = Odd/even indicator: odd number of address signals
.000 0011 = Nature of address indicator: national (significant) number (3)
1... .... = INN indicator: routing to internal network number not allowed
.001 .... = Numbering plan indicator: ISDN (Telephony) numbering plan ITU-T E.164 (1)
Called Party Number: 632107608
.... 0110 = Address signal digit: 6 (6)
0011 .... = Address signal digit: 3 (3)
.... 0010 = Address signal digit: 2 (2)
0001 .... = Address signal digit: 1 (1)
.... 0000 = Address signal digit: 0 (0)
0111 .... = Address signal digit: 7 (7)
.... 0110 = Address signal digit: 6 (6)
0000 .... = Address signal digit: 0 (0)
.... 1000 = Address signal digit: 8 (8)
E.164 Called party number digits: 632107608
Pointer to start of optional part: 9
Parameter: (t=10, l=9) Calling party number: Calling party numberCalling Party Number: 8780637304473
Optional Parameter: Calling party number (10)
Parameter Length: 9
1... .... = Odd/even indicator: odd number of address signals
.000 0010 = Nature of address indicator: unknown (national use) (2)
0... .... = NI indicator: complete
.001 .... = Numbering plan indicator: ISDN (Telephony) numbering plan ITU-T E.164 (1)
.... 00.. = Address presentation restricted indicator: presentation allowed (0)
.... ..11 = Screening indicator: network provided (3)
Calling Party Number: 8780637304473
Please check.
The text was updated successfully, but these errors were encountered: