Create a gateway module for the Kannel SMS gateway software. Still collecting requirements, as per http://groups.drupal.org/node/4611

CommentFileSizeAuthor
#1 sms_kannel.tar_.gz7.04 KBbatje

Comments

batje’s picture

StatusFileSize
new7.04 KB

Here is one we have been using for a while. Supports both inbound as well as outbound SMS.

batje’s picture

Status: Postponed (maintainer needs more info) » Needs review
univate’s picture

I think each gateway should have its own project on drupal.org with a name in the format of sms_[gatewayname] rather then being added into this module.

univate’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
batje’s picture

I agree with univate. We wont be able to support the kannel module, as we switched SMS provider and are not using kannel anymore

glennnz’s picture

@batje

Is there a D7 version of your kannel module?

batje’s picture

sorry, we don't have plans for that.

drupalnesia’s picture

I plan to create a separate module for Kannel. What do u think?

univate’s picture

For D7, with the outbound sms functionality all gateway modules need to do is change the info file and set the core = 7.x. So that module above may work with very little change. If gateways are using inbound functionality they may need to make further changes.

drupalnesia’s picture

Status: Needs work » Needs review

I am not familiar with SMS Framework module. Does SMS Framework can handle these ideas?

  1. Kannel will work using standard DLR, mean save to File. Then "Kannel Drupal module" will parse this file into Drupal CCK. So, this "Kannel Drupal module" can run even Kannel not compiled with external storage option!
  2. A cron file to read Kannel log file then save to Drupal CCK, make archive, etc
  3. "Kannel Drupal module" will have UI to read Kannel.conf. And may modify Kannel.conf? About MODIFY we need take a look for security issue when Drupal has access to /etc/kannel.conf
  4. Option to enable/disable Duplicate Message
  5. Option to make archive, this is important to make CURRENT Kannel log file keep small, because we parse from this current file. This option very important for very busy SMS Gateway
  6. Since "Kannel Drupal module" use CCK then we can use Views module to create report!
  7. "Kannel Drupal module" automatically create a form for sending SMS message
univate’s picture

Just my opinion I wouldn't give the web server (drupal) access to edit files in /etc

Not sure I can help much with the reset as I don't know much about kannel. This module just provide a framework to pass a message and number to another gateway module that decides what to do with the message.

drupalnesia’s picture

Status: Needs review » Needs work
univate’s picture

Obviously you are free to create what ever modules you like. But the idea of an smsframework is to put all the generic stuff related to sms gateways in the one place and then allow other modules to provide the specifics for each gateway. That way when you install a modules like messages or smsbulk which works with smsframework you can install any sms gateway you like and it will work with them.

If you go your own way with a sms gateway you will need to build and maintain not just the gateway specific stuff, but all the UI and interfaces with other modules.

I would encourage you to re-consider your strategy and help push this module further along and use that kannel module for just kannel specific stuff and add patches here for generic sms stuff.

batje’s picture

Status: Needs review » Closed (won't fix)

Feel free to contribute a sandbox or real module for Kannel and update this issue when you do, so it can be added to the list of supported gateways.