Changeset 12505 for contributed_modules/modules/googlevoice
- Timestamp:
- 09/14/11 14:44:34 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
contributed_modules/modules/googlevoice/functions.inc.php
r12441 r12505 94 94 $output .= "[".$username."]\ntype=client\nserverhost=talk.google.com\n"; 95 95 $output .= "username=".$address."/Talk\nsecret=".$password."\n"; 96 $output .= "port=5222\n usetls=yes\nusesasl=yes\nstatus=Available\n";96 $output .= "port=5222\npriority=1\nusetls=yes\nusesasl=yes\nstatus=Available\n"; 97 97 $output .= "statusmessage=\"No Information Available\"\n"; 98 98 $output .= "timeout=100\nkeepalive=yes\n\n"; … … 345 345 } 346 346 347 $sql = "UPDATE googlevoice 348 SET username = '?', password = '?' 349 WHERE phonenum = '?'"; 347 $sql = "UPDATE googlevoice SET username = '".$username."', password = '".$password."' WHERE phonenum = '".$phonenum."'"; 350 348 $params = array($username, $password, $phonenum); 351 $result = $db-> getAssoc($sql,false,$params);349 $result = $db->query($sql); 352 350 if (DB::IsError($result) || empty($result)) { 353 351 return false; contributed_modules/modules/googlevoice/module.xml
r12444 r12505 2 2 <rawname>googlevoice</rawname> 3 3 <name>Google Voice</name> 4 <version>0. 5.0</version>4 <version>0.6.0</version> 5 5 <publisher>Marcus Brown</publisher> 6 6 <license>GPLv2+</license> … … 11 11 </description> 12 12 <changelog> 13 *0.5.0* Added Ability to add Google Apps Voice Accounts. Adding Trunk Prepends instead of just Route Prepends 13 *0.6.0* Added Priority=1, Fixed password/username not updating on edit issue 14 *0.5.0* Added Ability to add Google Apps Voice Accounts. Adding Trunk Prepends instead of just Route Prepends 14 15 *0.1.1* really fix the FreePBX 2.9 issue 15 16 *0.1.0* make the module work for FreePBX 2.9 … … 31 32 <googlevoice>Google Voice</googlevoice> 32 33 </menuitems> 33 <location>contributed_modules/release/googlevoice-0. 5.0.tgz</location>34 <md5sum> 80d0e12fd2a4bc11de1734952067e673</md5sum>34 <location>contributed_modules/release/googlevoice-0.1.1.tgz</location> 35 <md5sum>b3b4a952c5bfd4079fc3c09d7c8d8412</md5sum> 35 36 </module>
