Connectiong Ekiga to my asterisk box

Hey guys

I have installed Asterisk on a old box to learn it. I added a user in users.conf so Ekiga can connect to it. This is what I have in users.conf First Asterisk gave an massage saying that I need to put host=dynamic but after I put that, Asterisk did not give me any other massage and Ekima gave an timeout massage

Why would this not work? Do I need to say what codec to use?

fullname = Joe User
email =
secret = 1234
zapchan = 1
hasvoicemail = yes
vmsecret = 1234
hassip = yes
hasiax = no
hash323 = no