twitter-archive / cloudhopper-smpp

Efficient, scalable, and flexible Java implementation of the Short Messaging Peer to Peer Protocol (SMPP)
Other
382 stars 356 forks source link

how to get the src ip from submit_sm #133

Open mideye opened 6 years ago

mideye commented 6 years ago

hi all,

we are developing a SMS gateway using cloudhopper. for accounting purposes we need to persist the traffic, most importantly phone numbers and which customer (ip) generates the traffic. getting the phone number from submit_sm is trivial. but is there an easy way to get the src ip (and just to be clear not the src address that one can find in submit_sm packet)?

thanks in advance for your help.

krasa commented 6 years ago

No, not unless someone puts it into optional data.

mideye commented 6 years ago

oh alright! I see. thanks.