Skip to content

wx calls

Observe calls or use this computer’s microphone, speakers and camera

wx calls answer

Answer the current offer using this computer’s microphone, speakers and optional camera

Argument or flagTakesWhat it does
<CALL_ID>position 1Incoming call ID to answer; omit to answer the current offer
--cameratakes <CAMERA>Local camera source for video calls: auto, off, test, file:PATH, or a device path
--camera-offswitchStart video calls with the camera turned off; toggle with v before or during the call
--input-devicetakes <INPUT_DEVICE>Local backend source name or endpoint ID; defaults to the OS microphone
--mutedswitchStart with the microphone muted; toggle with m before or during the call
--output-devicetakes <OUTPUT_DEVICE>Local backend sink name or endpoint ID; defaults to the OS speakers

wx calls conference

Start or join a voice or video conference with local devices and participant meters

wx calls conference join

Join a current invitation for this group; never creates a room

Argument or flagTakesWhat it does
<GROUP>position 1, requiredGroup ID, ending in @chatroom, that has a current conference invitation
--cameratakes <CAMERA>Local camera source: auto, off, test, file:PATH, or a device path
--camera-offswitchStart with the camera turned off; toggle with v during the call
--input-devicetakes <INPUT_DEVICE>Local backend source name or endpoint ID; defaults to the OS microphone
--mutedswitchStart with the microphone muted; toggle with m during the call
--output-devicetakes <OUTPUT_DEVICE>Local backend sink name or endpoint ID; defaults to the OS speakers
--videoswitchEnable video for this call (camera and microphone start on unless overridden)

wx calls conference start

Start a group voice or video conference; use i inside the call for later invitations

Argument or flagTakesWhat it does
<GROUP>position 1, requiredGroup ID, ending in @chatroom, to start the conference in
--cameratakes <CAMERA>Local camera source: auto, off, test, file:PATH, or a device path
--camera-offswitchStart with the camera turned off; toggle with v during the call
--input-devicetakes <INPUT_DEVICE>Local backend source name or endpoint ID; defaults to the OS microphone
--inviterequired, takes <INVITEES>, repeatableContact ID to invite; repeat for several
--mutedswitchStart with the microphone muted; toggle with m during the call
--output-devicetakes <OUTPUT_DEVICE>Local backend sink name or endpoint ID; defaults to the OS speakers
--videoswitchEnable video for this call (camera and microphone start on unless overridden)

wx calls devices

List local microphone, speaker and camera devices without connecting to a daemon

wx calls dial

Call one contact using this computer’s microphone, speakers and optional camera

Argument or flagTakesWhat it does
<CONTACT>position 1, requiredContact ID to call, from wx contacts list
--cameratakes <CAMERA>Local camera source: auto, off, test, file:PATH, or a device path
--camera-offswitchStart with the camera turned off; toggle with v during the call
--input-devicetakes <INPUT_DEVICE>Local backend source name or endpoint ID; defaults to the OS microphone
--mutedswitchStart with the microphone muted; toggle with m during the call
--output-devicetakes <OUTPUT_DEVICE>Local backend sink name or endpoint ID; defaults to the OS speakers
--videoswitchEnable video for this call (camera and microphone start on unless overridden)

wx calls monitor

Wait for incoming voice or video calls. With —json, observe only without local devices

Argument or flagTakesWhat it does
--cameratakes <CAMERA>Local camera source for video calls: auto, off, test, file:PATH, or a device path
--camera-offswitchStart video calls with the camera turned off; toggle with v before or during the call
--input-devicetakes <INPUT_DEVICE>Local backend source name or endpoint ID; defaults to the OS microphone
--mutedswitchStart with the microphone muted; toggle with m before or during the call
--output-devicetakes <OUTPUT_DEVICE>Local backend sink name or endpoint ID; defaults to the OS speakers

wx calls session

Run and drive headless call sessions with synthetic media, event waits, recording and inspection

wx calls session answer

Answer the current incoming direct call offer in a running session

Argument or flagTakesWhat it does
<CALL_ID>position 1Incoming call ID to answer; omit to answer the current offer
--audiotakes <AUDIO>Override the outgoing audio source for this call
--camera-offswitchStart a video call with the camera turned off
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--mutedswitchStart with the microphone muted
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)
--video-sourcetakes <VIDEO_SOURCE>Override the outgoing video source for this call

wx calls session audio

Switch the outgoing audio source (silence, tone:…, file:…, device[:ID]) live

Argument or flagTakesWhat it does
<SOURCE>position 1, requiredOutgoing audio source specification
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)

wx calls session camera

Turn the local camera on or off during a video call

Argument or flagTakesWhat it does
<STATE>position 1, required, values on|offDesired camera state: on or off
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)

wx calls session clear-audio

Clear queued outgoing audio and advance the send audio track generation

Argument or flagTakesWhat it does
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)

wx calls session clear-video

Clear queued outgoing video without turning the camera off and advance the send video track generation

Argument or flagTakesWhat it does
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)

wx calls session conference

Start, join, or invite contacts into a group conference from a running session

wx calls session conference invite

Invite one or more contacts into the session’s active conference

Argument or flagTakesWhat it does
<CONTACTS>position 1, required, repeatableContact IDs to invite into the active conference
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)

wx calls session conference join

Join a current conference invitation for a group from a running session

Argument or flagTakesWhat it does
<GROUP>position 1, requiredGroup ID, ending in @chatroom, with an active conference invitation
--audiotakes <AUDIO>Override the outgoing audio source for this call
--camera-offswitchJoin with the camera turned off even when —video is passed
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--invitation-idtakes <INVITATION_ID>Exact invitation ID when more than one invitation exists for the group
--mutedswitchStart with the microphone muted
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)
--videoswitchEnable video when joining the conference
--video-sourcetakes <VIDEO_SOURCE>Override the outgoing video source for this call

wx calls session conference start

Start a group voice or video conference from a running session

Argument or flagTakesWhat it does
<GROUP>position 1, requiredGroup ID, ending in @chatroom, to start the conference in
--audiotakes <AUDIO>Override the outgoing audio source for this call
--camera-offswitchStart a video conference with the camera turned off
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--inviterequired, takes <INVITEES>, repeatableContact ID to invite; repeat for several
--mutedswitchStart with the microphone muted
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)
--videoswitchStart a video conference instead of voice-only
--video-sourcetakes <VIDEO_SOURCE>Override the outgoing video source for this call

wx calls session dial

Place a direct voice or video call from a running session

Argument or flagTakesWhat it does
<CONTACT>position 1, requiredContact ID to call, from wx contacts list
--audiotakes <AUDIO>Override the outgoing audio source for this call
--camera-offswitchStart a video call with the camera turned off
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--mutedswitchStart with the microphone muted
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)
--videoswitchStart a video call instead of a voice call
--video-sourcetakes <VIDEO_SOURCE>Override the outgoing video source for this call

wx calls session events

Read buffered session events or follow live events as NDJSON

Argument or flagTakesWhat it does
--aftertakes <AFTER>, default 0Return only events with sequence number strictly greater than this value
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--followswitchKeep streaming new events as NDJSON lines until interrupted or the session stops
--limittakes <LIMIT>, default 200Maximum number of buffered events to return when not following
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)

wx calls session hangup

Cancel or hang up the session’s active owned call and wait for terminal cleanup

Argument or flagTakesWhat it does
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)

wx calls session keyframe

Request a remote video keyframe from the daemon

Argument or flagTakesWhat it does
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)
--tracktakes <TRACK>Receive video track ID; omit to request on every active receive video track

wx calls session list

List local call sessions and report whether each is running

Argument or flagTakesWhat it does
--dirtakes <DIR>Parent directory containing named session folders; defaults to the standard runtime folder

wx calls session mute

Mute the local microphone and notify the peer or conference

Argument or flagTakesWhat it does
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)

wx calls session ready

Enable or disable readiness for incoming offers and conference invitations

Argument or flagTakesWhat it does
<STATE>position 1, required, values on|offDesired readiness state: on or off
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)

wx calls session record

Start or stop recording call audio and video streams

wx calls session record start

Start recording TX/RX WAV audio and RX video for the active call

Argument or flagTakesWhat it does
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--outtakes <OUT>Output directory for recordings; defaults to a timestamped folder inside the session directory
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)

wx calls session record stop

Stop recording and finalize WAV headers, video remuxing and manifest.json

Argument or flagTakesWhat it does
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)

wx calls session reject

Reject the current incoming direct call offer in a running session

Argument or flagTakesWhat it does
<CALL_ID>position 1Incoming call ID to reject; omit to reject the current offer
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)

wx calls session run

Run a headless call session in the foreground, optionally driven over NDJSON stdin/stdout

Argument or flagTakesWhat it does
--audiotakes <AUDIO>, default silenceOutgoing audio source: silence, tone[:HZ[:AMP[:ON_MS:OFF_MS]]], file:PATH[:loop|:once], or device[:ID]
--dirtakes <DIR>Explicit private directory for this session’s socket, event log, snapshots and recordings
--exit-with-parentswitchStop gracefully when the parent process that started this foreground session exits
--idle-timeouttakes <IDLE_TIMEOUT>, default 600Stop automatically after this many idle seconds with no active call or commands (0 disables)
--nametakes <NAME>, default defaultSession name used to address this session from other wx calls session commands
--no-ipcswitchDisable the local IPC socket (for isolated —stdio runs)
--outputtakes <OUTPUT>, default nullIncoming audio sink: null (headless metering/recording only) or device[:ID]
--readyswitchAdvertise call readiness immediately so incoming direct offers and conference invitations arrive
--receive-video-codectakes <RECEIVE_VIDEO_CODEC>, default jpeg, values jpeg|h265|h264Preferred incoming video codec: jpeg (decoded RGB inspection/snapshots), h265, or h264
--record-dirtakes <RECORD_DIR>Automatically record each call’s TX/RX WAV audio and RX video into this directory
--snapshot-intervaltakes <SNAPSHOT_INTERVAL>, default 0Periodically save decoded remote video snapshots every N milliseconds (0 disables)
--stats-intervaltakes <STATS_INTERVAL>, default 1000Emit media.stats events every N milliseconds while media is attached (0 disables)
--stdioswitchRead NDJSON commands from stdin and emit NDJSON events and replies on stdout
--videotakes <VIDEO>, default testOutgoing video source: test, smpte, color:NAME|#RRGGBB, file:PATH, off, auto, or a device path

wx calls session snapshot

Save the latest decoded remote video frame(s) to JPEG or PNG for visual inspection

Argument or flagTakesWhat it does
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--outtakes <OUT>Output image file path (.jpg or .png) or directory; defaults to the session snapshots folder
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)
--tracktakes <TRACK>Receive video track ID; omit to snapshot all decoded remote video tracks

wx calls session start

Start a detached headless call session in the background and wait until ready

Argument or flagTakesWhat it does
--audiotakes <AUDIO>, default silenceOutgoing audio source: silence, tone[:HZ[:AMP[:ON_MS:OFF_MS]]], file:PATH[:loop|:once], or device[:ID]
--dirtakes <DIR>Explicit private directory for this session’s socket, event log, snapshots and recordings
--idle-timeouttakes <IDLE_TIMEOUT>, default 600Stop automatically after this many idle seconds with no active call or commands (0 disables)
--nametakes <NAME>, default defaultSession name used to address this session from other wx calls session commands
--outputtakes <OUTPUT>, default nullIncoming audio sink: null (headless metering/recording only) or device[:ID]
--readyswitchAdvertise call readiness immediately so incoming direct offers and conference invitations arrive
--receive-video-codectakes <RECEIVE_VIDEO_CODEC>, default jpeg, values jpeg|h265|h264Preferred incoming video codec: jpeg (decoded RGB inspection/snapshots), h265, or h264
--record-dirtakes <RECORD_DIR>Automatically record each call’s TX/RX WAV audio and RX video into this directory
--snapshot-intervaltakes <SNAPSHOT_INTERVAL>, default 0Periodically save decoded remote video snapshots every N milliseconds (0 disables)
--stats-intervaltakes <STATS_INTERVAL>, default 1000Emit media.stats events every N milliseconds while media is attached (0 disables)
--videotakes <VIDEO>, default testOutgoing video source: test, smpte, color:NAME|#RRGGBB, file:PATH, off, auto, or a device path

