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
Handling multiple-part message
sp_NewPost Add Reply sp_NewTopic Add Topic
June 1, 2011
10:21 am
Hai My
Guest
Guests

Hi Henk,

I've turned on the communication log. I think Diafaan does forward to my web server. I guess the problem is rather with my website. Will check my code and the database again.

Thanks so much. I'll contact you if I have further problems

Hai My.

May 31, 2011
3:04 pm
Henk Helmantel
Guest
Guests

The only remark I have on your configuration file is the & in your query template, usually the query only contains the & character to separate fields. The rest of the configuration seems fine.

There is a LogCommunicationToFile option in the Advanced settings of the Web Connector. If you set this to True all requests to tour web server is logged to the Web Connector (HTTP Client).log file. Maybe this log can tell you if the multipart message is not forwarded by Diafaan SMS Server or just ignored by your website.

May 31, 2011
12:57 pm
Hai My
Guest
Guests

Henk,

I've sent you the configuration file from the email haimy.nguyen.vn-AT-gmail-dot-com

Thanks so much for your support.

Hai My.

May 31, 2011
11:01 am
Henk Helmantel
Guest
Guests

Hello Hai My,

I have tried to replicate your problem but in our set-up multi-part SMS messages are received and forwarded to the web server without problem. There could be a time out problem if it takes too long to receive the last part of the message, but in that case the message should be posted to the website as multiple message parts.

If possible I would like to have a look at the configuration file (select File-Export-Configuration to export the configuration). You can send the file to dms-AT-diafaan-DOT-com.

Best regards,
Henk

May 31, 2011
5:57 am
Hai My
Guest
Guests

Hi,

I'm currently building a web application that incorporates receiving SMS input and storing them into the database.

At the moment the way I do it is as followed:
. I'm currently not having a server but use web hosting instead
. In Diafaan, I add the Web Connector
. In the Connector Properties, I choose "Forward message to website", HTTP method "POST", Query Template from =[from]&message=[message-text]
In this way, I can forward the incoming SMS to my web application.

However, this only allows to handle 1-part message. When I try multiple-part message, Diafaan can receive it but the message is not forwarded to my web application.

Is there any way I can overcome this problem?

My guess right now is that I need to change my Query Template. Or Diafaan does not support this capability.

Look forward to your reply.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 681

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1160

Posts: 3961

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1517