{"id":2574,"date":"2023-09-14T18:47:35","date_gmt":"2023-09-14T15:47:35","guid":{"rendered":"https:\/\/docs.cpaas.mittoapi.net\/?page_id=2574"},"modified":"2025-02-06T15:12:31","modified_gmt":"2025-02-06T12:12:31","slug":"dialogues","status":"publish","type":"page","link":"https:\/\/docs.cpaas.mittoapi.net\/?page_id=2574","title":{"rendered":"Dialogues"},"content":{"rendered":"\n<p>Every time the system makes or receives a call within the Voice bot application, the system logs the progress and result of the script execution and saves it as a Dialogue.<\/p>\n\n\n\n<p>To enable the Dialogue storage function, contact the manager.<\/p>\n\n\n\n<p>To view the Dialogue, go to the &#8220;Dialogues&#8221; section and click on any of them in the list.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/09\/dialogues-1.png\"><img decoding=\"async\" width=\"279\" height=\"350\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/09\/dialogues-1.png\" alt=\"\" class=\"wp-image-2575\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/09\/dialogues-1.png 279w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/09\/dialogues-1-239x300.png 239w\" sizes=\"(max-width: 279px) 100vw, 279px\" \/><\/a><\/figure>\n\n\n\n<p>Set the period for which you want to display the report (if necessary, specify the request using additional filters on the page), and click &#8220;Apply&#8221;. Then, the dialogs can be exported in csv\/xls formats.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/dialogs0.png\"><img decoding=\"async\" width=\"1024\" height=\"617\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/dialogs0-1024x617.png\" alt=\"\" class=\"wp-image-2880\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/dialogs0-1024x617.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/dialogs0-300x181.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/dialogs0.png 1373w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Each Dialogue is presented as a sequence of results of the call scenario blocks.<\/p>\n\n\n\n<p>At the top of the Dialogue there is a block with a record of the Date and time of the call, Duration, A- and B-numbers, as well as the status with which this call ended:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Status<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>Normal scenario completion<\/td><td>Scenario is fully completed<\/td><\/tr><tr><td>Scenario error with the error code<\/td><td>An error appeared during the scenario execution<\/td><\/tr><tr><td>Caller hung up<\/td><td>Caller hung up, scenario was not completed<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/09\/dialogues-3.png\"><img decoding=\"async\" width=\"1024\" height=\"358\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/09\/dialogues-3-1024x358.png\" alt=\"\" class=\"wp-image-2577\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/09\/dialogues-3-1024x358.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/09\/dialogues-3-300x105.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/09\/dialogues-3.png 1546w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/dialogs1-2.png\"><img decoding=\"async\" width=\"658\" height=\"809\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/dialogs1-2.png\" alt=\"\" class=\"wp-image-3485\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/dialogs1-2.png 658w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/dialogs1-2-244x300.png 244w\" sizes=\"(max-width: 658px) 100vw, 658px\" \/><\/a><\/figure>\n\n\n\n<p> Audio recordings with the possibility of listening and download are stored in the blocks in which there is speech synthesis, media file playback or a subscriber&#8217;s voice response. The full audio recording of the call is located at the beginning of the Dialogue under the completion status:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/dialogs2-2.png\"><img decoding=\"async\" width=\"656\" height=\"828\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/dialogs2-2.png\" alt=\"\" class=\"wp-image-3487\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/dialogs2-2.png 656w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/dialogs2-2-238x300.png 238w\" sizes=\"(max-width: 656px) 100vw, 656px\" \/><\/a><\/figure>\n\n\n\n<h2 id=\"error_codes\" class=\"anchor\">Script execution error codes<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Error value<\/th><th>Error<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>1001<\/td><td>SCENARIO_NOT_FOUND<\/td><td>An internal script execution error<br><sub>indicates that the script that should have been executed does not exist or cannot be found<\/sub><\/td><\/tr><tr><td>1002<\/td><td>SCENARIO_JSON_PARSER_ERROR<\/td><td>An internal Json script parsing error<br><sub>can occur if the script has incorrect syntax or structure<\/sub><\/td><\/tr><tr><td>1003<\/td><td>SCENARIO_VAR_ID_ERROR<\/td><td>An internal error in parsing script variables<br><sub>may indicate problems with variable identification (not used)<\/sub><\/td><\/tr><tr><td>1004<\/td><td>SCENARIO_VAR_NAME_ERROR<\/td><td>Indicates problems with variable names in the script<br><sub>may be caused by an incorrect or missing variable name (not used)<\/sub><\/td><\/tr><tr><td>1005<\/td><td>TRUNK_NOT_FOUND<\/td><td>The trunk cannot be found according to the specified routing rules<br><sub>may be caused by incorrect routing settings or the absence of the required trunk<\/sub><\/td><\/tr><tr><td>1006<\/td><td>REDIRECT_TRUNK_NOT_FOUND<\/td><td>The trunk cannot be found according to the specified routing rules when forwarding a call<br><sub>may occur due to errors in the forwarding settings<\/sub><\/td><\/tr><tr><td>1007<\/td><td>MODIFIERS_ERROR<\/td><td>The error of the call modifiers<br><sub>indicates that the values of sourceAddr, destAddr, trunk Data were incorrectly changed for this call<\/sub><\/td><\/tr><tr><td>1008<\/td><td>REDIRECT_MODIFIERS_ERROR<\/td><td>Call modifiers error during forwarding<br><sub>the values of source Addr, dest Addr, trunk Data were incorrectly changed for call forwarding<\/sub><\/td><\/tr><tr><td>1009<\/td><td>CHANNEL_CREATION_ERROR<\/td><td>An error that occurs when creating a communication channel transmitted from Asterisk<br><sub>may be caused by problems with the configuration or resources of the system<\/sub><\/td><\/tr><tr><td>1010<\/td><td>REDIRECT_CHANNEL_CREATION_ERROR<\/td><td>An error when creating a forwarding channel<br><sub>indicates problems with creating a channel for a forwarded call<\/sub><\/td><\/tr><tr><td>1011<\/td><td>REDIRECT_BRIDGE_CREATION_ERROR<\/td><td>An error creating a conference bridge during forwarding transmitted from Asterisk<br><sub>a bridge cannot be created to connect multiple call participants<\/sub><\/td><\/tr><tr><td>1012<\/td><td>REDIRECT_ADDING_SOURCE_CHANNEL_TO_BRIDGE_ERROR<\/td><td>Error when adding a forwarded call channel to the bridge, transmitted from Asterisk<br>the original channel cannot be correctly added to the bridge<\/td><\/tr><tr><td>1013<\/td><td>REDIRECT_ADDING_DEST_CHANNEL_TO_BRIDGE_ERROR<\/td><td>Error when adding the channel to which calls are forwarded to the bridge transmitted from Asterisk<\/td><\/tr><tr><td>1014<\/td><td>INCOMING_CALL_ANSWER_ERROR<\/td><td>Occurs if the call was dropped before the script execution started, because the channel no longer existed<br><sub>when the incoming call was answered with an error from Asterisk<\/sub><\/td><\/tr><tr><td>1015<\/td><td>PLAYBACK_START_ERROR<\/td><td>The error when playing to the channel comes from Asterisk<\/td><\/tr><tr><td>1016<\/td><td>RECORD_START_ERROR<\/td><td>The error when writing from the channel comes from Asterisk<\/td><\/tr><tr><td>1017<\/td><td>TTS_FAULT<\/td><td>A speech synthesis error transmitted from the app-TTS<br>application<br><sub>may be caused by problems with speech synthesis or incorrect data for synthesis<\/sub><\/td><\/tr><tr><td>1018<\/td><td>WRONG_DATA_IN_REQUEST<\/td><td>Request data parsing error<br><sub>indicates incorrect or missing data in the request<\/sub><\/td><\/tr><tr><td>1019<\/td><td>NUMBER_NOT_FOUND_IN_POOL_BY_ENDING<\/td><td>Selecting a number from the pool at the end of the number for FlashCall<br><sub>it may be caused by the absence of the corresponding number in the pool<\/sub><\/td><\/tr><tr><td>1020<\/td><td>INTERFACE_NAME_EMPTY_ERROR<\/td><td>Error when selecting a trunk<br><sub>indicates incorrect or missing trunk configuration data<\/sub><\/td><\/tr><tr><td>1021<\/td><td>REDIRECT_INTERFACE_NAME_EMPTY_ERROR<\/td><td>An error when selecting a trunk for forwarding due to the absence of an interface name<br><sub>indicates incorrect or missing trunk configuration data<\/sub><\/td><\/tr><tr><td>0<\/td><td>Call sent to void<\/td><td>The completion of a normal scenario<br><sub>indicates that the call has completed normally, without any problems or errors<\/sub><\/td><\/tr><tr><td>1<\/td><td>Unallocated<\/td><td>It can happen when the requested resource does not exist or is currently unavailable<\/td><\/tr><tr><td>4-5<\/td><td>Vendor specific 4-5<\/td><td>Vendor-specific error<br><sub>the specific error value depends on the hardware or service provider<\/sub><\/td><\/tr><tr><td>6<\/td><td>Channel unaccessible<\/td><td>The channel is unavailable<br><sub>indicates that the communication channel required for the call is unavailable<\/sub><\/td><\/tr><tr><td>9-13<\/td><td>Vendor specific 9-13<\/td><td>Vendor-specific error<br><sub>the specific error value depends on the hardware or service provider<\/sub><\/td><\/tr><tr><td>16<\/td><td>Normal Clearing<\/td><td>Normal termination<br><sub>the call is completed on the initiative of one of the parties (subscriber or operator) without errors<\/sub><\/td><\/tr><tr><td>17<\/td><td>Line busy<\/td><td>The user is busy<br><sub>the number of the called party is busy and the call cannot be completed<\/sub><\/td><\/tr><tr><td>18<\/td><td>No user response<\/td><td>No response from the user<br><sub>the called party does not answer the call during the set waiting time<\/sub><\/td><\/tr><tr><td>19<\/td><td>No answer<\/td><td>The user was notified, but did not answer<br><sub>the subscriber was notified of an incoming call (for example, the phone rang), but did not accept it<\/sub><\/td><\/tr><tr><td>20<\/td><td>Subscriber absent<\/td><td>Missing subscriber<br><sub>indicates that the called subscriber is temporarily unavailable<\/sub><\/td><\/tr><tr><td>21<\/td><td>Call Rejected<\/td><td>The call is rejected<br><sub>the called party intentionally rejected the incoming call<\/sub><\/td><\/tr><tr><td>22<\/td><td>Number changed<\/td><td>The number has been changed<\/td><\/tr><tr><td>27<\/td><td>Destination out of order<\/td><td>The purpose of the call is out of service<br><sub>the end equipment or network of the called party is not working or unavailable<\/sub><\/td><\/tr><tr><td>28<\/td><td>Invalid number format<\/td><td>Incorrect number format<br><sub>the entered phone number has an incorrect format and cannot be recognized by the network<\/sub><\/td><\/tr><tr><td>29<\/td><td>Facility rejected<\/td><td>Feature rejected<br><sub>the requested service or feature is not supported or rejected by the network<\/sub><\/td><\/tr><tr><td>31<\/td><td>Normal unspecified<\/td><td>The usual unspecified<br><sub>the call ended for the usual reason, which was not explicitly stated<\/sub><\/td><\/tr><tr><td>32<\/td><td>(Reserved)<\/td><td>Reserved for future use<\/td><\/tr><tr><td>34<\/td><td>No circuit available<\/td><td>Circuit\/channel overload<br><sub>there is an overload in the network and the call cannot be processed<\/sub><\/td><\/tr><tr><td>36<\/td><td>Out of order<\/td><td>Faulty<br><sub>indicates that the equipment or line is not working properly<\/sub><\/td><\/tr><tr><td>38<\/td><td>Network out of order<\/td><td>The network is not working<br><sub>there has been a network outage, which makes it impossible to end the call<\/sub><\/td><\/tr><tr><td>43<\/td><td>Access disconnect<\/td><td>Disabling access<br><sub>indicates that network access has been disabled<\/sub><\/td><\/tr><tr><td>58<\/td><td>Bearer capability not available<\/td><td>Load-bearing capacity is not available<\/td><\/tr><tr><td>98<\/td><td>Blacklist<\/td><td>Indicates that the call was blocked because the number is on the blacklist<\/td><\/tr><tr><td>99<\/td><td>Vad avtoinformator error<\/td><td>Indicates that the call was processed by the auto-informer<\/td><\/tr><tr><td>100<\/td><td>InvalidIe contents<\/td><td>Invalid IE content (Information Element)<br><sub>indicates an error in the information passed in the element<\/sub><\/td><\/tr><tr><td>102<\/td><td>Recover on timer expiry<\/td><td>Recovery after the timer expires<\/td><\/tr><tr><td>127<\/td><td>Failure<\/td><td>Interaction\/not specified<\/td><\/tr><tr><td>199<\/td><td>Transaction abort<\/td><td>Abort a transaction<br><sub>the transaction was aborted for some reason<\/sub><\/td><\/tr><tr><td>200<br><\/td><td>No translation for address of such nature<\/td><td>It may be due to the fact that the address is invalid, non-existent or not recognized by the system<\/td><\/tr><tr><td>201<\/td><td>No translation for this specific address<\/td><td>There is no conversion for this particular address<br><sub>indicates that there is no routing or conversion for the specified address<\/sub><\/td><\/tr><tr><td>212<\/td><td>Hop counter violation<\/td><td>Violation of the traffic counter<br><sub>indicates that the allowed number of clicks in the network has been exceeded<\/sub><\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Every time the system makes or receives a call within the Voice bot application, the system logs the progress and result of the script execution and saves it as a Dialogue. To enable the Dialogue storage function, contact the manager. To view the Dialogue, go to the &#8220;Dialogues&#8221; section and click on any of them <a href=\"https:\/\/docs.cpaas.mittoapi.net\/?page_id=2574\" class=\"more-link\">&#8230;<span class=\"screen-reader-text\">  Dialogues<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"tpl\/personal-content.php","meta":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/2574"}],"collection":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2574"}],"version-history":[{"count":6,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/2574\/revisions"}],"predecessor-version":[{"id":4138,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/2574\/revisions\/4138"}],"wp:attachment":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}