Package phones :: Module com_lgtm520
[hide private]
[frames] | no frames]

Module com_lgtm520

source code

Talk to the LG TM520/VX10 cell phone

Classes [hide private]
  Phone
Talk to the LG TM520/VX10 cell phone
  Profile
Functions [hide private]
 
phonize(str)
Convert the phone number into something the phone understands
source code
Variables [hide private]
  typemap = {'fwd': ('home', 'office', 'cell', 'pager', 'data'),...
Function Details [hide private]

phonize(str)

source code 

Convert the phone number into something the phone understands

All digits, P, H, T, * and # are kept, everything else is removed


Variables Details [hide private]

typemap

Value:
{'fwd': ('home', 'office', 'cell', 'pager', 'data'),
 'rev': {'cell': 2,
         'data': 4,
         'fax': 4,
         'home': 0,
         'office': 1,
         'pager': 3}}