Incredible PBX 13-13 with GVSIP-NAF for CentOS/SL 6 (beta)
For instructions on obtaining refresh_tokens for your Google Voice trunks,
go here. For instructions on creating routes,
go here.
Add GVSIP trunks by logging into your server as root and running
/root/gvsip-naf/install-gvsip. It's a 10-second install per Google Voice trunk. You'll need your refresh_token and phone number for each GVSIP trunk you wish to add.
Delete existing GVSIP trunks (#1 through #9) by running
/root/gvsip-naf/del-trunk. If you need to delete trunks higher than 9, edit
del-trunk and add new sections for the number of trunks you have. Always delete trunks in reverse order. We don't recommend deleting GVSIP1, but it works.
Add an Inbound Route for each of your trunks using the 10-digit DID of the GV trunk and specifying a destination for the incoming calls. Except in Enchilada version, inbound calls won't be processed until you add an incoming route.
Add an Outbound Route for each trunk (named GVSIP1 through GVSIPn. Outbound calls will fail until you add an outbound route for the trunk.
To refresh the patched version of Asterisk, copy /etc/asterisk/pjsip_custom.conf to a safe place, delete the contents of pjsip_custom.conf, rerun the installer, and then copy your version of pjsip_custom.conf back to /etc/asterisk and restart Asterisk. That way you won't lose any of your previously configured GVSIP trunks.