So I set up my asterisk server at work, and got some free inbound DIDs, two from FWD/IPKall and one from Stanaphone. After a few hours of banging my head on the wall, I got the BudgeTone 101 to ring when I dialed one of the numbers! Woot! When I went home for the day, I grabbed the phone and set it up at home. Both the phone at home and the * server are behind Linksys routers (WRT54G to be exact) and the work router forwards all the neccessary ports (UDP 10000-20000, 5004-5082, and 4569) directly to the * server. I logged into the * box remotely and added a new SIP entry into sip.conf for the phone and edited my extensions.conf to call the new extension instead of the one it was dialing (100).
[101]
type=friend
secret=1234
host=dynamic
dtmfmode=rfc2833
context=internal
nat=yes
qualify=yes
canreinvite=no
callerid="Ben Utne" <101>
And the phone registered the first time to my surprise. Now here’s the wierd part. With absolutely no ports forwarded to the phone (behind a NAT as you’ll recall) at home, I could dial my DIDs and the phone rang! I even went so far as to forward the entire port range like at work to a bogus IP on my home network and the thing STILL worked! How in the world is that possible?