Error notification when using ETEL
Question
And let me know if it's possible to get ETEL Errors (note: Not notification but errors like call blocked, call dropped etc) if I read more about your research ?
>
> It seem if I register myself as observer of RPhone we get only events but no ETEL errors. Even if you try to dial() your self you get only one error not errors in case for example you are connected and call gets dropped etc.
Answer
Well, you have to look at it as a state machine. You dial, you go
from 'idle' to 'dialling' and you only get an error if that
transition fails.
You'll then have to use the RCall object to monitor for further
state transitions, some of which you may think as errors. See
e.g.,
http://db.cs.helsinki.fi/~mraento/lxr/source/ContextSensors/src/call_listener.cpp