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.

7 comments:

njdude said...

Is there a way to find out the password, i have the AC211 adapter and have managed to get the admin login, however iam not able to get my password for my account.

Todd said...

I don't have the AC211 so I can't speak from experience, but I would look under the SIP settings from the admin account. You are looking for a 24(?) character password. Sorry I don't anything more specific. If you find something, please let me know and I will add it to my blog.

j b said...

Thanks to a bunch of voip enthusiasists, sunrocket gets to keep me as a customer for at least the amount of time they don't screw with my account again.

Thanks for all the information that helped me salvage my current setup.

for those with limited cli experience, I used "locate" to find admin/modules/core/functions.inc.php at
/var/www/html/admin/modules/core/functions.inc.php on my older trixbox 1.1.1 with freepbx 2.1.1

John Lennon said...

How do you get the password from the Gizmo? I can login to it and in the SIP settings I see the password but it's masked by *****. Even the programs that can reveal stored passwords fail to decode this.

Parker said...

What password did you use to get into the admin account? Did you try to telnet instead of going to the webpage? Last year, I used telnet access on another innomedia that I own and the password was shown there. I have never tried the webpage.

John Lennon said...

Telnet doesn't show the password either:
IPG.Config.SIP > 1username |1u = (myid)
IPG.Config.SIP > 2username |2u =
IPG.Config.SIP > 1password |1pa = *****
IPG.Config.SIP > 2password |2pa =

This on my Gizmo Innomedia Version 4.57.41

Todd said...

Perhaps SunRocket has updated the Gizmo firmware to prevent showing you the password? I'm sorry I can't really help you there as I was able to use the information I posted and telneting into my Gizmo let me display the passwords. If you find out anything, please let me know and I can post it here.

Sure would be nice if SunRocket didn't appear to be going out of their way to make this difficult. If this behavior of theirs doesn't change, I will probably drop SunRocket after my 2 year contract is up. There are equally as good deals from ViaTalk, and they are happy to let you BYOD.