initial checkin

This commit is contained in:
Dave Horton
2020-01-07 10:34:03 -05:00
commit 523e2a308b
61 changed files with 7876 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
{
"dial": {
"action": "http://example.com",
"callerId": "+1312888899",
"target": [
{
"type": "foo",
"number": "sip:1617333456@sip.trunk1.com",
"auth": {
"user": "foo",
"password": "bar"
}
}
]
}
}

View File

@@ -0,0 +1,4 @@
{
"key1": "value",
"key2": "value"
}

View File

@@ -0,0 +1 @@
[1, 2]

View File

@@ -0,0 +1,5 @@
{
"sip:decline": {
"status": "hello"
}
}

View File

@@ -0,0 +1,15 @@
{
"dial": {
"action": "http://example.com",
"callerId": "+1312888899",
"target": [
{
"type": "sip",
"number": "sip:1617333456@sip.trunk1.com",
"auth": {
"password": "bar"
}
}
]
}
}

View File

@@ -0,0 +1,3 @@
{
"foo": "bar"
}

View File

@@ -0,0 +1,6 @@
{
"sip:decline": {
"status": 480,
"foo": "bar"
}
}

View File

@@ -0,0 +1,22 @@
{
"dial": {
"action": "http://example.com",
"callerId": "+1312888899",
"target": [
{
"type": "phone",
"number": "+15083084809"
}
],
"listen": {
"wsUrl": "wss://myrecorder.example.com:4433",
"mixType" : "stereo",
"sampleRate": 8000,
"passDtmf": true,
"source": "parent",
"metadata": {
"clientId": "12udih"
}
}
}
}

View File

@@ -0,0 +1,12 @@
{
"dial": {
"action": "http://example.com",
"callerId": "+1312888899",
"target": [
{
"type": "phone",
"number": "+15083084809"
}
]
}
}

View File

@@ -0,0 +1,16 @@
{
"dial": {
"action": "http://example.com",
"callerId": "+1312888899",
"target": [
{
"type": "sip",
"number": "sip:1617333456@sip.trunk1.com",
"auth": {
"user": "foo",
"password": "bar"
}
}
]
}
}

View File

@@ -0,0 +1,20 @@
{
"dial": {
"action": "http://example.com",
"callerId": "+1312888899",
"target": [
{
"type": "phone",
"number": "+15083084809"
}
],
"transcribe": {
"action": "http://example.com/transcribe",
"language" : "en-US",
"source" : "both",
"interim": true,
"vendor": "google",
"jsonKey": "--json service key--"
}
}
}

View File

@@ -0,0 +1,12 @@
{
"dial": {
"action": "http://example.com",
"callerId": "+1312888899",
"target": [
{
"type": "user",
"name": "spike@sip.example.com"
}
]
}
}

View File

@@ -0,0 +1,9 @@
{
"sip:decline": {
"status": 480,
"reason": "Gone Fishin",
"headers": {
"Retry-After": 300
}
}
}