Support forum
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.
Regards, Henk
8:54 pm
Hi Henk
Thanks for the prompt reply.
How do you set UserInfo property via HTTP Web Connector?
Kind regards
Tanvir
Hello Tanvir,
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.
Regards, Henk
12:44 pm
Hi,
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.ERROR_CODE =
Form.ERROR_TEXT =
Form.USER_ID = 1
Form.USER_INFO =
Form.RECEIPT =
Form.TLV_LIST =
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.
Kind Regards
Tanvir
Most Users Ever Online: 529
Currently Online:
8 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 672
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1141
Posts: 3899
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1488