Cancel call before it is established

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Cancel call before it is established

linphone-developers mailing list
Hello,

my question concerns especially iOS and Android. Let's say I want to
cancel a call, before it is completely established. How do I do it the
proper way in linphone-sdk?
The INVITE may or may not be already out and I want to cancel it. If
the INVITE is not yet sent, it would be best to keep it that way. If it
is out, I guess a BYE is in order, but which will only be sent after
the call is complete.
Is there a way in linphone-sdk to cancel a call in this stage?

Regards
Florian
--
Dr.-Ing. Florian Ulivi

SmartWireless GmbH & Co. KG
Robert-Perthel-Straße 45 | 50739 Köln | Germany
Tel.: +49 221 5349 886 | www.smartwireless.de | [hidden email]

Amtsgericht Wuppertal HRA 23796 | USt-ID: DE292644908
Geschäftsführer: Guido Meis, Andreas Fuhr
Persönlich haftende Gesellschafterin: SmartWireless Beteiligungs-GmbH
Amtsgericht Wuppertal HRB25321

Der Inhalt dieser E-Mail ist ausschließlich für den bezeichneten
Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser
E-Mail oder dessen Vertreter sein sollten, so beachten Sie, dass jede
Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder
Weitergabe des Inhalts dieser E-Mail unzulässig ist. Wir bitten Sie,
sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu
setzen.

_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers

signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Cancel call before it is established

Peio Rigaux

Hello.
I asked my colleague about that.
You can use the "terminate" method https://linphone.org/snapshots/docs/liblinphone/4.5.0/c++/classlinphone_1_1Call.html#a08b5e181b8575f18b107bc39745b9192

I can't help you more, since I didn't touched nor used this part of the code...

Regards

Peio Rigaux
Junior Software Engineer
Belledonne Communications, the company behind Linphone
Linphone.org

Le 09/09/2020 à 06:40, Florian Ulivi via Linphone-developers a écrit :
Hello,

my question concerns especially iOS and Android. Let's say I want to
cancel a call, before it is completely established. How do I do it the
proper way in linphone-sdk?
The INVITE may or may not be already out and I want to cancel it. If
the INVITE is not yet sent, it would be best to keep it that way. If it
is out, I guess a BYE is in order, but which will only be sent after
the call is complete.
Is there a way in linphone-sdk to cancel a call in this stage?

Regards
Florian

_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers

_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers

0x99D28356FED78143.asc (3K) Download Attachment
signature.asc (235 bytes) Download Attachment