Skip to content

Commit

Permalink
ringtone -> dialtone
Browse files Browse the repository at this point in the history
  • Loading branch information
biglittlebigben committed Oct 22, 2024
1 parent 769e802 commit 6f5175d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/lk/sip.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ var (
Usage: "`SIP URL` to transfer the call to. Use 'tel:<phone number>' to transfer to a phone",
},
&cli.BoolFlag{
Name: "play-ringtone",
Name: "play-dialtone",
Usage: "if set, a ring tone will be played to the SIP participant while the transfer is being attempted",
},
},
Expand Down Expand Up @@ -482,13 +482,13 @@ func createSIPParticipantLegacy(ctx context.Context, cmd *cli.Command) error {
func transferSIPParticipant(ctx context.Context, cmd *cli.Command) error {
roomName, identity := participantInfoFromArgOrFlags(cmd)
to := cmd.String("to")
ringtone := cmd.Bool("play-ringtone")
dialtone := cmd.Bool("play-dialtone")

req := livekit.TransferSIPParticipantRequest{
RoomName: roomName,
ParticipantIdentity: identity,
TransferTo: to,
PlayRingtone: ringtone,
PlayDialtone: dialtone,
}

cli, err := createSIPClient(cmd)
Expand Down

0 comments on commit 6f5175d

Please sign in to comment.