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.
General Settings
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.
Dialed Number Manipulation Rules:
Calls must be dialed as 1+AREA CODE. You can configure this here or as part of your Outbound Routes.
Outgoing Settings
Trunk Name: cbeyond
Peer Details:
allow=ulaw
context=from-trunk
disallow=all
dtmfmode=inband
host=sipconnect.lax0.cbeyond.net
fromdomain=sipconnect.lax0.cbeyond.net
insecure=invite,port
maxexpirey=3600
canreinvite=yes
qualify=no
outboundproxy=sip-proxy.lax0.cbeyond.net
secret=<Your Password>
type=peer
username=<Your Username (Usually the primary number on the account)>
fromuser=<Your Username (Usually the primary number on the account)>
Incoming Settings
User Context: cbeyond-in
User Details:
type=user&peer
secret=<Your Password>
insecure=very
host=sip-proxy.lax0.cbeyond.net
fromdomain=sip-proxy.lax0.cbeyond.net
context=from-pstn
canreinvite=no
disallow=all
allow=ulaw
dtmfmode=inband
Registration
Register string: <Your Username>:<Your Password>@cbeyond/<Your Username>