wx calls session status

Show the session’s current call state, offers, peer status, controls and live media metrics

Argument or flagTakesWhat it does
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)

wx calls session stop

Stop a running headless call session cleanly

Argument or flagTakesWhat it does
<NAME>position 1, default defaultSession name to stop (defaults to “default”)
--dirtakes <DIR>Explicit private session directory to stop instead of resolving by name
--no-hangupswitchDisconnect without first hanging up any active owned call
--timeouttakes <TIMEOUT>, default 65Seconds to wait for the session process to exit (1 to 120)

wx calls session unmute

Unmute the local microphone and notify the peer or conference

Argument or flagTakesWhat it does
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)

wx calls session video

Switch the outgoing video source (test, smpte, color:…, file:…, off, auto, device) live

Argument or flagTakesWhat it does
<SOURCE>position 1, requiredOutgoing video source specification
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)

wx calls session wait

Block until a matching call event or media threshold is observed, or fail on timeout

Argument or flagTakesWhat it does
--aftertakes <AFTER>, default 0Only consider events with sequence number strictly greater than this value
--audio-framestakes <AUDIO_FRAMES>Wait until received audio frame count reaches at least this value
--call-idtakes <CALL_ID>Restrict matching to events for this call ID
--cameratakes <CAMERA>, values true|falseMatch participant.updated events where cameraEnabled equals this value
--control-kindtakes <CONTROL_KIND>, values microphone|cameraMatch call.control events with this control kind (microphone or camera)
--control-valuetakes <CONTROL_VALUE>, values true|falseMatch call.control events with this muted/enabled boolean value
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--dominant-hztakes <DOMINANT_HZ>Wait until received audio dominant tone frequency is within —hz-tolerance of this Hz value
--eventtakes <EVENTS>, repeatableMatch events whose type equals one of these values (repeatable)
--grouptakes <GROUP>Match conference.invitations events containing an invitation for this group ID
--hz-tolerancetakes <HZ_TOLERANCE>, default 25Frequency tolerance in Hz used with —dominant-hz
--membershiptakes <MEMBERSHIP>, values invited|joined|left|unknownMatch participant.updated events with this membership (invited, joined, left, unknown)
--mictakes <MIC>, values true|falseMatch participant.updated events where microphoneEnabled equals this value
--min-rms-dbtakes <MIN_RMS_DB>Wait until received audio RMS level reaches at least this dBFS value (e.g. -35)
--participanttakes <PARTICIPANT>Match participant.updated, call.control, or call.peer_status for this participant or contact ID
--participant-statustakes <PARTICIPANT_STATUS>, values undefined|joined|invited|acknowledged|left|cancelled|busy|rejected|no_response|unknownMatch participant.updated events with this status kind
--peer-statustakes <PEER_STATUSES>, repeatable, values undefined|joined|invited|acknowledged|left|cancelled|busy|rejected|no_response|unknownMatch call.peer_status events reaching one of these kinds (repeatable)
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)
--statetakes <STATES>, repeatable, values offered|dialing|ringing|connecting|connected|ending|ended|uncertainMatch call.state events reaching one of these states (repeatable)
--timeouttakes <TIMEOUT>, default 30Seconds to wait before failing with a timeout error
--tracktakes <TRACK>Restrict —audio-frames, —min-rms-db, —dominant-hz, or —video-frames to this track ID
--video-framestakes <VIDEO_FRAMES>Wait until received video frame count reaches at least this value

wx calls session watch

Say whether you watch the other side’s video; watching is on when a call starts

Argument or flagTakesWhat it does
<STATE>position 1, required, values on|offDesired state: on or off
--dirtakes <DIR>Explicit private session directory instead of the default runtime directory
--sessiontakes <SESSION>, default defaultNamed session to target (defaults to “default”)
--tracktakes <TRACK>Receive video track ID; omit to apply to every track, including later ones

wx calls status

Read the daemon’s current call state and exit