Sip call error

why do i get the following error:

NOTICE[5607]: chan_sip.c:13753 handle_request_invite: Call from ‘1001’ to extension ‘1000’ rejected because extension not found.???

this is my sip.conf:

[1000]
type=friend
contest=phone
host=dynamic

[1001]
type=friend
contest=phone
host=dynamic

Did you define the extensions in extensions.conf ?
Like this:

[phone]
exten=>1000,1,Dial(SIP/1000)
exten=>1001,1,Dial(SIP/1001)

In sip.conf

should be context, not contest.

Cheers.

Marco Bruni