Tuesday, April 3, 2007

FreePBX Trunk settings for SunRocket

In order to get FreePBX working with SunRocket one needs to set up the trunk correctly. Here are the settings I have working at the moment. This is assuming you have the Innomedia Gizmo. These may work for users with other ATAs, but I can't say for sure.


1)Edit sip.conf and add or modify the useragent line to:

useragent=InnoMedia SIP MTA6328-2Re v3.0.77

2) Add a SIP trunk with the following:

Trunk Name: sunrocket

PEER Details:
allow=ulaw
authuser=<AuthID>
disallow=all
dtmfmode=auto
fromdomain=sunrocket.com
fromuser=<UserID>
host=67.133.234.125
insecure=invite
nat=1
outboundproxy=67.133.234.125
secret=<Passwd>
type=friend
username=<AuthID>

Incoming Settings: all blank

Register String: <UserID>:<Passwd>:<AuthID>@sunrocket.com/<UserID>


where:
<AuthID> is the AuthID from the Innomedia (basically extended account number)
<UserID> is essentially your 10 digit SunRocket telephone number
<Passwd> is the Passwd from the Innomedia



That's all the required settings. The difficulty may be though that if your <Passwd> is like mine, it contains equal signs (=). The currently released version of FreePBX (2.2) has a bug that prevents PEER Details from having values that contain equal signs. See trac bug report for the details and the fix.