home *** CD-ROM | disk | FTP | other *** search
/ PC & Mediji 2002 March / PCM_0203.iso / MEDIA / PREIZKUSNI / WinIVR.msi / Instal01.cab / _2CBD7563D7B7489FB20B3E0697731808 next >
Text File  |  2002-01-30  |  2KB  |  81 lines

  1.  
  2. Notice: Please open AutoDialer.wiv using Open menu, not double clicking in Explorer. 
  3.  
  4. Version: 0.9.2 and above
  5.  
  6. Analysis: Select calledID from database where it's HasAnswered is not checked and CallingTimes is minimal, then make call. If call is answered, check HasAnswered flag of this calledID, else increase CallingTimes field. Continuously, until all calledID be answered. 
  7.  
  8. Debug&Test: WinIVREdit using Enterprise channel.
  9.  
  10. Run: WinIVRAdmin with Enterprise channel.
  11.  
  12. Note: You need use Microsoft Access to modify CalledID field of table Called of database AutoDialer.mdb, to you phone number. After all calledID has answered, you need to reset HasAnswered field to false.
  13.  
  14.  
  15. |
  16. x--Var
  17. |   |
  18. |   |--Result
  19. |   |
  20. |   |--DataBase : GetCalledID Unknown - select * from called where 
  21. |   |  HasAnswered=false order by CallingTimes
  22. |   |
  23. |   |--DataBase : OperateCalledID SQLStatement - Update Called set 
  24. |   |  CallingTimes=:CallingTimes where CalledID=:CalledID
  25. |   |
  26. |   |--Variant : CalledCount
  27. |   |
  28. |   |--Variant : AllHasAnswered
  29. |   |
  30. |   |--Variant : CalledID
  31. |   |
  32. |   ---Variant : CallingTimes
  33. |
  34. x--Begin
  35. |   |
  36. |   |--DBOperate : GetCalledID Open CalledCount
  37. |   |
  38. |   |--Operator : AllHasAnswered = CalledCount Equality 0
  39. |   |
  40. |   x--If : AllHasAnswered
  41. |   |   |
  42. |   |   x--True
  43. |   |   |   |
  44. |   |   |   ---Sleep : Persist Interruptible
  45. |   |   |
  46. |   |   ---False
  47. |   |
  48. |   |--Field : GetCalledID "CalledID" CalledID
  49. |   |
  50. |   |--Field : GetCalledID "CallingTimes" CallingTimes
  51. |   |
  52. |   |--DBOperate : GetCalledID Close
  53. |   |
  54. |   |--Operator : CallingTimes = CallingTimes Add 1
  55. |   |
  56. |   |--Param : OperateCalledID "CallingTimes" CallingTimes
  57. |   |
  58. |   |--Param : OperateCalledID "CalledID" CalledID
  59. |   |
  60. |   |--DBOperate : OperateCalledID Execute
  61. |   |
  62. |   |--Call : CalledID 20Second
  63. |   |
  64. |   x--Switch : Result
  65. |       |
  66. |       x--Case : "returnSUCCESS"
  67. |       |   |
  68. |       |   |--Command : OperateCalledID SQLStatement "Update Called set 
  69. |       |   |  HasAnswered=true where CalledID=:Called"
  70. |       |   |
  71. |       |   |--Param : OperateCalledID "Called" CalledID
  72. |       |   |
  73. |       |   |--DBOperate : OperateCalledID Execute
  74. |       |   |
  75. |       |   ---Play : "Greeting.wav" Interruptible {Play content: This is a 
  76. |       |      greeting, goodbye} 
  77. |       |
  78. |       ---Default
  79. |
  80. ---End
  81.