Why asterisk looks for [default] context

Hi
I’m pretty new to asterisk. I have created a simple Hello world dial plan as follows.

[test]
exten => 600,1,Answer()
exten => 600,n,Playback(hello-world)
exten => 600,n,Hangup()

It keeps looking for [default] context, is it nessary to keep the [default] context. if so how to change this behavior.

Asterisk looks for the [default] context whenever it has a call that does not have any other context associated.

If you have a ZAP trunk or a SIP trunk that has another context in it’s parameters it will use that one.

It’s the same thing for phone sets or anything else. They will begin in the context that you set for them when you create them. If you do not set a context, or the context is default, that’s where the call services will start.

Thanks for replying…

By the way i’m dialing from the console…

Please also tell me how to set default context for my employees using softphone on local network

You should be able to specify the context for your softphone users (outbound) in the sip.conf file:

IE:

[user1]
type=friend
host=dynamic
context=users-outbound
secret=password
call-limit=4
mailbox=mailboxlocation
disallow=all
allow=g729
allow=ulaw
dtmfmode=auto

Then get the softphone to login using the user1/password combination.