InetLab MessageID

.NET library for SMPP protocol
Locked
Mostafa
Posts: 1
Joined: Tue Nov 01, 2016 10:21 am

InetLab MessageID

Post by Mostafa » Tue Nov 01, 2016 10:23 am

Kindly i am trying to make a full testing implementation to your Dll Demo version as my company will buy it ,so i need your Help for below scenario.

scenario :

I have 4 entities :
1- Client
2- server1
3- server1-Client (is a client will be runing inside server1)
4- server2

1- Client will submit message to server1
2- server1-Client, will forward the message to server2 and receive the DLR.
2- Server1 will forward the received DLR to the client.


So my problem is that every time the messageId is changed as when i receive the messageId in server1(server_evClientSubmitSm -> data.Response.MessageId) is not the same id that sent from Client and after forward the message to server2 the received messageID in (client_evDeliverSm -> data.Response.MessageId) is always null.

so please i need help to can get the unique messageId through the full cycle to be able to make a full implementation for above cycle.

Thanks.
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: InetLab MessageID

Post by alt » Sat Nov 19, 2016 9:54 pm

I would name server1 and server1-Client as SMPP Proxy or Gateway.

There is no way to use same MessageId through the full cycle.

In this scenario you should send first MessageId from server1 to Client and store it to database. After forwarding a SubmitSm PDU to the server2 you receive second MessageId.

Store both Ids into the same record. Later when you receive Delivery Receipt from server2 you should replace second MessageId with first MessageId and forward further to Client.

Related Wiki page:

http://wiki.inetlab.com/doku.php/smpp/gateway
Locked