Thanks a lot Quoc-Quang and Eduardo,
My bulkSMS provider finally found a solution for me. I can send SMS
by using the URL submit to their website and delivery reports are
sent back to me using a PHP page on my website (their platform post
DLR to my website). This way I have all that I need for now.
Do you think there is any architecture/security problem with this
process ?
However, I may need to run Kannel for other reasons (i.e. connect to
a third SMSC) in the futur so I may consider your advice.
I already running a kannel machine at home to send SMS via a mobile
phone so I am a bit familliar with kannel. The fact is that I didn't
get any experience about managing Delivery reports. I am now thinking
about install a fresh copy of Kannel on my production server but I
wonder how hard is it to configure Kannel to be able to update mySQL
about SMS status.
How easy/hard to configure Kannel to target (POST to a php page) on
delivery reposts informations ?
What kannel add-on, kannel module or kannel "box" do I need to do that ?
Thanks a lot
On Oct 3, 2008, at 10:39 AM, Quoc-Quang SRENG wrote:
Hello LoloVioLo and Eduardo,
I've ran trough the same questions a while ago. In the need of
setting up a SMS sending service, I also stumbled upon those PHP
and Perl API. Using those scripts you would be forced to add CRON
tasks which would kind of emulate what Kannel does. Why re-invent
the wheel :-)
From there on, my problem was to configure Kannel. If you need any
help, feel free to ask me. I'm still in the process of configuring
it but I can tell you about the questions and answers I got.
Without a doubt the most annoying and stupid issue I had was the
sendsms-user (pass/username) configuration: when editing emacs
don't forget to 'delete-trailing-whitespaces' before saving :-)
--
Quoc-Quang SRENG
B0BUN Productions
gsm : +33 6 59906130
On Wed, Oct 1, 2008 at 6:58 PM, Eduardo Raad
<[EMAIL PROTECTED]> wrote:
Hey Loloviolo,
I think Kannel is the best solution for you. We use Kannel to
connect to 3 mobile operators using SMPP and send/receive millions
of messages a month.
My recommendation is that you deploy Kannel connected via SMPP to
the Bulk SMS provider and send messages from your website to Kannel
using the HTTP sendsms interface.
You should look out for routing and security issues though:
- Hide your Kannel sendsms URL from your website visitors. You can
develop a wrapper using your favorite scripting language (python,
php, etc.)
- Check the routing policies of your bulk sms provider.
This way you will have a complete SMS gateway handling all routing
and queuing tasks between the bulk sms provider and your website.
Eduardo
LoLoVioLo wrote:
Hi,
I need to send SMS from websites.
I moved from a "Kannel + GSM" system to a Bulk SMS provider system
due to increasing volumes.
I am not targeting BulkSMS provider URL instead of Kannel machine
web URL.
The problem is that I need a SMPP bind to BulkSMS provider to get
Delivery reports and feeds MySQL.
I suppose that running Kannel only for that purpose is not the best
way.
I found 2 ways that can fit my needs but still not succeed :
- Perl Net:SMPP
http://search.cpan.org/~sampo/Net-SMPP-1.11/SMPP.pm
Even I suppose it is the best way. I am not familliar with perl and
don't know how to proceed to cron that on my linux server.
- Lightweight PHP SMPP API
https://sourceforge.net/projects/phpsmppapi/
I tried to run the exemples but no results (blank page)
Please help if you are using such a system or advise if not. Other
script or exemples are welcome too.
Thanks for your help.
LoLoVioLo