You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3b79fb9
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: cmd/lk/simulate.go
+23-23Lines changed: 23 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -178,16 +178,16 @@ var simulateAudioCommand = &cli.Command{
178
178
Usage: "Drop packets from the simulated user's audio track",
179
179
},
180
180
&cli.StringFlag{
181
-
Name: "to-phone-number",
182
-
Usage: "Call this `NUMBER` over SIP and simulate against whoever answers, instead of dispatching an agent. Requires --from-phone-number and --scenarios.",
181
+
Name: "to",
182
+
Usage: "Call this `NUMBER` (or SIP user) and simulate against whoever answers, instead of dispatching an agent. Requires --from and --scenarios.",
183
183
},
184
184
&cli.StringFlag{
185
-
Name: "from-trunk",
186
-
Usage: "Outbound SIP trunk `ID` to place --to-phone-number calls through. Without it, calls go out from a LiveKit phone number.",
185
+
Name: "trunk",
186
+
Usage: "Outbound SIP trunk `ID` to place --to calls through. Without it, calls go out from a LiveKit phone number.",
187
187
},
188
188
&cli.StringFlag{
189
-
Name: "from-phone-number",
190
-
Usage: "Caller `NUMBER` for --to-phone-number calls: a LiveKit phone number the project owns, or a number on --from-trunk",
189
+
Name: "from",
190
+
Usage: "Caller `NUMBER` for --to calls: a LiveKit phone number the project owns, or a number on --trunk",
191
191
},
192
192
},
193
193
}
@@ -424,15 +424,15 @@ type simulateConfig struct {
424
424
scenarioGroup*livekit.ScenarioGroup
425
425
scenariosPathstring// path to the --scenarios file (empty when generating from source)
426
426
viewModeRunIDstring// non-empty when `view` opens a pre-existing run
427
-
liveAgentbool// --agent-name or --to-phone-number: run against an already-running agent, don't spawn one
427
+
liveAgentbool// --agent-name or --to: run against an already-running agent, don't spawn one
428
428
warnings []string// config-level warnings surfaced at setup (e.g. ignored flags)
429
429
430
430
// impairments on the simulated user's audio, set only in SIMULATION_MODE_AUDIO
431
431
backgroundNoisebool
432
432
lowQualityMicrophonebool
433
433
packetLossbool
434
434
435
-
// --to-phone-number: dial this number over SIP in place of dispatching agentName
435
+
// --to: dial this number over SIP in place of dispatching agentName
0 commit comments