malke1971 hier der Code
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable type="timeout" id="timeout">timeout</variable>
<variable type="timeout" id="timeout2">timeout2</variable>
<variable id="%0/d.tP9r]Bc3Rk5BO{:">On call states</variable>
<variable id="BxO?KrzTw?rMD1zNje}0">callerName</variable>
<variable id="W4X82Udf|NzM#,n?BRkv">caller</variable>
<variable id="OPH0?2XqXIbr@Lm-v)Tg">speak</variable>
<variable type="interval" id="Intervall">Intervall</variable>
</variables>
<block type="on" id="h;7+(=CcPI7MSx+?g|*5" x="113" y="38">
<field name="OID">tr-064.0.callmonitor.ringing</field>
<field name="CONDITION">true</field>
<field name="ACK_CONDITION"></field>
<statement name="STATEMENT">
<block type="timeouts_cleartimeout" id="hGeYIoD~8.7LM_WU6IO/">
<field name="NAME">timeout</field>
<next>
<block type="timeouts_settimeout" id="At.psiV/,CV:#WQf.4D=">
<field name="NAME">timeout</field>
<field name="DELAY">1000</field>
<field name="UNIT">ms</field>
<statement name="STATEMENT">
<block type="controls_if" id="jz~%.(W!P/=?kTV_ku7]">
<value name="IF0">
<block type="logic_compare" id="5]rou1/.eV:{uyoJ9WBi">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="J3ftE-m#-F!zV++dAb5_">
<field name="ATTR">val</field>
<field name="OID">tr-064.0.callmonitor.toPauseState</field>
</block>
</value>
<value name="B">
<block type="text" id="WOlt|:!)g--Ht(ne(RX1">
<field name="TEXT">ring</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="timeouts_settimeout" id="0m=,:GR8{?L9Avi*a4HL">
<field name="NAME">timeout2</field>
<field name="DELAY">2000</field>
<field name="UNIT">ms</field>
<statement name="STATEMENT">
<block type="variables_set" id="%Ycmv?OF4|eO*QfNJN8u">
<field name="VAR" id="%0/d.tP9r]Bc3Rk5BO{:">On call states</field>
<value name="VALUE">
<block type="get_value" id="AyC{YRMU{])q?~ypw3y[">
<field name="ATTR">val</field>
<field name="OID">tr-064.0.callmonitor.toPauseState</field>
</block>
</value>
<next>
<block type="variables_set" id="xB6cV72gaYVd}tJ|F/F~">
<field name="VAR" id="BxO?KrzTw?rMD1zNje}0">callerName</field>
<value name="VALUE">
<block type="get_value" id="@;dhLD{-*)CBugUX1[m,">
<field name="ATTR">val</field>
<field name="OID">tr-064.0.callmonitor.inbound.callerName</field>
</block>
</value>
<next>
<block type="variables_set" id="/L3R.Y}[XtLEpMkf.gZq">
<field name="VAR" id="W4X82Udf|NzM#,n?BRkv">caller</field>
<value name="VALUE">
<block type="get_value" id="kE7M[g57URvf%%O3C]%T">
<field name="ATTR">val</field>
<field name="OID">tr-064.0.callmonitor.inbound.caller</field>
</block>
</value>
<next>
<block type="variables_set" id="pEY@ZP|b*bR3rpdEUfG:">
<field name="VAR" id="OPH0?2XqXIbr@Lm-v)Tg">speak</field>
<value name="VALUE">
<block type="field_oid" id="H4e%ldUh1wDe*=4?Rd-f">
<field name="oid">alexa2.0.Echo-Devices.90F00818732500U1.Commands.speak</field>
</block>
</value>
<next>
<block type="comment" id="4UM8]N(#MIIG@AZ#qYfv">
<field name="COMMENT">Rechter Mausklick aktivieren</field>
<next>
<block type="comment" id="qEg%/D)0@=v|RC0=dqV*">
<field name="COMMENT">Falls andere Echos sprechen sollen.</field>
<next>
<block type="comment" id="[6u%22c7fC6|$QIY-_#{">
<field name="COMMENT">Rechts Verknüpfen</field>
<next>
<block type="comment" id="te=S503tW^[L}N8h(BjD">
<field name="COMMENT">Gegebenenfalls Block kopieren</field>
<next>
<block type="direct" id="jfqM1?,::f]dYyljw~gb" disabled="true">
<field name="ONLY_CHANGES">FALSE</field>
<value name="OID_SRC">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="]~MPTEMdw,{hCC!`@E2F">
<field name="oid">Object ID 1</field>
</shadow>
<block type="variables_get" id=":Z(/ETvNKC/BNJmcc8;B">
<field name="VAR" id="OPH0?2XqXIbr@Lm-v)Tg">speak</field>
</block>
</value>
<value name="OID_DST">
<shadow type="field_oid" id="$;6;Y_9LLz!A^sXRG?Eb">
<field name="oid">alexa2.0.Echo-Devices.90F00818732500U1.Commands.speak</field>
</shadow>
</value>
<next>
<block type="controls_if" id="qWhnWk.9%-W7`Ll-9Oia">
<mutation elseif="2"></mutation>
<value name="IF0">
<block type="logic_operation" id="2R93jg?p}dgZfWDQu(=N">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="w?Y@t3ad/lfjM.AEPJ9|">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="`S-*DoS|%=MTavNbqu3N">
<field name="VAR" id="BxO?KrzTw?rMD1zNje}0">callerName</field>
</block>
</value>
<value name="B">
<block type="text" id="l6GW=4LEvh:Uhk/=-WI/">
<field name="TEXT"></field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="3{6|M/I`cRN#o6ew4o]P">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="w,Vj)e0MR#;:IH6x`j7r">
<field name="VAR" id="W4X82Udf|NzM#,n?BRkv">caller</field>
</block>
</value>
<value name="B">
<block type="text" id=")2-LlV1(xiY??#tVSG-%">
<field name="TEXT"></field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control_ex" id=";R5T,!gKA#,!3ngZUM,N">
<field name="TYPE">false</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="A-fdA$SP}x%uQCiyPmHy">
<field name="oid">Object ID</field>
</shadow>
<block type="variables_get" id="3S:s6/mkW,s[B%T,KED`">
<field name="VAR" id="OPH0?2XqXIbr@Lm-v)Tg">speak</field>
</block>
</value>
<value name="VALUE">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="logic_boolean" id="m.CL/$T)papKsMCby2i*">
<field name="BOOL">TRUE</field>
</shadow>
<block type="text" id="_Pf|e@+:q+tMM?+PMXUH">
<field name="TEXT">Ein Anruf von Unbekannt</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="P:%fON3=sJ=MK7VZz#NL">
<field name="NUM">0</field>
</shadow>
</value>
</block>
</statement>
<value name="IF1">
<block type="logic_compare" id="Id8Pm4pTL~6rzUGpO[PQ">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="U;u}p|tsVd5eMZQa3`]o">
<field name="VAR" id="BxO?KrzTw?rMD1zNje}0">callerName</field>
</block>
</value>
<value name="B">
<block type="text" id="Wt#uS@Wsw.?FfZ32AYcr">
<field name="TEXT"></field>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="control_ex" id="N,[Q)HK}jMj`RJ;8G:cY">
<field name="TYPE">false</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="A-fdA$SP}x%uQCiyPmHy">
<field name="oid">Object ID</field>
</shadow>
<block type="variables_get" id=";?mHe?=sOsGq^5hz`!j:">
<field name="VAR" id="OPH0?2XqXIbr@Lm-v)Tg">speak</field>
</block>
</value>
<value name="VALUE">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="logic_boolean" id="m.CL/$T)papKsMCby2i*">
<field name="BOOL">TRUE</field>
</shadow>
<block type="text_join" id="QP{M%./pXqHK-KH6x1kZ">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="T5}o)6gK`w@bN3QK]3L_">
<field name="TEXT">Ein Anruf von </field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="_TuM|se4Lr6^68!bx{Du">
<field name="VAR" id="W4X82Udf|NzM#,n?BRkv">caller</field>
</block>
</value>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="!(6|-v[xD1}`0baOL`B+">
<field name="NUM">0</field>
</shadow>
</value>
</block>
</statement>
<value name="IF2">
<block type="logic_compare" id=".SPH-wnl,Ggyv^K(EB?5">
<field name="OP">NEQ</field>
<value name="A">
<block type="variables_get" id="FNC7Ui|N(XQL_r3vQ-~u">
<field name="VAR" id="BxO?KrzTw?rMD1zNje}0">callerName</field>
</block>
</value>
<value name="B">
<block type="text" id="?7c}zrB02lQ@}_kYT01=">
<field name="TEXT"></field>
</block>
</value>
</block>
</value>
<statement name="DO2">
<block type="control_ex" id="G^_Pa#WKo-R|=%K2h50(">
<field name="TYPE">false</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="A-fdA$SP}x%uQCiyPmHy">
<field name="oid">Object ID</field>
</shadow>
<block type="variables_get" id="HA2CWHLfX+1[)cWJ:inY">
<field name="VAR" id="OPH0?2XqXIbr@Lm-v)Tg">speak</field>
</block>
</value>
<value name="VALUE">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="logic_boolean" id="m.CL/$T)papKsMCby2i*">
<field name="BOOL">TRUE</field>
</shadow>
<block type="text_join" id="[J5,Xv05{NVoesX?X{)^">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="TsxCXnXUiJWE5+hzN?W4">
<field name="TEXT">Ein Anruf von </field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="JTv1,B#9IQ.6WXs~BiC^">
<field name="VAR" id="BxO?KrzTw?rMD1zNje}0">callerName</field>
</block>
</value>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="qYZ+kLtw}eL5;k46Stl@">
<field name="NUM">0</field>
</shadow>
</value>
</block>
</statement>
<next>
<block type="timeouts_setinterval" id="v_Bqgg{C;}*SlNxMx+{v">
<field name="NAME">Intervall</field>
<field name="INTERVAL">8000</field>
<field name="UNIT">ms</field>
<statement name="STATEMENT">
<block type="variables_set" id=":+L^L#%w}TaZ,oF%%Hee">
<field name="VAR" id="%0/d.tP9r]Bc3Rk5BO{:">On call states</field>
<value name="VALUE">
<block type="get_value" id="/jrF]ty4e!p+AvASy8G)">
<field name="ATTR">val</field>
<field name="OID">tr-064.0.callmonitor.toPauseState</field>
</block>
</value>
<next>
<block type="controls_if" id="j87.ZsAyGl(mU8^*6Tr;">
<mutation elseif="3"></mutation>
<value name="IF0">
<block type="logic_operation" id="*u%zOMGy%F@!-}CJQlsp">
<field name="OP">OR</field>
<value name="A">
<block type="logic_compare" id="Ia?0)w*#[cTW9d%,3*^w">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="^jM5pL6QJBLg%]o:C#PW">
<field name="VAR" id="%0/d.tP9r]Bc3Rk5BO{:">On call states</field>
</block>
</value>
<value name="B">
<block type="text" id="w5`CFx@zd-,jjjDnp0~`">
<field name="TEXT">end</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="#M!]E7h3!{o=E*ekb|xy">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id=")3Ks~V`4HOPFyOMc`yLm">
<field name="VAR" id="%0/d.tP9r]Bc3Rk5BO{:">On call states</field>
</block>
</value>
<value name="B">
<block type="text" id="It4NApphzKDp+{e4ch!w">
<field name="TEXT">connect</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="timeouts_clearinterval" id="YV5b]tFF(N3}/Lm)NYs(">
<field name="NAME">Intervall</field>
</block>
</statement>
<value name="IF1">
<block type="logic_operation" id=")acAXba{I:?)mwY3FQ5M">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="TW9fh_{`g@VCF%A[XfCq">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="E5o!zD)|PmZcj2Pd=]fi">
<field name="VAR" id="BxO?KrzTw?rMD1zNje}0">callerName</field>
</block>
</value>
<value name="B">
<block type="text" id="Ji[:io{=QH_Pjfl-[;eB">
<field name="TEXT"></field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="1l.]F[voVkI.Ip:8:2[q">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="8#-f}ub^-tzPf#%Der3i">
<field name="VAR" id="W4X82Udf|NzM#,n?BRkv">caller</field>
</block>
</value>
<value name="B">
<block type="text" id="OAqQ.JTGuNcQN-=!rb%U">
<field name="TEXT"></field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="control_ex" id="O8I-u/?#~6*~LYiovK~N">
<field name="TYPE">false</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="A-fdA$SP}x%uQCiyPmHy">
<field name="oid">Object ID</field>
</shadow>
<block type="variables_get" id="i]{O^$P#@CrpFjL*}PId">
<field name="VAR" id="OPH0?2XqXIbr@Lm-v)Tg">speak</field>
</block>
</value>
<value name="VALUE">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="logic_boolean" id="m.CL/$T)papKsMCby2i*">
<field name="BOOL">TRUE</field>
</shadow>
<block type="text" id="1OnbUqQlKCyVrjnS=*^l">
<field name="TEXT">Ein Anruf von Unbekannt</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="LIgcWA*B;)%tj|R%)i)2">
<field name="NUM">0</field>
</shadow>
</value>
</block>
</statement>
<value name="IF2">
<block type="logic_compare" id="}Ts:wbNat#zfS[n*z;b:">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="O0Dws_Q#Y)mm~xb(@A3X">
<field name="VAR" id="BxO?KrzTw?rMD1zNje}0">callerName</field>
</block>
</value>
<value name="B">
<block type="text" id="^!^KZ!ubH3AzTa+!-k;R">
<field name="TEXT"></field>
</block>
</value>
</block>
</value>
<statement name="DO2">
<block type="control_ex" id="4Ka`r{6LJF}T4e;q@Ow-">
<field name="TYPE">false</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="A-fdA$SP}x%uQCiyPmHy">
<field name="oid">Object ID</field>
</shadow>
<block type="variables_get" id="7RZZGx{PeHz(7R#KwZ?B">
<field name="VAR" id="OPH0?2XqXIbr@Lm-v)Tg">speak</field>
</block>
</value>
<value name="VALUE">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="logic_boolean" id="m.CL/$T)papKsMCby2i*">
<field name="BOOL">TRUE</field>
</shadow>
<block type="text_join" id="4L[^B1XT(iq.U)/#nW=-">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="5Q(v^b5z~:5AlvO!Q=D~">
<field name="TEXT">Ein Anruf von </field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="-:2Q7t4b%=.u6-Se~(g?">
<field name="VAR" id="W4X82Udf|NzM#,n?BRkv">caller</field>
</block>
</value>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="#Q4B7r[/F3^X0+!$6d0{">
<field name="NUM">0</field>
</shadow>
</value>
</block>
</statement>
<value name="IF3">
<block type="logic_compare" id="B^(=1b~0d-~WUK.OMhk]">
<field name="OP">NEQ</field>
<value name="A">
<block type="variables_get" id="O0HAfh;q;n6j|g}u_(he">
<field name="VAR" id="BxO?KrzTw?rMD1zNje}0">callerName</field>
</block>
</value>
<value name="B">
<block type="text" id="q-/pp:e@(F6A)ETnVBYj">
<field name="TEXT"></field>
</block>
</value>
</block>
</value>
<statement name="DO3">
<block type="control_ex" id="V8*=77oN[5}jbW9CB9Z}">
<field name="TYPE">false</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="A-fdA$SP}x%uQCiyPmHy">
<field name="oid">Object ID</field>
</shadow>
<block type="variables_get" id="D)j/+RonA;CrPMM_@3Y2">
<field name="VAR" id="OPH0?2XqXIbr@Lm-v)Tg">speak</field>
</block>
</value>
<value name="VALUE">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="logic_boolean" id="m.CL/$T)papKsMCby2i*">
<field name="BOOL">TRUE</field>
</shadow>
<block type="text_join" id="xF3bryAsT6V^`U~lsIj]">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="-Rt9?+F[-Xv2f@i2YZ;@">
<field name="TEXT">Ein Anruf von </field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="jHwoqHPN%dHtS7q9psKS">
<field name="VAR" id="BxO?KrzTw?rMD1zNje}0">callerName</field>
</block>
</value>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="NF0J7q.xJ5hm#RG*Kw-B">
<field name="NUM">0</field>
</shadow>
</value>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
</xml>