Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "name": "TestCf",
- "start_node": "1d5149a6-c28c-4a7b-b63e-9c166418aeac",
- "version": 1,
- "nodes": [
- {
- "uuid": "1d5149a6-c28c-4a7b-b63e-9c166418aeac",
- "title": "Outbound call",
- "kind": "outbound_call",
- "options": {
- "retries_attempts": 1,
- "retries_interval": 0,
- "ringing_time": 60,
- "amd_enabled": true
- },
- "actions": [
- {
- "title": "voicemail",
- "name": "voicemail",
- "uuid": "e9e0b7ce-3984-4b67-bfd8-ff44d7f5daef"
- },
- {
- "title": "Answered",
- "name": "call_success",
- "uuid": "7400308b-65a6-4c13-aa6b-656550ffed03"
- },
- {
- "title": "Failed",
- "name": "call_failed",
- "uuid": "d4ccf71d-98da-455c-bd09-a2db3806e64a"
- },
- {
- "title": "Busy",
- "name": "call_busy",
- "uuid": "36ad6478-b277-46f6-a30e-4b3d2227a5c0"
- },
- {
- "title": "No answer",
- "name": "call_no_answer",
- "uuid": "d4ccf71d-98da-455c-bd09-a2db3806e64a"
- },
- {
- "title": "Rejected",
- "name": "call_rejected",
- "uuid": "d4ccf71d-98da-455c-bd09-a2db3806e64a"
- }
- ]
- },
- {
- "uuid": "36ad6478-b277-46f6-a30e-4b3d2227a5c0",
- "title": "Retry call",
- "kind": "retry_call",
- "options": {},
- "actions": []
- },
- {
- "uuid": "d4ccf71d-98da-455c-bd09-a2db3806e64a",
- "title": "Scenario End",
- "kind": "scenario_end",
- "options": {},
- "actions": []
- },
- {
- "uuid": "50dad6bc-2bfc-47b2-814c-53f8c2d4cd37",
- "title": "Scenario End",
- "kind": "scenario_end",
- "options": {},
- "actions": []
- },
- {
- "uuid": "d91a814f-1c9f-4e90-8893-b7ea74029fe9",
- "title": "Play Audio",
- "options": {
- "audio_file": {
- "id": 401,
- "name": "untitled",
- "url": "/var/lib/asterisk/sounds/custom/play_audio"
- },
- "delay_enabled": false
- },
- "actions": [
- {
- "title": null,
- "name": null,
- "uuid": "7400308b-65a6-4c13-aa6b-656550ffed03"
- }
- ],
- "kind": "play_audio"
- },
- {
- "uuid": "7400308b-65a6-4c13-aa6b-656550ffed03",
- "title": "Interactive Menu",
- "options": {
- "prompt_enabled": true,
- "prompt_file": "https://drive.google.com/file/d/1ciOBoBz05IDKoxYIVWjx0f3siVU_06NX/view?usp=sharing",
- "menu_options": ["1", "2", "3"],
- "stop_onkeypress": false,
- "repeat_enabled": true,
- "repeat_loops": 3,
- "key_repeat": "*",
- "repeat_delay": 15,
- "audio_file": {
- "id": 401,
- "name": "untitled",
- "url": "https://drive.google.com/file/d/1ciOBoBz05IDKoxYIVWjx0f3siVU_06NX/view?usp=sharing"
- }
- },
- "actions": [
- {
- "title": "No Match",
- "name": "fallback",
- "uuid": "50dad6bc-2bfc-47b2-814c-53f8c2d4cd37"
- },
- {
- "title": "Key 1",
- "name": "key_1",
- "uuid": "67b7c40d-b192-4ba9-b2a8-821ab6a3a5f4"
- },
- {
- "title": "Key 2",
- "name": "key_2",
- "uuid": "0dfd69e4-25be-4fa4-925e-82aa8ab9f610"
- },
- {
- "title": "Key 3",
- "name": "key_3",
- "uuid": "abbee8ae-36b4-4931-8f3c-47acf105c6d0"
- }
- ],
- "kind": "interactive_menu"
- },
- {
- "uuid": "2612247c-d1a0-4569-9ec1-dcbf39c70deb",
- "title": "Scenario End",
- "options": {},
- "actions": [],
- "kind": "scenario_end"
- },
- {
- "uuid": "67b7c40d-b192-4ba9-b2a8-821ab6a3a5f4",
- "title": "Play Audio",
- "options": {
- "audio_file": {
- "id": 401,
- "name": "untitled",
- "url": "/var/lib/asterisk/sounds/custom/playaudiofinish"
- },
- "delay_enabled": false
- },
- "actions": [
- {
- "title": null,
- "name": null,
- "uuid": "0afd8a2f-f6a3-449f-89d4-b1465d43c48e"
- }
- ],
- "kind": "play_audio"
- },
- {
- "uuid": "0afd8a2f-f6a3-449f-89d4-b1465d43c48e",
- "title": "Successful Call",
- "options": {},
- "actions": [],
- "kind": "successful_call"
- },
- {
- "uuid": "0dfd69e4-25be-4fa4-925e-82aa8ab9f610",
- "title": "Collect Input",
- "options": {
- "prompt_enabled": true,
- "prompt_file": "/var/lib/asterisk/sounds/custom/collectinput",
- "repeat_enabled": true,
- "repeat_loops": 3,
- "input_length": 1,
- "input_delay": 15,
- "audio_file": {
- "id": 401,
- "name": "untitled",
- "url": "/var/lib/asterisk/sounds/custom/collectinput"
- }
- },
- "actions": [
- {
- "title": null,
- "name": "collected",
- "uuid": "e745df09-2189-4a86-be90-fd89bf121715"
- },
- {
- "title": null,
- "name": "fallback",
- "uuid": "50dad6bc-2bfc-47b2-814c-53f8c2d4cd37"
- }
- ],
- "kind": "collect_input"
- },
- {
- "uuid": "e745df09-2189-4a86-be90-fd89bf121715",
- "title": "Http Request",
- "kind": "http_request",
- "options": {
- "request_url": "https://yandex.ru", "request_headers": [], "request_body": null,
- "request_method": "get", "response_delay": 10, "handle_responses": true,
- "request_contentType": "application/json"
- },
- "actions":
- [
- {
- "title": "Success",
- "name": "request_success",
- "uuid": "e9e0b7ce-3984-4b67-bfd8-ff44d7f5daef"
- },
- {
- "title": "Failed", "name": "fallback",
- "uuid": "50dad6bc-2bfc-47b2-814c-53f8c2d4cd37"
- },
- {
- "title": "Always", "name": "always",
- "uuid": "2612247c-d1a0-4569-9ec1-dcbf39c70deb"
- }
- ]
- },
- {
- "uuid": "e9e0b7ce-3984-4b67-bfd8-ff44d7f5daef",
- "title": "Play Audio",
- "options": {
- "audio_file": {
- "id": 401,
- "name": "untitled",
- "url": "/var/lib/asterisk/sounds/custom/playaudiofinish"
- },
- "delay_enabled": false
- },
- "actions": [
- {
- "title": null,
- "name": null,
- "uuid": "65a2e2b3-f0ee-45b3-9634-b756cb27d981"
- }
- ],
- "kind": "play_audio"
- },
- {
- "uuid": "65a2e2b3-f0ee-45b3-9634-b756cb27d981",
- "title": "Successful Call",
- "options": {},
- "actions": [],
- "kind": "successful_call"
- },
- {
- "uuid": "abbee8ae-36b4-4931-8f3c-47acf105c6d0",
- "title": "Call Transfer",
- "options": {"transfer_to": "7909123123"},
- "actions": [
- {
- "title": "Transferred",
- "name": "transferred",
- "uuid": "e9e0b7ce-3984-4b67-bfd8-ff44d7f5daef"
- },
- {
- "title": "Fallback",
- "name": "fallback",
- "uuid": "5e550409-0892-4509-bd53-86d765036621"
- }
- ],
- "kind": "call_transfer"
- },
- {
- "uuid": "5e550409-0892-4509-bd53-86d765036627",
- "title": "Successful Call",
- "options": {},
- "actions": [],
- "kind": "successful_call"
- },
- {
- "uuid": "5e550409-0892-4509-bd53-86d765036621",
- "title": "Successful Call",
- "options": {},
- "actions": [],
- "kind": "successful_call"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement