Commit 0abc7160 by Pavel Fedorov

правки детских болезней

1 parent e035443e
Showing with 8 additions and 4 deletions
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
"да интересно", "да интересно",
"с огромным удовольствием", "с огромным удовольствием",
"конечно", "конечно",
"очень полезно" "очень полезно",
"ну да давайте ладно поговорим с вами"
], ],
"excludes":[ "excludes":[
"але", "але",
...@@ -140,7 +141,8 @@ ...@@ -140,7 +141,8 @@
"не посмотрел", "не посмотрел",
"не посмотрела", "не посмотрела",
"я даже не смотрела", "я даже не смотрела",
"у меня интернет что то обрываться" "у меня интернет что то обрываться",
"у меня не получилось к сожалению вебинар посмотреть на работе очень много работы поэтому как то мне не успела я"
], ],
"excludes":[] "excludes":[]
}, },
......
...@@ -3,6 +3,7 @@ import "commonReactions/all.dsl"; ...@@ -3,6 +3,7 @@ import "commonReactions/all.dsl";
context { context {
input phone: string; input phone: string;
input caller: string; input caller: string;
//input waiting: number;
output cjm: string[] = []; output cjm: string[] = [];
output need_ask_name: boolean = true; output need_ask_name: boolean = true;
...@@ -15,6 +16,7 @@ context { ...@@ -15,6 +16,7 @@ context {
output another_messager: string =""; output another_messager: string ="";
output another_phone_number: string = ""; output another_phone_number: string = "";
output phone_suffix: string = ""; output phone_suffix: string = "";
output conversation_end: number = 0;
} }
external function numbers_from_text(text: string): string; external function numbers_from_text(text: string): string;
...@@ -100,7 +102,7 @@ node caller_id ...@@ -100,7 +102,7 @@ node caller_id
transitions transitions
{ {
//end_conversation: goto end_conversation on true; //end_conversation: goto end_conversation on true;
canttalkrn: goto cant_talk_rn on #messageHasAnyIntent(["decline", "cant_talk_rn"]) || #messageHasSentiment("negative"); canttalkrn: goto cant_talk_rn on #messageHasAnyIntent(["decline"]) || #messageHasSentiment("negative");
cantalk: goto can_talk on #messageHasAnyIntent(["accept", "can_talk"]) || #messageHasSentiment("positive"); cantalk: goto can_talk on #messageHasAnyIntent(["accept", "can_talk"]) || #messageHasSentiment("positive");
} }
...@@ -226,7 +228,7 @@ node no_whatsapp ...@@ -226,7 +228,7 @@ node no_whatsapp
{ {
//Продиктуйте, пожалуйста данные, куда я могу отпр промокод //Продиктуйте, пожалуйста данные, куда я могу отпр промокод
set $cjm = external performed_stage($cjm, "no_whatsapp"); set $cjm = external performed_stage($cjm, "no_whatsapp");
#sayText("give_contacts"); #say("give_contacts");
var result = blockcall SkipMessagesBlock(); var result = blockcall SkipMessagesBlock();
wait*; wait*;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!