voiceip / tinyphone

Minimalist Windows / OSx / Linux SIP Softphone with API Control
GNU General Public License v3.0
114 stars 36 forks source link

Feature: Convert Conference to Transfer and leave #65

Open ploufs opened 2 years ago

ploufs commented 2 years ago

Here's what I'm trying to do:

  1. I do a first call to Tinyphone (call 1)
  2. I answer call 1
  3. I do a second call to Tinyphone (call 2)
  4. I answer call 2
  5. I pass to the conference function the call_id of call 2 (conference work)
  6. hangup call 2 (call end)

I want call 2 to stay on a call with call 1 and the softphone to be off the call.

kingster commented 2 years ago

IMO This is expected behaviour. In the current implementation, the softphone is the conference host, and there can be multiple participants. If the host leaves the conference will end, as the participants alone can't be at a conference without another host.

That being said, I think you are referring to a special scenario where there are only 3 participants and one of them is the softphone. In this case, the softphone could exit out the conference and ask the parties to reinvite each other and be on a direct call. This is not supported currently as this is dependent on the parties to accept a reinvite and act on it, but a PR would be always welcome which supports this feature :)