Call Rejected because extension not found

Hello,

I was having asterisk-1.4.27. It was working fine. My center was working fine without any issues.
Then I changed the asterisk version to 1.6.2. With this, for all the calls I m getting below :

The extensions.conf is having default context as below :

Any help ?

-Thanks

This is very bad security practice! The default context should not have any rules that can result in a call.

Move your extensions to another context and define them individually. Set the sip.conf accordingly.

Thank you for your reply.

I know this is bad practice.But in my live server this is not the case. I put this dialplan pattern for the testing purpose only.

Ok, as long as you know what you are doing :wink:

What does this dialplan do?

[default]
exten => _X.,1,Dial(SIP/${EXTEN},60,t)

Or this?

[default]
exten => 1001,1,Dial(SIP/1001,60,t)
exten => 1002,1,Dial(SIP/1002,60,t)