On Sep 18, 1:44 pm, Pascal Merle <
pmerl...@googlemail.com> wrote:
> Adding ring back tone should not be an option. It is always better
> than silence.
I'm not sure but some switchboard can produce a ringback tone or am I
wrong? Then it would be better to have it as an option but maybe ON by
default.
> I am not sure if it is optimal to add ringing as a new call_state.
> Have you checked all
> references to call_state if the new state needs to be tested for?
No I did not.
> If not then it might be better to just start playing the tone (from
> where you set the new
> state) and stop it on the next state change (as you already did).
The problem is that there is no Context available in the UserAgent
which is neaded for the MediaPlayer. This is why I have implemented
the MediaPlayer into the Receiver.