Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 1652] A bug in CAMEL Connect message.

Date: Thu, 21 Jun 2007 13:00:57 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1652





------- Comment #5 from florent.drouin@xxxxxxxxxx  2007-06-21 13:00 GMT -------
OK, I understand the problem now.
Sorry for my quick and dirty first answer.
As you said in the last comment, the decoding is the same for the
CalledPartyNumber of the InitialDP, and for the Connect.
I think the implicit_tag is not taken into account for the decoding of the
CalledPartyNumber.
I did try with a modification (workaround) in camel.cnf to take into account
the implicit tag, and so to change the offset for the CalledPartyNumber.
<<
#----------------------------------------------------------------------------------------
#.FN_BODY CalledPartyNumber


 tvbuff_t *isup_tvb;
 guint32 len;
if (!implicit_tag)
        offset+=2;

 len=tvb_length_remaining(tvb,offset);
 isup_tvb = tvb_new_subset(tvb, offset,-1 , -1 );
 dissect_isup_called_party_number_parameter(isup_tvb, tree, NULL);
 offset += len;

#.END
>>

I did check the patch, it seems to work with your Connect Message.
Regards
Florent


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.