linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Call in wrong state if caller hangs up between acc


From: matteo.fortini
Subject: [Linphone-developers] Call in wrong state if caller hangs up between accept and stream on
Date: Tue, 17 Apr 2012 20:38:33 +0200
User-agent: RoundCube Webmail/0.3.1

I have a system which can, in some situations, HANGUP a call briefly after
sending INVITE.

The callee is auto ACCEPTing the call right after receiving
the/LinphoneCallIncomingReceived/ event, so linphone starts setting up the
rtp stream.

Before receiving the /LinphoneCallStreamsRunning/ event, I receive the
/LinphoneCallEnd/ event, so I terminate the call (actually, I use
terminate_all() just to make sure I cleanup) and go back to my idle state.

What I see is that for some reason the call is not terminated correctly,
and there is a runaway rtp stream going on, which I cannot terminate in any
way. The debug output of ortp is:

ortp-warning-call_terminated: ignoring.
ortp-warning-cannot set noise gate mode to [0] because no volume send
ortp-error-Fail to build answer for call: err=-3
ortp-warning-Spurious call state change from LinphoneCallEnd to
LinphoneCallConnected, ignored.
ortp-warning-Spurious call state change from LinphoneCallEnd to
LinphoneCallStreamsRunning, ignored.
ortp-warning-alsa_set_params: periodsize:256 Using 256
ortp-warning-alsa_set_params: period:8 Using 8

You can see that there is a spurious transition to
LinphoneCallStreamsRunning, which I suspect triggers the event.

What can I do to debug/avoid the issue?

Thank you,
Matteo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]