cloudhopper-smpp icon indicating copy to clipboard operation
cloudhopper-smpp copied to clipboard

how to get the src ip from submit_sm

Open mideye opened this issue 8 years ago • 2 comments

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.

mideye avatar Nov 22 '17 10:11 mideye

No, not unless someone puts it into optional data.

krasa avatar Nov 22 '17 11:11 krasa

oh alright! I see. thanks.

mideye avatar Nov 22 '17 11:11 mideye