Commit 16f187e4 by Kulkova

правка блока по сценарию

1 parent 068bd331
Showing with 15 additions and 14 deletions
...@@ -223,22 +223,22 @@ node last_word ...@@ -223,22 +223,22 @@ node last_word
$cjm.push("last_word"); $cjm.push("last_word");
#say("last_word"); #say("last_word");
var result = blockcall SkipMessagesBlock(); var result = blockcall SkipMessagesBlock();
wait *; wait*;
} }
transitions transitions
{ {
any: goto acception on true; answer: goto positive_end on true;
time: goto acception on timeout 4000; time: goto positive_end on timeout 4000;
} }
} }
node acception node positive_end
{ {
do do
{ {
$cjm.push("acception"); $cjm.push("positive_end");
#say("acception"); #say("positive_end");
var result = blockcall SkipMessagesBlock(); var result = blockcall SkipMessagesBlock();
goto do_before_exit; goto do_before_exit;
......
...@@ -50,12 +50,7 @@ ...@@ -50,12 +50,7 @@
}, },
"last_word": [ "last_word": [
{ {
"text": "Хорошо, я передам всё менеджеру, он вам перезвонит и подробней проконсультирует. Спасибо, досвидания" "text": "Это здорово, я все менеджеру передам, чтобы он перезвонил вам и подробнее проконсультировал. Подскажите, как вас зовут и какая у вас должность?"
}
],
"acception": [
{
"text": "Спасибо."
} }
], ],
"decline": [ "decline": [
...@@ -225,6 +220,11 @@ ...@@ -225,6 +220,11 @@
{ {
"text": "менеджер перезвонит в ближайшее время, назовите, когда лучше всего набрать ему?" "text": "менеджер перезвонит в ближайшее время, назовите, когда лучше всего набрать ему?"
} }
],
"positive_end": [
{
"text": "Ага, спасибо, до свидания."
}
] ]
}, },
"types": {}, "types": {},
...@@ -233,7 +233,6 @@ ...@@ -233,7 +233,6 @@
"greetings": {}, "greetings": {},
"presentation": {}, "presentation": {},
"last_word": {}, "last_word": {},
"acception": {},
"decline": {}, "decline": {},
"yandex_guaranteed1": {}, "yandex_guaranteed1": {},
"letme_40sec": {}, "letme_40sec": {},
...@@ -262,7 +261,8 @@ ...@@ -262,7 +261,8 @@
"i_said": {}, "i_said": {},
"yes_i_am_a_robot": {}, "yes_i_am_a_robot": {},
"forhowlong": {}, "forhowlong": {},
"when_call": {} "when_call": {},
"positive_end": {}
} }
} }
} }
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!