Help getting to Hello World

Hi,

I have a working Asterisk set up. It is operating on virtual box with a static IP address at 192.168.0.156. Making calls using Zoiper works fine but trying to make calls via a Linksys ATA is proving to be a nightmare. The devices refuse to register.

Here are my settings: (Refuses to register
SIP Port: 5061 (Tried 101, 5062, 5003, 50028, all did not work)
Proxy: 192.168.0.156 (IP Address of Asterisk Virtual Box)
Register: Yes
User ID: 101 (As per sip.conf)
Password: 101 (As per sip.conf)

Zoiper Settings: (Works Fine)
Domain: 192.168.0.156 (IP Address of Asterisk Virtual Box)
User: 101 (As per sip.conf)
Password: 101 (As per sip.conf)

I have tested two sip.conf configurations and neither of them have worked. I have included them both below.

PROVIDED BY CISCO:

[code]cisco-phone
type=friend
qualify=yes
;nat=no
host=dyanmic
canreinvite=no
context=LocalSets

101
username=101
secret=101
regext=101

102
username=102
secret=102
regext=102[/code]

FROM OREILLY BOOK

[code][general]
context=unauthenticated
allowguest=no
srvlookup=no
udpbindaddr=0.0.0.0
tcpenable=no

office-phone
type=friend
context=LocalSets
host=dynamic
nat=force_rport,comedia
dtmfMode=auto
disallow=all
allow=g722
allow=ulaw
allow=alaw

101
secret=101

102
secret=102[/code]

Here is my extensions.conf

[code][LocalSets]

exten => 101,1,Dial(SIP/101)
exten => 102,1,Dial(SIP/102)

exten => 200,1,Answer()
same => n,Playback(hello-world)
same => n,Hangup()[/code]

Model number is SPA 2102. I have tested this on an SPA 8000 and the results are the same.

When I switched it from my cisco configuration back to my oreilly configuration it worked fine. Sorry for the trouble.