Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -s -d '{
- "phone": "79299756685",
- "ivr": {
- "start": "main",
- "menus": {
- "main": {
- "options": {
- "key1": {"option": "set_context_var", "key": "success", "value": true, "playFile": "monitoring_ok"},
- "default": {"option": "static", "menuKey": "main"}
- },
- "timeout": 0,
- "commands": [
- {"command": "get_option", "file": "empty", "timeout": 1000},
- {"command": "get_option_synthesized", "text": "А я открою вам мир прекрасный и чудесный, вам нужно только поверить мне!", "timeout": 3000}
- ]
- }
- },
- "context": {
- "success": false
- }
- }
- }' http://172.16.1.145:8888/query/telephony/make_call_sync_bash/as_text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement