Support for multiple numbers per user

mfb - May 12, 2009 - 00:22
Project:SMS Framework
Version:6.x-2.x-dev
Component:SMS User
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

We'd like to be able to support multiple phone numbers per user, but it looks like this functionality is being stripped out of sms_user.module.

Some of our users have numbers in different countries, and others have their own phone, plus a work phone. Also, it's fairly common outside of the US for people to have several pre-paid SIM cards (i.e. several different cell numbers), and switch between them throughout the day to take advantage of different carriers' rates.

It looks like the current schema would still allow us to store multiple numbers per user, so mainly there would need to be some discussion on how to load multiple numbers into the $user object. Also it might be good to allow users to label their numbers and/or designate a primary number.

#1

mfb - May 12, 2009 - 01:49

Related issue, I noticed that sms_user delta is only halfway removed, it's still present in some modules like sms_sendtophone and sms_actions.

#2

Will White - May 12, 2009 - 21:22

Yes I'm willing to revisit this. The delta field was stripped out in sms_user.module but can be re-added if an good to handle multiple numbers is developed. This includes a user interface where we would be able to switch on support for multiple numbers.

#3

schock - September 23, 2009 - 16:38

Hi Will, mfb, this issue keeps coming up in the vozmob workshops, so I can say for sure that at least in our use case it would be great to have this functionality. I'm guessing that it will be useful for ALL drupal projects that are seriously trying to integrate mobile posts. Tracking the issue and suggestions for UI here: http://dev.vozmob.net/issues/229

re: UI,

As for additional phone numbers, just make a button like 'add another phone' in the mobile phone settings page. If user or admin click it they get a field to fill out phone # and [a dropdown of supported] providers. Then all the [user registered] phones appear in a list in [that user's] mobile settings. Primary phone appears at the top of the list, and that is the phone that we send SMS/MMS to.

The secondary / tertiary / etc phones, we just store so that we can post anything that comes from them to the user's blog.

To change which phone is primary, ideally the user can just drag the one they want to the top of the list (same UI like positioning blocks in order on a page).

#4

glennnz - November 19, 2009 - 01:51

+1 for this functionality

 
 

Drupal is a registered trademark of Dries Buytaert.