Allow requesting a dialtone during call transfer (#3122)
This commit is contained in:
+4
-2
@@ -422,6 +422,7 @@ func (s *SIPService) TransferSIPParticipant(ctx context.Context, req *livekit.Tr
|
||||
"room", req.RoomName,
|
||||
"participant", req.ParticipantIdentity,
|
||||
"transferTo", req.TransferTo,
|
||||
"playDialtone", req.PlayDialtone,
|
||||
)
|
||||
|
||||
timeout := 30 * time.Second
|
||||
@@ -472,7 +473,8 @@ func (s *SIPService) transferSIPParticipantRequest(ctx context.Context, req *liv
|
||||
}
|
||||
|
||||
return &rpc.InternalTransferSIPParticipantRequest{
|
||||
SipCallId: callID,
|
||||
TransferTo: req.TransferTo,
|
||||
SipCallId: callID,
|
||||
TransferTo: req.TransferTo,
|
||||
PlayDialtone: req.PlayDialtone,
|
||||
}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user