/Zentrunk/, no SDK helpers). Vobiz models the same primitives as typed, SDK-backed resources - trunks, ip_access_control_list, credentials, and origination_uri.
Vobiz base URL is
https://api.vobiz.ai/api/v1 and every path is account-scoped: /Account/{auth_id}/trunks. Plivo Zentrunk lives at https://api.plivo.com/v1/Account/{auth_id}/Zentrunk/….Plivo → Vobiz mapping
Before / after: bring up an outbound trunk
An outbound trunk lets your PBX/SBC send calls to the carrier. You (1) create an auth method - an IP ACL or a username/password credential - and (2) create the trunk.Plivo (cURL - no SDK)
Vobiz (Python SDK)
Binding model difference: Plivo passes
ipacl_uuid / credential_uuid inside the trunk-create body. Vobiz IP ACLs and credentials are account-scoped - create_trunk accepts name, trunk_type, and max_concurrent_calls; the trunk is identified by its returned trunk_domain, and any account credential/IP rule authenticates against it.Key differences & gotchas
- Auth header, not Basic Auth. Vobiz uses
X-Auth-ID/X-Auth-Tokenheaders (set by the SDK) instead of Plivo’s HTTP Basic--user AUTH_ID:AUTH_TOKEN. - Updates are
PUT, not re-POST. Vobiz uses a properPUTforupdate_trunk,update_credential,update_ip_acl, andupdate_origination_uri. - Per-rule IP/CIDR model. Vobiz
create_ip_acluses one rule perip_addresswith CIDR support, so a Plivoip_addressesarray maps cleanly to one CIDR block or a set of rules. - Direction is a type, and
bothexists. Vobizcreate_trunktakestrunk_type(OUTBOUND/INBOUND); the storedtrunk_directioncan also beboth. - Flexible origination routing. Model primary/secondary destinations as multiple
origination_urirecords ordered bypriority/weight. - Account-scoped auth. IP ACLs and credentials are account-scoped, so any account credential or IP rule authenticates against your trunks.
secure/transporton the trunk object. Set these viaupdate_trunkor account defaults.