This configuration has been tested on both Asterisk 1.6 and 1.8, and FreePBX version 2.8.
Set your Outbound CID and your max channels.
Calls must be dialed as 1+AREA CODE
Trunk Name: Telepacific
Peer Details:
type=peer
context=from-tpac
dialformat=${EXTEN:1}
canreinvite=yes
hasexten=no
hasiax=no
hassip=yes
host=<IP Address of Tpac Gateway>
port=5060
registeriax=no
registersip=no
trunkstyle=customvoip
fromdomain=smartvoice.telepacific.com
I certainly don't know everything there is to know about SEO, but I was recently made aware of the duplicate content penalty. In other words, search engines will penalize your site if your domain aliases are simply displaying a copy of your site rather than redirecting to your primary site. To work around this, I have generated this bit of .htaccess code to redirect any domain that is not your primary domain to your primary domain.
# BEGIN SEO Redirect
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} !^(www\.)?nextech.net$ [nc]