Hi,
im testing your library for an implementation of a sms gateway, I have an id for each message that our system processes and I need to add that id to each message that gets sent to the SMSC, to get it back when the SMSC answers with the delivery status, so I can mark it as sent in the database.
I think the data should be added to each SubmitSm, but didn't found any clear way.
I hope made my self clear, and thanks in advance.
How to add cusom data to each SubmitSm object
Re: How to add cusom data to each SubmitSm object
Hi cesarv,
You cannot add custom data to SubmitSm until SMSC implements vendor specific parameters.
Please read this post inetlab-smpp/submitasync-t866.html#p1681
I hope it gives you a way how to update SMS status in your database.
You cannot add custom data to SubmitSm until SMSC implements vendor specific parameters.
Please read this post inetlab-smpp/submitasync-t866.html#p1681
I hope it gives you a way how to update SMS status in your database.
Re: How to add cusom data to each SubmitSm object
Hi, that is the async way, there is a synchronous way of doing that?
Re: How to add cusom data to each SubmitSm object
Synchronous way is the same. Except evSubmitComplete event you can use return value SubmitSmResp of submit function.