since I’m using Realtime it seems that callfiles don’t work properly. As a callfile is executed the phone rings as expected. But asterisk (V 1.6.2.19) hangs up immediately as the call is answered.
My callfile:
Channel: SIP/1
Callerid: <123>
Context: test
Extension: 100
Priority: 1
Asterisk forward your call of SIP/1 to the default context instead of the test. What you do is just change the context name in your real time database from test to default and check it out.
The messages is clear: Your Device SIP/1 was sent to default context at s extension and not found it. So correct the call file or create the extension:
Can’t find s in default is the result of a failed fallback action. Simply adding the extension is probably the wrong thing. You need to know why it is trying to fall back.