Outbound Calling with SIP Endpoints (Zoiper)
This guide explains how to set up an XML application, create a SIP Endpoint, configure a softphone (like Zoiper), and make an outbound call using Vobiz.Prerequisites
- A Vobiz account.
- A virtual phone number purchased in the Vobiz Console (this will be your Caller ID).
- A softphone application installed (e.g., Zoiper5).
- A webhook server capable of returning Vobiz XML (e.g., an ngrok tunnel or hosted server).
Step 1: Create an XML Application
To control what happens when a call is placed from your SIP Endpoint, you need an XML Application that provides instructions to the Vobiz Media Server.- In the Vobiz Console, navigate to Applications and click Create Application.
- Fill out the form:
- Application Name: Enter a friendly name (e.g.,
Outbound Webhook App). - Answer URL: Enter your webhook URL (e.g.,
https://occasionally-isoelastic-dorie.ngrok-free.dev).- Note: Ensure the method matches your server (GET or POST).
- Hangup URL (Optional): Enter a URL to receive hangup events.
- Application Name: Enter a friendly name (e.g.,

- Click Create Application.


Understanding the XML Structure
When you make an outbound call from a SIP Endpoint, Vobiz needs to know where to route the call and what Caller ID to display. This is done using the<Dial> verb.
<Response>: The required root element for all Vobiz XML instructions.<Dial>: The verb used to connect the active caller (your SIP Endpoint) to a new destination.callerIdattribute: This dictates what phone number shows up on the recipient’s phone. This must be a phone number associated with your Vobiz account.<Number>: The noun nested inside<Dial>that specifies the destination phone number you are trying to reach (usually dynamically grabbed from the SIP dialpad).
Example Webhook Payload
Here is a Python example that dynamically extracts the number you dial in Zoiper (passed by Vobiz in theTo parameter) and responds with the correct XML structure to route the call.
Step 2: Create a SIP Endpoint
A SIP Endpoint acts as a bridge between your softphone and the Vobiz network.- Navigate to Endpoints in the Vobiz Console and click Create SIP Endpoint.
- Fill out the configuration:
- Alias: A friendly name for the endpoint (e.g.,
My Zoiper Endpoint). - Username: A unique alphanumeric username (e.g.,
johndoe123). - Password: A secure password (lowercase letters and numbers only).
- Application: Select the XML Application you created in Step 1 (e.g.,
Outbound Webhook App).
- Alias: A friendly name for the endpoint (e.g.,
- Click Create Endpoint.

johndoe123@registrar.vobiz.ai) and password.
Step 3: Configure Zoiper (Softphone)
Now, configure your softphone to connect to the Vobiz SIP Registrar.- Open Zoiper.
- Go to Settings > Accounts and click Add Account.
- Select SIP as the account type.
- Enter the credentials you created in Step 2:
- User / Username: Your SIP Username (e.g.,
piyush123). Note: Zoiper might append a long string to your username, this is normal. - Password: The password you set (e.g.,
password123).
- User / Username: Your SIP Username (e.g.,


- Domain / Outbound Proxy:
registrar.vobiz.ai
- Click Register or Next. You should see a green checkmark indicating successful registration.
Step 4: Make an Outbound Call
- In Zoiper, open the dialpad.
- Dial the destination phone number (e.g.,
+91XXXXXXXXXX). - Press the Call button.

What Happens Next?
- Zoiper sends the call to
registrar.vobiz.ai. - Vobiz sees the call is from your SIP Endpoint and looks up the assigned Application.
- Vobiz makes an HTTP request to your webhook URL (
https://occasionally-isoelastic-dorie.ngrok-free.dev) passingTo=+91XXXXXXXXXX. - Your server responds with the
<Dial>XML. - Vobiz initiates the outbound call to the destination network, masking it with your
callerId.