conv
object provides access to SIP-related attributes that you can use in your agent logic:
conv.sip_headers
to retrieve metadata from the SIP protocol.caller_number
and callee_number
to configure routing flows based on incoming and dialed numbers.conv.state
to persist data across the conversation.Conversation
object, visit the conv
object page.
return
values. This is especially useful when routing logic depends on in-conversation data or SIP header values.
You can use two methods: INVITE and REFER. These are mutually exclusive with UI-based Call Handoffs
and require manual setup.