voiceip / tinyphone

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

Feature : conference between selective parties #63

Closed ploufs closed 1 year ago

ploufs commented 2 years ago

On softphone have 3 calls. Only conference between call 1 and 2.

Suggest new ressource : /calls/conference Payload : Array call_Id

kingster commented 2 years ago

This could possibly be an enhancement. Though I really can't think of a scenario where this would be required. Could you share an example scenario where this would be used?

ploufs commented 2 years ago

Softphone = receptionist Call 1 = Customer 1 Call 2 = Sale Call 3 = Customer 2

Receptionist does conference customer 1 with sale and exist calls.

ploufs commented 2 years ago

https://www.pjsip.org/docs/1.16/pjsip/docs/html/group__PJSUA__LIB__CALL.htm#gaa8c781210e8c2b24183cb3c5215c68d7

function pjsua_call_xfer_replaces in pjsua ?

kingster commented 2 years ago

If I understand this correctly, this also relates to #65 where in 3 party conference the receptionist would conference and then drop out of the call.

https://www.pjsip.org/docs/1.16/pjsip/docs/html/group__PJSUA__LIB__CALL.htm#gaa8c781210e8c2b24183cb3c5215c68d7

function pjsua_call_xfer_replaces in pjsua ?

Yes this would be the function that implements, and need to be called instead of hangup when exiting the conference. That way the 2 parties would continue the direct call between them.

ploufs commented 2 years ago

@kingster Do you plan to develop this functionality soon?

kingster commented 2 years ago

@ploufs Some parts of this might not be straightforward, since this would mean the phone would have to support multiple conferences and keep track of the running conferences, this IMO overlaps with the functionality of a dedicated conference server/PBX.

That said, an attended transfer of call is something that makes sense (the reception example, with 2 calls only), and I will pick it up when I get some time soon.