Problem with SUBSCRIBE

Hello everybody…

When I am sending a SUBSCRIBE message immediately after a REGISTER message, I am getting a 403 response from asterisk server. But if I wait a while and then send SUBSCRIBE, I am getting the 2xx response followed by the NOTIFY message.

Why this is happening ?

There’s one more thing I would like to query about…

I sent a SUBSCRIBE message for some extension say-4000 to asterisk. I got back the NOTIFY message with status “openâ€