mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-08-10 08:03:38 +00:00
format
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
---
|
||||
title: SIP > OSC
|
||||
sidebar:
|
||||
order: 2
|
||||
order: 2
|
||||
---
|
||||
|
||||
import { Code } from '@astrojs/starlight/components';
|
||||
import { Code } from "@astrojs/starlight/components";
|
||||
|
||||
This config starts an SIP server listening on port `5060`. Any incoming call will result in a OSC message being sent to `127.0.0.1:53000` with the address set to [fire a QLab cue](https://qlab.app/docs/v5/scripting/osc-dictionary-v5/#/cue/{cue_number}/go) with the dialed number as the cue number. This was tested with a cheap SIP gateway like [this one](https://www.grandstream.com/products/gateways-and-atas/analog-telephone-adaptors/product/ht802).
|
||||
|
||||
@@ -32,6 +32,6 @@ routes:
|
||||
- type: router.output
|
||||
params:
|
||||
module: udp
|
||||
`
|
||||
`;
|
||||
|
||||
<Code code={example} title="config.yaml" lang="yaml"/>
|
||||
<Code code={example} title="config.yaml" lang="yaml" />
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
---
|
||||
title: HTTP > OSC
|
||||
sidebar:
|
||||
order: 1
|
||||
order: 1
|
||||
---
|
||||
|
||||
import { Code } from '@astrojs/starlight/components';
|
||||
import { Code } from "@astrojs/starlight/components";
|
||||
|
||||
This config starts an HTTP server listening on port `3000`. Any HTTP request coming into that server will result in a OSC message being sent to `127.0.0.1:8000` with the address set to the path from the incoming HTTP message.
|
||||
|
||||
|
||||
export const example = `
|
||||
api:
|
||||
enabled: true
|
||||
@@ -33,6 +32,6 @@ routes:
|
||||
- type: router.output # output to the udp module
|
||||
params:
|
||||
module: udp
|
||||
`
|
||||
`;
|
||||
|
||||
<Code code={example} title="config.yaml" lang="yaml"/>
|
||||
<Code code={example} title="config.yaml" lang="yaml" />
|
||||
|
||||
Reference in New Issue
Block a user