Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Issue with message_log_update
sp_NewPost Add Reply sp_NewTopic Add Topic
July 15, 2015
9:43 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

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

July 15, 2015
8:54 pm
Tanvir
Guest
Guests

Hi Henk

Thanks for the prompt reply.

How do you set UserInfo property via HTTP Web Connector?

Kind regards

Tanvir

July 15, 2015
1:59 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

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

July 15, 2015
12:44 pm
Tanvir
Guest
Guests

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

Forum Timezone: Europe/Amsterdam

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 Helmantel

Administrators: Henk Helmantel: 1488