SMSC-Invoke ForwardSM

问题描述 投票:0回答:1

我正在从SMSC接收Invoke ForwardSM,并将其转发到SS7 Simulator。但是模拟器给出了ABORT响应。

有人可以告诉我我在做什么错吗?

我已在下面附加了pcap文件。 >>>>>,因为pcap文件显示它与[[((dtid))))相关pcap

这是我在jainslee APP上捕获Invoke ForwardSM并将其替换为SS7 SIMULATOR的方式。

public void onMT_FORWARD_SHORT_MESSAGE_REQUEST(


            outgoingMapDialog = event.getMAPDialog();       

            outgoingMapDialog.setLocalAddress(ModuleHelper.createLocalAddress());
            outgoingMapDialog.setRemoteAddress(ModuleHelper.createRemoteAddress());

            outgoingMapDialog.setNetworkId(0);

            outgoingMapDialog.addMtForwardShortMessageRequest(sm_RP_DA, sm_RP_OA, sm_RP_UI, false,
                    extensionContainer);
            // Create the ACI and attach this SBB
            sriDialogACI = this.mapAcif.getActivityContextInterface(outgoingMapDialog);
            sriDialogACI.attach(this.sbbContext.getSbbLocalObject());
            // Forward Request
            outgoingMapDialog.send();


 }
java sms-gateway jain-slee
1个回答
0
投票

可能是也可能不是中止原因的观察:GSM SMS TPDU中的TP-Originating-Address为地址“ abc123”设置了错误的TON和NPI。 TON应该设置为5(字母数字),NPI应该设置为0。

尝试通过短消息发送(即适合单个SMS的消息,而不是长的/串联的SMS)。

© www.soinside.com 2019 - 2024. All rights reserved.