-------- Originele bericht --------
Onderwerp: Re: [Serdev] HTTP-SMS gateway
Van: Daniel-Constantin Mierla <[email protected]>
Aan: [email protected]
CC: [email protected]
Datum: 23-2-2009 17:47
Hello,

On 02/23/2009 06:28 PM, Tom van der Geer wrote:
Hi all,

I was wondering if anybody here ever investigated the possibility to
create an SMS gateway module for SER using one one the widely available
HTTP-sms providers?

HTTP-sms providers enable their users to send an HTTP(S) request to one of
their servers containing something along the line of:
https://<serveraddress>/sendsms?an=<accountname>&pw=<password>&dest=<destination>&msg=<message>
Some of the Betamax voip providers (eg. VoipBuster, VoipStunt,
VoipDiscount, etc.) offer their user the posibility to send SMS via an
HTTP request. Most (mobile) operators and some other companies offer a
similar service commercially with the option to receive SMS messages as
well using a short-code (4 digit number) or a keyword on a (shared)
short-code. Incoming SMS messages will then result in an HTTP call to a
customer defined address.

I've noticed there's currenlty a module that is able to send SMS messages and receives delivery notifications, but it requires the use of a SIM-box
+ SIM card or any other mobile device with a serial interface. This
solution is not really scalable, let alone professional.

Before I start digging in the code I thought it would be good to see if
there are other people here that have attempted to build something like
this in the past. Maybe they would like to share their experience here.
Any other input is welcome too!

one solution I used in the past is exec module -- call a bash/perl/etc... script from config file.

In the perspective of http://sip-router.org project where you get access to kamailio/openser modules, you may call directly a perl application from config file via perl module.

Also, the new module in kamailio 1.5 exports a function that allows you to do a http get query:
http://kamailio.org/docs/modules/devel/utils.html#id2454145

You may try to see if the sip-router core as it is now works with the utils module, then it can be easily ported for ser.

Cheers,
Daniel

Hi Daniel,

Thank you very much for your comments! This is a perfect start for my project. However it's not the full solution, since this only works for SIP->SMS and does not take the route from SMS->SIP into account. It's a quick path to a proof-of-concept for the first phase in my project: SIP->SMS. I will definitely look into it.

Regards,

Tom
_______________________________________________
Serdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/serdev

Reply via email to