Advertisement
KebabJoy

Untitled

Aug 5th, 2021
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 7.61 KB | None | 0 0
  1. {
  2.   "name": "TestCf",
  3.   "start_node": "1d5149a6-c28c-4a7b-b63e-9c166418aeac",
  4.   "version": 1,
  5.   "nodes": [
  6.     {
  7.       "uuid": "1d5149a6-c28c-4a7b-b63e-9c166418aeac",
  8.       "title": "Outbound call",
  9.       "kind": "outbound_call",
  10.       "options": {
  11.         "retries_attempts": 1,
  12.         "retries_interval": 0,
  13.         "ringing_time": 60,
  14.         "amd_enabled": true
  15.       },
  16.       "actions": [
  17.         {
  18.             "title": "voicemail",
  19.             "name": "voicemail",
  20.             "uuid": "e9e0b7ce-3984-4b67-bfd8-ff44d7f5daef"
  21.         },
  22.         {
  23.             "title": "Answered",
  24.             "name": "call_success",
  25.             "uuid": "7400308b-65a6-4c13-aa6b-656550ffed03"
  26.         },
  27.         {
  28.             "title": "Failed",
  29.             "name": "call_failed",
  30.             "uuid": "d4ccf71d-98da-455c-bd09-a2db3806e64a"
  31.         },
  32.         {
  33.             "title": "Busy",
  34.             "name": "call_busy",
  35.             "uuid": "36ad6478-b277-46f6-a30e-4b3d2227a5c0"
  36.         },
  37.         {
  38.             "title": "No answer",
  39.             "name": "call_no_answer",
  40.             "uuid": "d4ccf71d-98da-455c-bd09-a2db3806e64a"
  41.         },
  42.         {
  43.             "title": "Rejected",
  44.             "name": "call_rejected",
  45.             "uuid": "d4ccf71d-98da-455c-bd09-a2db3806e64a"
  46.         }
  47.       ]
  48.     },
  49.     {
  50.         "uuid": "36ad6478-b277-46f6-a30e-4b3d2227a5c0",
  51.         "title": "Retry call",
  52.         "kind": "retry_call",
  53.         "options": {},
  54.         "actions": []
  55.     },
  56.     {
  57.         "uuid": "d4ccf71d-98da-455c-bd09-a2db3806e64a",
  58.         "title": "Scenario End",
  59.         "kind": "scenario_end",
  60.         "options": {},
  61.         "actions": []
  62.     },
  63.     {
  64.       "uuid": "50dad6bc-2bfc-47b2-814c-53f8c2d4cd37",
  65.       "title": "Scenario End",
  66.       "kind": "scenario_end",
  67.       "options": {},
  68.       "actions": []
  69.     },
  70.     {
  71.       "uuid": "d91a814f-1c9f-4e90-8893-b7ea74029fe9",
  72.       "title": "Play Audio",
  73.       "options": {
  74.         "audio_file": {
  75.           "id": 401,
  76.           "name": "untitled",
  77.           "url": "/var/lib/asterisk/sounds/custom/play_audio"
  78.         },
  79.         "delay_enabled": false
  80.       },
  81.       "actions": [
  82.         {
  83.           "title": null,
  84.           "name": null,
  85.           "uuid": "7400308b-65a6-4c13-aa6b-656550ffed03"
  86.         }
  87.       ],
  88.       "kind": "play_audio"
  89.     },
  90.     {
  91.       "uuid": "7400308b-65a6-4c13-aa6b-656550ffed03",
  92.       "title": "Interactive Menu",
  93.       "options": {
  94.         "prompt_enabled": true,
  95.         "prompt_file": "https://drive.google.com/file/d/1ciOBoBz05IDKoxYIVWjx0f3siVU_06NX/view?usp=sharing",
  96.         "menu_options": ["1", "2", "3"],
  97.         "stop_onkeypress": false,
  98.         "repeat_enabled": true,
  99.         "repeat_loops": 3,
  100.         "key_repeat": "*",
  101.         "repeat_delay": 15,
  102.         "audio_file": {
  103.           "id": 401,
  104.           "name": "untitled",
  105.           "url": "https://drive.google.com/file/d/1ciOBoBz05IDKoxYIVWjx0f3siVU_06NX/view?usp=sharing"
  106.         }
  107.       },
  108.       "actions": [
  109.         {
  110.           "title": "No Match",
  111.           "name": "fallback",
  112.           "uuid": "50dad6bc-2bfc-47b2-814c-53f8c2d4cd37"
  113.         },
  114.         {
  115.           "title": "Key 1",
  116.           "name": "key_1",
  117.           "uuid": "67b7c40d-b192-4ba9-b2a8-821ab6a3a5f4"
  118.         },
  119.         {
  120.           "title": "Key 2",
  121.           "name": "key_2",
  122.           "uuid": "0dfd69e4-25be-4fa4-925e-82aa8ab9f610"
  123.         },
  124.         {
  125.           "title": "Key 3",
  126.           "name": "key_3",
  127.           "uuid": "abbee8ae-36b4-4931-8f3c-47acf105c6d0"
  128.         }
  129.       ],
  130.       "kind": "interactive_menu"
  131.     },
  132.     {
  133.       "uuid": "2612247c-d1a0-4569-9ec1-dcbf39c70deb",
  134.       "title": "Scenario End",
  135.       "options": {},
  136.       "actions": [],
  137.       "kind": "scenario_end"
  138.     },
  139.     {
  140.       "uuid": "67b7c40d-b192-4ba9-b2a8-821ab6a3a5f4",
  141.       "title": "Play Audio",
  142.       "options": {
  143.         "audio_file": {
  144.           "id": 401,
  145.           "name": "untitled",
  146.           "url": "/var/lib/asterisk/sounds/custom/playaudiofinish"
  147.         },
  148.         "delay_enabled": false
  149.       },
  150.       "actions": [
  151.         {
  152.           "title": null,
  153.           "name": null,
  154.           "uuid": "0afd8a2f-f6a3-449f-89d4-b1465d43c48e"
  155.         }
  156.       ],
  157.       "kind": "play_audio"
  158.     },
  159.     {
  160.       "uuid": "0afd8a2f-f6a3-449f-89d4-b1465d43c48e",
  161.       "title": "Successful Call",
  162.       "options": {},
  163.       "actions": [],
  164.       "kind": "successful_call"
  165.     },
  166.     {
  167.       "uuid": "0dfd69e4-25be-4fa4-925e-82aa8ab9f610",
  168.       "title": "Collect Input",
  169.       "options": {
  170.         "prompt_enabled": true,
  171.         "prompt_file": "/var/lib/asterisk/sounds/custom/collectinput",
  172.         "repeat_enabled": true,
  173.         "repeat_loops": 3,
  174.         "input_length": 1,
  175.         "input_delay": 15,
  176.         "audio_file": {
  177.           "id": 401,
  178.           "name": "untitled",
  179.           "url": "/var/lib/asterisk/sounds/custom/collectinput"
  180.         }
  181.       },
  182.       "actions": [
  183.         {
  184.           "title": null,
  185.           "name": "collected",
  186.           "uuid": "e745df09-2189-4a86-be90-fd89bf121715"
  187.         },
  188.         {
  189.           "title": null,
  190.           "name": "fallback",
  191.           "uuid": "50dad6bc-2bfc-47b2-814c-53f8c2d4cd37"
  192.         }
  193.       ],
  194.       "kind": "collect_input"
  195.     },
  196.     {
  197.       "uuid":  "e745df09-2189-4a86-be90-fd89bf121715",
  198.       "title": "Http Request",
  199.       "kind": "http_request",
  200.       "options": {
  201.         "request_url": "https://yandex.ru", "request_headers": [], "request_body": null,
  202.         "request_method": "get", "response_delay": 10, "handle_responses": true,
  203.         "request_contentType": "application/json"
  204.       },
  205.       "actions":
  206.       [
  207.         {
  208.           "title": "Success",
  209.           "name": "request_success",
  210.           "uuid": "e9e0b7ce-3984-4b67-bfd8-ff44d7f5daef"
  211.         },
  212.         {
  213.           "title": "Failed", "name": "fallback",
  214.           "uuid": "50dad6bc-2bfc-47b2-814c-53f8c2d4cd37"
  215.         },
  216.         {
  217.           "title": "Always", "name": "always",
  218.           "uuid": "2612247c-d1a0-4569-9ec1-dcbf39c70deb"
  219.         }
  220.       ]
  221.     },
  222.     {
  223.       "uuid": "e9e0b7ce-3984-4b67-bfd8-ff44d7f5daef",
  224.       "title": "Play Audio",
  225.       "options": {
  226.         "audio_file": {
  227.           "id": 401,
  228.           "name": "untitled",
  229.           "url": "/var/lib/asterisk/sounds/custom/playaudiofinish"
  230.         },
  231.         "delay_enabled": false
  232.       },
  233.       "actions": [
  234.         {
  235.           "title": null,
  236.           "name": null,
  237.           "uuid": "65a2e2b3-f0ee-45b3-9634-b756cb27d981"
  238.         }
  239.       ],
  240.       "kind": "play_audio"
  241.     },
  242.     {
  243.       "uuid": "65a2e2b3-f0ee-45b3-9634-b756cb27d981",
  244.       "title": "Successful Call",
  245.       "options": {},
  246.       "actions": [],
  247.       "kind": "successful_call"
  248.     },
  249.     {
  250.       "uuid": "abbee8ae-36b4-4931-8f3c-47acf105c6d0",
  251.       "title": "Call Transfer",
  252.       "options": {"transfer_to": "7909123123"},
  253.       "actions": [
  254.         {
  255.           "title": "Transferred",
  256.           "name": "transferred",
  257.           "uuid": "e9e0b7ce-3984-4b67-bfd8-ff44d7f5daef"
  258.         },
  259.         {
  260.           "title": "Fallback",
  261.           "name": "fallback",
  262.           "uuid": "5e550409-0892-4509-bd53-86d765036621"
  263.         }
  264.       ],
  265.       "kind": "call_transfer"
  266.     },
  267.     {
  268.       "uuid": "5e550409-0892-4509-bd53-86d765036627",
  269.       "title": "Successful Call",
  270.       "options": {},
  271.       "actions": [],
  272.       "kind": "successful_call"
  273.     },
  274.     {
  275.       "uuid": "5e550409-0892-4509-bd53-86d765036621",
  276.       "title": "Successful Call",
  277.       "options": {},
  278.       "actions": [],
  279.       "kind": "successful_call"
  280.     }
  281.   ]
  282. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement