Here's a gateway module for Mobivity (http://www.mobilemarketing.net) - supporting incoming and outgoing messages on a shortcode through SMS Framework.

Install, enable, configure settings in admin.

Developed by DLC Solutions (http://www.dlc-solutions.com) for the University of Pennsylvania Department of CME (http://www.penncme.com)

Comments

djdevin’s picture

StatusFileSize
new1.54 KB

No new functionality, just coding standards.

pdickinson’s picture

StatusFileSize
new1.71 KB

I set up this module and tried using it, but it failed for me because Mobivity seems to want an API key passed to it rather than an email and password. I also got a warning about serializing a simplexml type on the returned SMS id.

I modified the admin form to ask for an API key instead of an email/pass, and I run the returned SMS id through intval(). Patch is attached in case anyone has the same issue.

Thanks to djdevin for this module.

djdevin’s picture

That's strange, because I didn't even know they had an API key. I'm glad you found it useful though - thanks for the patch, now to go and find our API key - much better than email/password.

Josephnewyork’s picture

The API key is under their new admin control panel when you click on your account. You have to generate it at first.

Josephnewyork’s picture

Mobivity changed the var name for the returned carrier name. It was $_REQUEST['carrier'], but now is $_REQUEST['carrierCode'].

Other than this, there is a few problems with passing non-strings to watchdog I had to fix, and are still fixing. I'll roll out a patch when I finish.

univate’s picture

Version: 6.x-1.0 » 6.x-2.x-dev

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.

djdevin’s picture

Status: Needs review » Closed (duplicate)

Hi all,

I've created a new project at http://drupal.org/project/sms_mobivity with patch from #2 and change in #5