Thank you for the log. Unfortunately, it does not look like there is something wrong with the settings of the GSM Modem Gateway or the Android phone. The messages are just rejected by your mobile operator for some reason.
It is possible that the messages are rejected because they (or their individual message parts) are sent too fast after each other but it is also possible that there is another restriction in place by your mobile operator.
Can you send the communication log for the GSM Modem Gateway to email@example.com? You can find instructions on how to create the communication log here. The communication log must include sending at least one message that is longer than 160 characters.
If you are using an Android phone to send the messages, I would like you to set the 'ModemInitializationBeginning' property in the advanced settings of the GSM Modem Gateway to 'AT^LOGLEVEL=3'.
Thanks for your help Henk.
When i send a message which is less than 160 characters it works well. But when its characters are more than 160 it shows this error.
Status 300, Error: Unknown error after PDU sent.
Error : 500, CMS error: Unknown error
If i try to increase the character limit to more than 160 it always shows this error regardless of how many characters are sent.
Diafaan SMS Server has no built-in functionality to opt-in or opt-out of an SMS contact list. If you want to implement this feature, you have to do it outside Diafaan SMS Server.
In your situation, the best approach might be to use the Web Connector In Diafaan SMS Server to forward the received messages to your web server and implement the opt-out logic on the server.
Henk, Thank you for your helpful reply.
After messing around and watching some tutorials i have got it working with Email. All i need to do now is set up a form on my website to start sending emails to that address.
I have another question before i go ahead and purchase the software. Some people use this to spam or annoy people with unnecessary text messages. For that I have installed an autoreply application on my phone for those saying that if you dont want to receive messages from this number, reply with "Stop". If they reply "Stop" i can somehow find a way to do not send any message to that number again.
Can i do it using Diafaan software to stop sending messages to specific numbers ?
And again thanks for helping me set this up.
It is certainly possible to generate messages on a web server and forward them to Diafaan SMS Server on your PC, but it requires your PC to be accessible from the Internet.
The easiest way to do this is probably the HTTP API of Diafaan SMS Server. This method requires that you expose port 9710 (or any other port number you use) to the Internet.
Another way is to use a common database table between the web server and your PC but that only works if the database is accessible from both your web server as your local PC.
A third possibility is to send the messages from your web server to an email address with a POP3 account. The Email Connector in Diafaan SMS Server can periodically check the POP3 box for new messages and send them out using the Android phone.
If you have difficulty to set up a system like this it is probably a good idea to hire a web programmer with some experience in two-way communication between a web server and a local PC.
I am using a sms gateway service API to send sms messages from my web2sms website. But they are way too expensive and i am barely able to afford them.
I was wondering if could replace them with Diafaan SMS software. I have downloaded the trial version and connected my android phone with it after installing the android app on my phone. Now i am able to send sms from my PC to any mobile phone. Is there a way i can connect this software to my website and use my PC to act as its gateway ? If yes, then is there a manual for this because i am really new to all this stuff and would really appreciate any help from you guys.
I am using this code provided by my SMS gateway service to use on my website : http://mysmsserive.com/plain?username=user&password=pass&to=923315803783&from=sender&message=this+is+plain+api
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 391
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 611