OK, first, sorry if this is the wrong forum. I’m not really sure where this should go.
So, I FINALLY got Asterisk working with my Sunrocket service. Well, sort of that is…
I can make outbound calls just fine. However, inbound calls just go straight into the Sunrocket voicemail. I can’t figure out what’s going on. It’s like the Asterisk server isn’t even seeing the call come in.
I run asterisk with -rvvv and NOTHING shows up on the console when I dial in. I have my register string right, so I can’t figure out what’s going on. Here is the contents of my .conf files:
acct# = account number
ph# = phone number
sig ph# = signature phone number (second free sunrocket inbound phone number)
SIP.CONF
[general]
useragent=InnoMedia SIP MTA6328-2Re v3.0.77
register=ph#:acct#:acct#@sunrocket.com/ph#
register=sig ph#:acct#:acct#@sunrocket.com/sig ph#
bindport = 5060
bindaddr = 0.0.0.0
disallow=all
allow=ulaw
allow=alaw
callerid = Unknown
tos=0x68
externip = 24.xxx.xxx.xxx (edited out for obvious reasons)
localnet = 192.168.0.119/255.255.255.0
context = context1 ; Send SIP callers that we don’t know about here
[sunrocket-out]
context=sipphone
type=friend
fromdomain=sunrocket.com
fromuser=ph#
username=acct#
authuser=acct#
secret=acct#
dtmfmode=inband
canreinvite=no
host=67.133.234.125
EXTENSIONS.CONF
[general]
[sipphone]
exten => _X.,1,Dial(SIP/sunrocket-out/${EXTEN})
exten => _X.,2,Hangup
[context1]
exten => _X.,1,Answer
exten => _X.,2,Wait(2)
exten => _X.,3,Playback(tt-monkeys)
exten => _X.,4,Hangup
So that’s pretty much it. I can’t figure out why inbound doesn’t work. Outbound goes great, inbound, not so great. It doesn’t even see anything.
My Asterisk box is running on Gentoo.
The Linux box is the DMZ, so it’s outside of my firewall. But, I still have specific UDP ports going to it just in case:
68, 5200, 5060-5063, 16371-16384
I’ll paypal someone $50 if they can get this working for me! Thanks in advance.