These Deno scripts allow you to subscribe to a Cisco Broadworks Xtended Services Interface on a specific user, for Advanced Call Events.
You can do the following:
Record raw event data to a plain text file, each event split by a separator for clarity. They are not cleaned up, instead leaving that for transformation, but you can read them if you need to at this stage.
Permissions:
- Writes to
tmp/events.txt
- Env variables:
XSI_HOSTNAME
,XSI_USERNAME
,XSI_PASSWORD
,HTTP_CONTACT
- Network request to the XSI server at
https://${XSI_HOSTNAME}/com.broadsoft.xsi-events/v2.0/user/${userId}
deno run record wile.e.coyote@acme.com
Transform the raw xml payloads into clean JSON.
Permissions:
- Reads from
tmp/events.txt
- Writes to
tmp/events.json
deno run transform
Transform the raw xml payloads into clean JSON.
Permissions:
- Reads from
tmp/events.json
- Writes to
tmp/call-trace.csv
deno run analyze
If you feel like YAML is more usable.
Permissions:
- Reads from
tmp/events.json
- Writes to
tmp/events.yml
deno run convert