kodmanyagha / jss7

Automatically exported from code.google.com/p/jss7
0 stars 0 forks source link

org.mobicents.protocols.ss7.map.service.mobility.locationManagement.CancelLocationRequestImpl.encodeData -- wrong ASN.1 encoding of cancellationType #309

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. sending CancellLocation with CancellationType set 

What is the expected output? What do you see instead?
CancellationType for SubscriptionWithdrawal shall be coded as 0x0a (tag) 0x01 
(length) 0x01 (value) but I see 0x02 0x01 0x01

What version of the product are you using? On what operating system?
mobicents-ss7-2.0.0.FINAL.zip

Problem is with writeInteger call

..............
if (this.cancellationType != null) 
            {
                try 
                {
    asnOs.writeInteger(this.cancellationType.getCode());
                } 
...............

Original issue reported on code.google.com by traaktor...@gmail.com on 24 Jul 2013 at 7:21

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for a bug report.

This is fixed now:
https://code.google.com/p/jss7/source/detail?r=8657bb86785ae650edc74e72cea10ee09
34b57b4

Original comment by serg.vet...@gmail.com on 2 Aug 2013 at 7:24

GoogleCodeExporter commented 9 years ago

Original comment by serg.vet...@gmail.com on 7 Sep 2013 at 9:39

GoogleCodeExporter commented 9 years ago

Original comment by amit.bha...@gmail.com on 3 Nov 2013 at 12:10

GoogleCodeExporter commented 9 years ago

Original comment by amit.bha...@gmail.com on 3 Nov 2013 at 12:20