Skip to content

SWML - New SIP call vars #626

@Devon-White

Description

@Devon-White

All things added under sip_data needs to be documented

{
  "method": "POST",
  "path": "/",
  "headers": {
    "Host": "briankwest.ngrok.io",
    "Content-Length": "1006",
    "Accept": "*/*",
    "Content-Type": "application/json",
    "X-Forwarded-For": "178.128.158.97",
    "X-Forwarded-Host": "briankwest.ngrok.io",
    "X-Forwarded-Proto": "https",
    "Accept-Encoding": "gzip"
  },
  "args": {},
  "body": {
    "call": {
      "call_id": "7ddd05a8-616a-4a7d-a6d8-e309dda85ac5",
      "node_id": "tony-ai@",
      "segment_id": "7ddd05a8-616a-4a7d-a6d8-e309dda85ac5",
      "call_state": "created",
      "direction": "inbound",
      "type": "sip",
      "from": "sip:brian@dev-brian-ai.dapp.swire.io",
      "to": "sip:1234567890@dev-brian-ai.dapp.swire.io",
      "headers": [],
      "sip_data": {
        "sip_req_user": "1234567890",
        "sip_req_uri": "1234567890@dev-brian-ai.dapp.swire.io",
        "sip_req_host": "dev-brian-ai.dapp.swire.io",
        "sip_from_user": "brian",
        "sip_from_uri": "brian@dev-brian-ai.dapp.swire.io",
        "sip_from_host": "dev-brian-ai.dapp.swire.io",
        "sip_to_user": "1234567890",
        "sip_to_uri": "1234567890@dev-brian-ai.dapp.swire.io",
        "sip_to_host": "dev-brian-ai.dapp.swire.io",
        "sip_contact_user": "brian",
        "sip_contact_port": "51481",
        "sip_contact_uri": "brian@192.168.86.8:51481",
        "sip_contact_host": "192.168.86.8",
        "sip_contact_params": {
          "transport": "tls",
          "swrad": "57.138.186.5~51481~3"
        }
      },
      "project_id": "37d8414f-60d1-4e7b-bf04-b5569535011b",
      "space_id": "f6e0ee46-4bd4-4856-99bb-0f3bc3d3e787"
    },
    "vars": {},
    "envs": {}
  }
}

Slack Message

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions