Aditi16 / jss7

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

SccpAddress when persisted has different value for AddressIndicator in .xml #289

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Create address by using command 

sccp address create 1 19 7376 0 0 1 4 923330053058 

In .xml it will be

<routingAddress>
    <id value="1"/>
    <sccpAddress pc="7376" ssn="0">
        <ai value="17"/>
        <gt type="GT0100" tt="0" es="2" np="1" nai="4" digits="923330053058"/>
    </sccpAddress>
</routingAddress>

The Ai value is changed from 19 to 17

Original issue reported on code.google.com by amit.bha...@gmail.com on 13 Jun 2013 at 2:06

GoogleCodeExporter commented 9 years ago
This is because in SccpAddress the AI value is recalculated based on SSN and 
PC. In above example since the SSN is 0, AI is rightly indicated as 17.

Probably the command should be changed and let AI be calculated dynamically.

Original comment by amit.bha...@gmail.com on 13 Jun 2013 at 2:07

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 0df50122a530.

Original comment by amit.bha...@gmail.com on 30 Sep 2013 at 5:05

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:18