Skip to main content
Looking for Twilio Elastic SIP? Check out our guide here.
If you already use Twilio Programmable Voice / TwiML, you can transfer to a Guava agent at any time during your call.

At a Glance

  1. Create a Guava SIP code “guavasip-xxx” on the Guava dashboard.
  2. Attach an agent to the SIP code.
  3. Use the following TwiML template to transfer to your agent.

Create a Guava SIP code

Every SIP integration in Guava requires a guavasip code. guavasip codes are used to route inbound calls to agents — agents can listen to codes and peers dial them. Open the SIP page in the Guava dashboard and click Create SIP Code.
Guava SIP dashboard
Take note of the SIP code and the termination URI.

Start an agent

Next, start an agent using agent.listen_sip("guavasip-xxx") — Guava forwards every call addressed to that code to your agent.
main.py

Twilio Example: Outbound Call

Initiate an outbound call through Twilio, then use a Dial command to transfer the call to your Guava agent using the termination URI.
twilio_outbound.py