Comment #1 on issue 336 by [email protected]: SRI-SM Response parsing error
https://code.google.com/p/jss7/issues/detail?id=336

Update:

Exception is thorwn, because additionalNumber is not primitive. It contains an sgsn-number. Here is part of the tcp dump:

locationInfoWithLMSI
                    networkNode-Number: 917373499921f0
                        1... .... = Extension: No Extension
.001 .... = Nature of number: International Number (0x01) .... 0001 = Number plan: ISDN/Telephony Numbering (Rec ITU-T E.164) (0x01)
                        Address digits: 37379499120
                        Country Code: 373 Moldova (Republic of) (length 3)
                    additional-Number: sgsn-Number (1)
                        sgsn-Number: 917373499950f0
                            1... .... = Extension: No Extension
.001 .... = Nature of number: International Number (0x01) .... 0001 = Number plan: ISDN/Telephony Numbering (Rec ITU-T E.164) (0x01)
                            Address digits: 37379499050
Country Code: 373 Moldova (Republic of) (length 3)

As you can see additional-Number is constructed - not primitive.

I'll change in LocationInfoWithLMSIImpl.java:
                        case _TAG_AdditionalNumber:
if (!ais.isTagPrimitive() || this.additionalNumber != null){
                                throw new MAPParsingComponentException(
"Error when decoding LocationInfoWithLMSI: additionalNumber: double element or element is not primitive", MAPParsingComponentExceptionReason.MistypedParameter);
                            }
to:
                        case _TAG_AdditionalNumber:
if (ais.isTagPrimitive() || this.additionalNumber != null){
                                throw new MAPParsingComponentException(
"Error when decoding LocationInfoWithLMSI: additionalNumber: double element or element is not primitive", MAPParsingComponentExceptionReason.MistypedParameter);
                            }
and will perform tests.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to