akibsayyed / jain-slee

Automatically exported from code.google.com/p/jain-slee
0 stars 0 forks source link

Problem when delivering TC-NOTICE event in TCAP RA #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
TC-NOTICE occures when SCCP returns SCCP message (or it's segment) if SCCP can 
not deliver it.
Then TCAP tried to decode a message and extract transactionId to recognize 
which dialog it refers
We can get a dialog if it is a first part of SCCP segment and a Dialog has not 
been released (for example after sending TC-END a dialog is released)
Other info that TC-NOTICE carries is SCCP calling and called parties addresses 
and a cause why the message has not delivered
Even if we can not obtain a dialog SCCP addresses and cause can help us to make 
some administartive actions for example for rerouting messages
So it looks like that Dialog absence is an ordinary case in TC-NOTICE

But in TCAP RA layer we need a non-null Dailog for TCAPDialogWrapper creating 
and if dialog==null we will have an Exception here.
We need to fix somehow this.

Original issue reported on code.google.com by serg.vet...@gmail.com on 5 Dec 2012 at 12:50