mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-09-11 06:59:25 +00:00
remove SIP documentation and update schemas
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
---
|
||||
title: Create SIP Audio Response
|
||||
sidebar:
|
||||
label: Create
|
||||
order: 1
|
||||
---
|
||||
import SchemaInfo from '../../../../../../components/SchemaInfo.astro';
|
||||
|
||||
This processor will create a SIP response message with an audio file as the payload. If this message is output to a SIP module using the [module.output](/processors/module/output) processor, then the SIP module will send the response to the caller and play the audio file included in the response.
|
||||
|
||||
<SchemaInfo type="processor" id="sip.response.audio.create"/>
|
||||
|
||||
### Example
|
||||
|
||||
This example will create a SIP response that will wait 1 second then play `response.wav` then wait another second before completing the response.
|
||||
|
||||
```yaml
|
||||
- id: create-audio-response
|
||||
type: sip.response.audio.create
|
||||
params:
|
||||
preWait: 1000
|
||||
audioFile: "response.wav"
|
||||
postWait: 1000
|
||||
```
|
||||
@@ -1,24 +0,0 @@
|
||||
---
|
||||
title: Create SIP DTMF Response
|
||||
sidebar:
|
||||
label: Create
|
||||
order: 1
|
||||
---
|
||||
import SchemaInfo from '../../../../../../components/SchemaInfo.astro';
|
||||
|
||||
This processor will create a SIP DTMF response from the provided parameters. If this message is output to a SIP module using the [module.output](/processors/module/output) processor, then the SIP module will send the response to the caller and play the DTMF tones specified.
|
||||
|
||||
<SchemaInfo type="processor" id="sip.response.dtmf.create"/>
|
||||
|
||||
### Example
|
||||
|
||||
This example will create a SIP response that will wait 1 second then play the DTMF digits "1234" then wait another second before completing the response.
|
||||
|
||||
```yaml
|
||||
- id: create-dtmf-response
|
||||
type: sip.response.dtmf.create
|
||||
params:
|
||||
preWait: 1000
|
||||
digits: "1234"
|
||||
postWait: 1000
|
||||
```
|
||||
Reference in New Issue
Block a user