Asterisk complains that it cannot find the context 'XXX' in your extensions.conf configuration file.
Probably the reason for this will be one of the following:
1) No such context exists in extensions.conf
If you are pretty new to asterisk, chances are big you are sending a call to a non-existant context in extensions.conf (without knowing it).
Check if the context 'XXX' (replace the XXX with the exact context name its giving in your error message), exists in your extensions.conf file.
It should look like this:
[XXX]
exten => something
exten => something
Asterisk is looking for this extension because you configured the channel for the incoming call to arrive in this context.
This could be done because you changed the "context=" line in the general section in sip.conf / iax2.conf / zapata.conf, which is used as default context for all incoming calls of this type (sip, iax or zatapa).
Or you might have defined an "context=" line in the entry for this user or peer in sip.conf or iax2.conf
Also check if you didnt add the "context=" line twice in this entry for the user or peer.
If you have some more experience with asterisk, you probably didnt make the mistakes as in 1).
If you get this error anyway, it probably means there is some issue with the layout of your extensions.conf.
Check the file again for lines that should not be there, or (invisible) characters that should not be there.
If you can't find it, it might be a good idea to start with a make samples after compiling/installing asterisk, to start with a clean version.
User Comments
why is there no generic cialis (rosemarie dot patteson at grassfed dot us) 05 July 2020 02:29:50 why is there no generic cialis https://www.wisig.org/
Greg (no at spam dot com) 28 September 2006 03:02:16 4) Ensure the following module is loaded:
load => pbx_config.so
Philip (no at spam dot com) 17 September 2006 23:49:50 SoloFlyer, your third possible cause was the reason my configuration didn't work. I reset the file permissions an now it works great! Thank you very much!
SoloFlyer (i dot hate at spam dot com) 25 July 2006 10:27:34 Or
3) Asterisk Doesnt have permission to read you extensions.conf file