*** id: bb1a95f4-c43f-4a16-aa16-d96680f98f01 title: Voice Client sidebar-title: Client position: 1 slug: /node/reference/voice/client description: Voice Client reference for initiating and receiving calls. max-toc-depth: 3 ---------------- [events]: /docs/server-sdk/v4/node/reference/voice/client/events [dialphone]: /docs/server-sdk/v4/node/reference/voice/client/dial-phone [dialsip]: /docs/server-sdk/v4/node/reference/voice/client/dial-sip [listen]: /docs/server-sdk/v4/node/reference/voice/client/listen [signalwire-realtime-client]: /docs/server-sdk/v4/node/reference/realtime-client The Voice Client allows you to make outbound calls and receive inbound calls. Access it via the `voice` property on a [`SignalWire Client`][signalwire-realtime-client]. ```javascript import { SignalWire } from "@signalwire/realtime-api"; const client = await SignalWire({ project: "", token: "" }); const voiceClient = client.voice; ``` Use [`dialPhone`][dialphone] or [`dialSip`][dialsip] to initiate outbound calls, or [`listen`][listen] to receive inbound calls on specific topics. See [Events][events] for all available events. ## Examples ### Receiving calls ```javascript await voiceClient.listen({ topics: ["office"], onCallReceived: async (call) => { console.log("Got call", call.from, call.to); await call.answer(); } }); ``` ### Making calls ```javascript const call = await voiceClient.dialPhone({ from: "+15551234567", to: "+15559876543", timeout: 30, }); ```