I'm sorry, my mistake. You can only set the UserInfo field to a custom value in the SQL Connector.
The Web Connector automatically sets the 'user_info' field to the message ID that is returned by the 'send-message' HTTP API call, it cannot be set to a custom value using the Web Connector.
Thanks for the prompt reply.
How do you set UserInfo property via HTTP Web Connector?
There is no setting in Diafaan SMS Server to filter the data you get from the HTTP callback. If the field has a value, it is returned in the HTTP query string. If the field is empty, it means that the field is not set to a meaningful value.
The 'message_log_update' HTTP callback returns the 'user_info' parameter only if you have set the UserInfo property in the database field of the SQL Connector or with the HTTP API of the Web Connector. This value is only available in the 'message_log_update' HTTP call when the message is still in the send log of Diafaan SMS Server when the HTTP callback is sent.
For some reason we are getting lost of blanks FORM fields on message_log_update, following is what we are getting at the moment.
Form.SOURCE = Web Connector
Form.ACTION = message_log_update
Form.MESSAGE_ID = 1:+44XXXXXXXXX:27
Form.STATUS_CODE = 201
Form.STATUS_TEXT = Success: Message received on handset.
Form.USER_ID = 1
Is there any settings i have to change to get all the data?
I was after Form.USER_INFO so I could update the record with delivered or whatever status I got back.
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 549
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 1096