Skip to content

VAPI-3162 Add <Refer> BXML verb support#208

Draft
nkuma246 wants to merge 2 commits into
mainfrom
VAPI-3162
Draft

VAPI-3162 Add <Refer> BXML verb support#208
nkuma246 wants to merge 2 commits into
mainfrom
VAPI-3162

Conversation

@nkuma246
Copy link
Copy Markdown

This pull request adds support for the new Refer BXML verb to the Bandwidth SDK, enabling users to generate and manipulate Refer elements in their BXML call flows. The implementation includes the new verb class, updates to the gem template, and comprehensive unit tests for the new functionality.

New BXML verb support:

  • Added a new Refer verb class (Refer) in lib/bandwidth-sdk/models/bxml/verbs/refer.rb with support for nested SipUri elements and relevant attributes such as referCompleteUrl, referCompleteMethod, and tag.
  • Updated the gem template (custom_templates/gem.mustache) to require the new refer verb, ensuring it is included in the SDK build.

Testing:

  • Added unit tests for the new Refer verb in spec/unit/models/bxml/verbs/refer_spec.rb, covering initialization, attribute updates, BXML generation, and handling of nested SipUri elements.

@bwappsec
Copy link
Copy Markdown

bwappsec commented May 28, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants