RestComm / jss7

RestComm Java SS7 Stack and Services
http://www.restcomm.com/
GNU Affero General Public License v3.0
186 stars 221 forks source link

send() is not working #342

Open naseemr opened 2 years ago

naseemr commented 2 years ago

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line, delete the rest of these comments:

/kind bug

/kind feature

What happened: we receive InserSubscriberDataRequest fromHLR and we see onInsertSubscriberDataRequest method print out Got ISD; but when using dialog.send(), we do out see any outgoing mesage. Here is the method: @Override public void onInsertSubscriberDataRequest(InsertSubscriberDataRequest arg0) { System.out.println("got ISD"); try { MAPDialogMobility diag = arg0.getMAPDialog(); diag.addInsertSubscriberDataResponse(arg0.getInvokeId(), null, null, null, null, null, null, null, null, null); diag.send(); } catch (MAPException e1) { e1.printStackTrace(); } }

What you expected to happen: Expecting sending TC-CONTINUE How to reproduce it (as minimally and precisely as possible): Bring up SS7 stack; sending UpdateLocationRequest, to HLR DEBUG - Initializing SCTP Stack .... DEBUG - Client DEBUG - Initialized SCTP Stack .... DEBUG - Initializing M3UA Stack .... DEBUG - Initialized M3UA Stack .... DEBUG - Initializing SCCP Stack .... DEBUG - Initialized SCCP Stack .... DEBUG - Initializing TCAP Stack .... DEBUG - Initializing MAP Stack .... DEBUG - Initialized MAP Stack .... DEBUG - Starting ASP DEBUG - ASP Started DEBUG - Stack Initilized

Anything else we need to know?:

Environment:

nhanth87 commented 2 years ago

it can be SCCP routing is not correct If you have the log, you may see some error related to SCCP

naseemr commented 2 years ago

If it is routing error, would the UpdateLocation message be sent in first place? I dot see any error log from my exception.