Using s extension breaks dialplan?

Hi all,

I’m new to asterisk so I thought i’d just follow the instructions in The Future of Telephony book. I’ve had some success so far and can make calls from one softphone to another, however using the ‘s’ extension always breaks my setup.

For example - this works (extensions.conf)
[phones]
exten => 1011,1,Answer()
exten => 1011,n,Playback(hello-world)
exten => 1011,n,Hangup()

But this does not work (again, extensions.conf):
[phones]
exten => s,1,Answer()
exten => s,n,Playback(hello-world)
exten => s,n,Hangup()

With no changes to my sip.conf in between tries:
[general]
bindport=5060
bindaddr=0.0.0.0

[1000]
type=friend
context=phones
host=dynamic
secret=1000

[1001]
type=friend
context=phones
host=dynamic
secret=1001

Am I using the s extension incorrectly? I thought I was following the tutorial. I tried this all day yesterday with 1.2 that came with ubuntu feisty from the repos, as well as all day today with 1.4 that i compiled from source.

Please Help!
-Brian

I should mention that the error i get on the console is fairly generic:

NOTICE[10986]: chan_sip.c:14035 handle_request_invite: Call from ‘1000’ to extension ‘1011’ rejected because extension not found.

TIA