Googlevoice module error

i was wondering whats the minimal system requirements for this module?
I just upgraded to asterisk 1.8 (edit* Asterisk (Ver. 1.8.4)) from 1.6 and i get an error when i try restarting the server via freepbx, after i enable this module ONLY. Once i disable the module the freepbx server restarts just fine.

/-------------------START OF ERROR------------------------------/
Reload failed because retrieve_conf encountered an error: 255
exit: 255
PHP Fatal error: Cannot redeclare class ext_gosub in /var/www/html/admin/libraries/extensions.class.php on line 468

1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.
/-------------------ERROR_ENDOF------------------------------/

tia

And where did you find the googlevoice module?

i was hoping you werent gona ask that!

top topic in the development forum

http://www.freepbx.org/forum/freepbx/development/envisioning-a-freepbx-google-voice-trunk-module

Edit googlevoice/functions.inc.php and change to this:

// require_once("functions.inc.php");
require_once("libraries/extensions.class.php");

If it breaks, you have small pieces to play with. If it works, please provide feedback to the author.

incredible!
for all the nub’s like me, here’s what mickecarlsson said in detail.

from the asterisk server, edit this file /var/www/html/admin/modules/googlevoice/functions.inc.php

on about line 21 find

require_once(“functions.inc.php”);

and replace with

//require_once(“functions.inc.php”);


on about line 22 find
require_once(“extensions.class.php”);

and replace with

require_once(“libraries/extensions.class.php”);


then you can enable the module and restart the server. The googlevoice module will appear in the freepbx Third Party Addon(s)


thanks mike for your help!!