We had some trouble getting FreePBX working with Cbeyond's SIP product when using Asterisk 1.6+. Inbound calls would only work if anonymous SIP enabled. The following configuration remedied that problem.
This configuration has been tested with FreePBX 2.9.0.9 and Asterisk 1.8.7.2.
Set your 'Outbound CallerID' and 'Maximum Channels'. It is important to note that CBeyond will drop your outbound calls if you attempt to set your Outbound CallerID to a number you don't own.
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]