Registration Failed

Hello,

I am trying to get my iaxmodem work with Hylafax and I get the following error in the iaxmodem log: Registration failed. It seems every five minutes or so it attempts to register and then fails.

My iaxmodem configuration is as follows:

device /dev/ttyIAX0
owner uucp:uucp
mode 660
port 4570
refresh 50
server 127.0.0.1
peername iaxmodem
secret password
codec alaw

and my iax_additional.conf in the asterix folder reads:

[toronto-peer]
host=10.10.10.6
username=trunkuser
secret=aljkn409d
type=peer
qualify=yes
trunk=yes
context=from-trunk-iax2-toronto-peer

[trunk-user-mi]
secret=aljkn409d
type=user
context=from-internal


I found out that I had to look at these files by googling but not really sure what values I need to modify.

Any help would be appreciated.