Iax - registration refused on FWD

Im foraying into the world of asterisk for the first time. I thought I’d try freeworlddialup to give myself a chance to learn asterisk and save me some money. Maybe that isn’t the way to go ? If there are suggestions as to a better service please suggest.

Anyway, Im running freebsd 6.1 and asterisk 1.2.7.1. I am at home behind a DSL router and have a NATTed, non-routeable, ip address.

Asterisk appears to start but I can never get registered. Here’s my configurations:

iax.conf

[general]
register => 785413:mypass@iax2.fwdnet.net
allow=ulaw

[iaxfwd]
type=user
context=fromiaxfwd
auth=rsa
inkeys=freeworlddialup

extensions.conf

[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
priorityjumping=no

[globals]
FWDNUMBER=785413
FWDCIDNAME="Cameron Walker"
FWDPASSWORD=mypass
FWDRINGS=sip/grandstream1
FWDVMBOX=1000

[toiaxfwd]
exten => _393.,1,SetCallerId,${FWDCIDNAME}
exten => _393.,2,Dial(IAX2/${FWDNUMBER}:${FWDPASSWORD}@iax2.fwdnet.net/${EXTEN:3},60,r)
exten => _393.,3,Congestion

[fromiaxfwd]
exten => ${FWDNUMBER},1,Dial(${FWDRINGS},20,r)
exten => ${FWDNUMBER},2,Voicemail,u${FWDVMBOX}
exten => ${FWDNUMBER},102,Voicemail,b${FWDVMBOX}

I connect to asterisk, set verbose 10, iax2 debug and I get (here’s what seems relvent)

Jul 15 14:26:13 NOTICE[9274]: chan_iax2.c:7405 socket_read: Registration of ‘785413’ rejected: ‘Registration Refused’ from: '192.246.69.186’
Tx-Frame Retry[-01] – OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00008ms SCall: 00001 DCall: 00018 [192.246.69.186:4569]
Tx-Frame Retry[000] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00009ms SCall: 00002 DCall: 00000 [192.246.69.186:4569]
USERNAME : 785413
REFRESH : 60

Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGREJ
Timestamp: 00003ms SCall: 00304 DCall: 00002 [192.246.69.186:4569]
CAUSE : Registration Refused
CAUSE CODE : 29

Jul 15 14:27:03 NOTICE[9274]: chan_iax2.c:7405 socket_read: Registration of ‘785413’ rejected: ‘Registration Refused’ from: '192.246.69.186’
Tx-Frame Retry[-01] – OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00003ms SCall: 00002 DCall: 00304 [192.246.69.186:4569]


The first set of messages in /var/log/asterisk/messages when I start asterisk are
------------------Jul 15 11:21:36 NOTICE[8919] cdr.c: CDR simple logging enabled.
Jul 15 11:21:36 WARNING[8919] res_musiconhold.c: Unable to open pseudo channel f
or timing… Sound may be choppy.
Jul 15 11:21:36 NOTICE[8919] config.c: Registered Config Engine odbc
Jul 15 11:21:36 NOTICE[8919] res_odbc.c: Adding ENV var: INFORMIXSERVER=my_speci
al_database
Jul 15 11:21:36 NOTICE[8919] res_odbc.c: Adding ENV var: INFORMIXDIR=/opt/inform
ix
Jul 15 11:21:36 NOTICE[8919] res_odbc.c: registered database handle ‘asterisk’ d
sn->[asterisk]
Jul 15 11:21:36 NOTICE[8919] res_odbc.c: Connecting asterisk
Jul 15 11:21:36 WARNING[8919] res_odbc.c: res_odbc: Error SQLConnect=-1 errno=0
[unixODBC][Driver Manager]Data source name not found, and no default driver spec
ified
Jul 15 11:21:36 NOTICE[8919] res_odbc.c: res_odbc loaded.
Jul 15 11:21:36 WARNING[8919] chan_iax2.c: Unable to open IAX timing interface:
No such file or directory
Jul 15 11:21:37 NOTICE[8919] res_musiconhold.c: Request to schedule in the past?
!?!

Right now Im just trying to take my baby steps and cant even get started. What I want to do in the near future is convert my wifes office with six phone lines. I want to give them the cheapest solution possible that gives them the ability to dial in the US plus the standard emergency numbers. Eventually I’ll want to set up the cool features I’ve heard about but in the short term the standard call-forward, call-transfer, conferencing is what they’ll want.

Okay, I dont think there is anymore to say.

Any help will really be very much appreciated.

thanks