[Asterisk-Users] Re: Keep getting message in logs that pbx.c cannot find extension context 'default'

Tomislav Parčina tparcina at lama.hr
Mon Feb 27 00:48:07 MST 2006


In article <43FDCFC1.1020409 at networkdoc.com>, chuck.bunn at networkdoc.com says...
> Hi,
> 
> I am getting repeated messages in my logs with the following:
> 
> *********************
> Feb 23 07:56:11 NOTICE[2470] pbx.c: Cannot find extension context 'default'
> Feb 23 07:56:11 DEBUG[2470] chan_sip.c: SIP message could not be 
> handled, bad request: 70975D7A-CF70-4C05-8F21-56B06195995F at 10.0.0.40
> Feb 23 07:56:12 NOTICE[2470] pbx.c: Cannot find extension context 'default'
> Feb 23 07:56:12 DEBUG[2470] chan_sip.c: SIP message could not be 
> handled, bad request: 8FF38834-6E36-4AC7-B762-27AFA6EA84E9 at 10.0.0.43
> Feb 23 07:56:14 NOTICE[2470] pbx.c: Cannot find extension context 'default'
> Feb 23 07:56:14 DEBUG[2470] chan_sip.c: SIP message could not be 
> handled, bad request: 953B85B6-43CA-47A3-9425-93E1D94C46B8 at 10.0.0.47
> *********************
> 
> I do not have a default context used in my extensions.conf - I use other 
> names. Am I required to have a context named 'default'??
> 
> Thanks

Hi Chuck!

In sip.conf you have defined context=default in general or some of user/peer/friend section. So, Asterisk tries to send call to default context which you don't have in extensions.conf.

You can
1. in sip.conf change from context=default to some other context that exist in extensions.conf or
2. create default context in extensions.conf



-- 

Tomislav Parcina
name.surname at email.t-com.hr



More information about the asterisk-users mailing list