Niżej masz nieskończony skrypt, który realizuje funkcję o której wspomniałem.
Autoresponder
Profile: Autoresponder (18)
State: Call [ Type:Incoming Number:* ]
State: Profile Active [ Name:Spotkanie ]
State: Variable Value [ Name:%CNAME Op:Is Set Value:* ]
Enter: Auto odpowiedź (20)
A1: Variable Set [ Name:%JEST To:0 Do Maths:Off Append:Off ]
A2: Variable Set [ Name:%NUMER To:%CNUM Do Maths:Off Append:Off ]
A3: Variable Section [ Name:%NUMER From:1 Length:2 Adapt To Fit:Off Store Result In:%NUMER ]
A4: For [ Variable:%KIERUNKOWY Items:1:12 ]
A5: Variable Set [ Name:%index To:%index + 1 Do Maths:On Append:Off ]
A6: If [ %KIERUNKOWY(%index) = %NUMER ]
A7: For [ Variable:%TEL Items:%TEL(#) ]
A8: Variable Set [ Name:%IND To:%IND + 1 Do Maths:Off Append:Off ]
A9: If [ %TEL(%IND) = %CNUM ]
A10: Variable Set [ Name:%JEST To:1 Do Maths:Off Append:Off ]
A11: End If
A12: End For
A13: If [ %JEST = 0 ]
A14: Send SMS [ Number:%CNUM Message:Nie moge teraz rozmawiac. Bede osiagalny dopiero po godzinie: Store In Messaging App:On ]
A15: Array Push [ Name:%TEL Position:1 Value:%CNUM Fill Spaces:Off ]
A16: End If
A17: End If
A18: End For
Ostatnio zmieniany przez andy : 31.08.2013 o godz. 18:59
|