home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / HILFEN / MODEM / COMCAL / COMCALL.DOC < prev    next >
Text File  |  1993-12-01  |  43KB  |  877 lines

  1.                     COMCALL.EXE Ver 3.0
  2.                        (August 1992)
  3.  
  4.                   COPYRIGHT(C) 1991/1992
  5. Clive Jones, 111 Deer Park Gdns, Mitcham, Surrey ENGLAND CR4 4DX.
  6.                    ALL RIGHTS RESERVED
  7.  
  8.  
  9. COMCALL  is  distributed  under  the  SHAREWARE  principles.  The
  10. Author reserves all COPYRIGHTS (C)  to the program and associated
  11. documentation.  In using this program you agree to the terms that
  12. NO LIABILITY OF ANY KIND EITHER THROUGH DIRECT USAGE  OR INDIRECT
  13. USAGE OR INABILITY TO USE THIS PROGRAM OR FAILURE  IN THE PROGRAM
  14. TO OPERATE AS  DESCRIBED WILL  BE  PAYABLE OR DUE  BY THE AUTHOR.
  15. You are granted a limited  licence  to  use  this  program  for a
  16. limited period of 30  days for evaluation purposes  only.  If you
  17. intend  to  use this  program beyond  the  trial  period  you are
  18. requested to register your copy.   Registered copies will receive
  19. postal  support (telephone  support provided  where possible) and
  20. upgrade options as and when available.   Failure to register your
  21. copy  may result  in  further  development  into  this  and other
  22. packages  not being under taken by  the  author  as  a  result of
  23. financial restraints.   Don't be  a  contributory  factor  to the
  24. demise  of  SHAREWARE.    Assist  the  authors   who  have  spent
  25. considerable  time  and  effort  by  registering  your  SHAREWARE
  26. packages. 
  27.  
  28.                       ---------------------
  29.  
  30.  
  31. This  package comprises  of  the  following  files:- 
  32.  
  33.                      COMCALL.EXE
  34.                      COMDO.EXE
  35.                      COMCALL.DOC
  36.                      COMBOOT.EXE
  37.                      COMBOOTS.EXE 
  38.                      AUTOEX.BAT
  39.                      AT_SET.TXT.
  40.  
  41. They are distributed within a single self extracting archive file
  42. called:- COMV2.EXE
  43.  
  44. If you did not receive this package in this form then you should
  45. not use the programs.
  46.  
  47. Once Comcall has been installed and ran at least once on your PC 
  48. then three additional files will be automatically created:-
  49.  
  50.      CALLRING.DTL - a log file containing ring/action details
  51.      COMCC.DTL    - a comcall configuration file.
  52.      COMVALS.DTL  - holds default values for the comcall session
  53.  
  54.  
  55.                       --------------------
  56.  
  57.  
  58. If you have a telephone,  a Hayes command set modem and an IBM or
  59. compatible running under DOS or Windows,  then COMCALL  may be of
  60. use.
  61.  
  62. COMCALL is a package that is designed to monitor  your phone line
  63. in  your  absence.   It will either call  you at  ANY other phone
  64. location that  may be  directly  dialled   to   advise you when a
  65. pre-defined trigger   is  met or execute a command to  start some
  66. alternative   action.   Alternatively Comcall will simply monitor
  67. and log any incoming  calls  such  as  when  you  are  using   an
  68. answerphone with  no  call  time  logger.   Comcall is constantly
  69. under further development.  For future versions it is intended to
  70. add even greater flexibility in  Comcalls usage so as  to include
  71. such possibilities as the remote control of physical actions such
  72. as video recorder  control,  light operations,  curtains etc with
  73. the  control being performed via  a  single  telephone  line that
  74. could be shared with other devices eg voice/answerphone/fax/data.
  75.  
  76. Comcall will work with many existing  telecommunications hardware
  77. devices such as existing phones, extensions, answerphones etc.
  78.  
  79. No special hardware  is  required  at  the recipient  end  of the
  80. triggered  call  if a  telephone advice action is  selected.  Any
  81. phone that  may  be  DIRECTLY  dialled is sufficient.
  82.  
  83. This version  of  Comcall  is  distributed  under  the  Shareware
  84. principles.   Future versions may only  be  obtainable  by  users
  85. already  registered   under  the Shareware release of the current
  86. version.      
  87.  
  88. The trigger for COMCALL is a range of counts of incoming rings to
  89. your  telephone.   You define this  upon starting COMCALL  and is
  90. totally variable.  Such as one (and only one) ring being received
  91. (eg like a RINGBACK set up)  or maybe between 2 and 4 rings (your
  92. answer phone would have received a message),  or maybe  all rings
  93. eg 1 - 999 (999 being the COMCALL limit).
  94.  
  95. Only consecutive rings from one call are counted.  If the trigger
  96. condition is  not met then  the  ring  count  will  be  reset and
  97. Comcall will wait for subsequent calls.  
  98.  
  99. All incoming rings are logged to  a file  called CALLRING.DTL for
  100. later inspection  if  required.   Useful  if you've been  out and
  101. would like to see how many calls you missed.
  102.  
  103. Comcall  may  be   individually  configured  to  suit   your  own
  104. particular needs.
  105.  
  106. Comcall  now incorporates a  dual trigger condition,  so that two
  107. ranges of trigger options may be defined in order  to perform two
  108. separate operations  according  to  which  trigger  condition was
  109. encountered.
  110.  
  111. Comcall Version 3  is distributed as a fully functioning version.
  112. In trust of its capabilities and of its users I have  decided not
  113. to  cripple  or  disable  its  functionality  in  any  way.
  114.  
  115.  
  116.                        EXAMPLE USAGES OF COMCALL:
  117.  
  118. 1.  
  119.  
  120. You have an  answerphone but it  does not have a  time/date stamp
  121. option.   You go away for the weekend only to return to  a number
  122. of messages.  When were these messages taken?  Providing  you had
  123. invoked Comcall then  you will  be  able to see exactly  when the
  124. messages were left (day and time).   You will even be able to see
  125. how many calls resulted in messages not being left. 
  126.  
  127. 2.
  128.  
  129. A family member may be ill in hospital or your wife may have been
  130. taken into maternity as her babies due date  nears.   You have an
  131. answer phone and you have  to  go  out on  some  urgent business.
  132. You  are fearful that  you may receive  that  all  important call
  133. whilst you are out.   The answer phone will take the  message but
  134. you won't know of  this until you  next return home  or until you
  135. phone  up  and interrogate your  answer phone  next (assuming you
  136. have a remote access answer  phone).   Provided you either have a
  137. radio pager or know the telephone  number of the person  whom you
  138. are visiting worry no further.   Simply invoke COMCALL to monitor
  139. your line,  giving it  the number  of  the  person  whom  you are
  140. visiting (or the radio  pager  number).   Go  on  out  about your
  141. business  and   if  a  message  comes   in,   then  you  will  be
  142. automatically advised.
  143.  
  144. 3.
  145.  
  146. You are in  the office  late  on  a  Friday  evening.   You still
  147. haven't met that all important deadline for your  project and you
  148. really should come  in over the weekend to  finish  of that draft
  149. overview.   But your office is over 30  miles away.   You are not
  150. permitted to take disks out of the office and no  inward external
  151. network access  exist into  your PC system  for security reasons.
  152. Your office  PC  does  however have  a  modem  for  outgoing data
  153. transfer and you have a PC,  Modem and Communications Software at
  154. home.   Simply invoke your copy  of COMCALL to trigger  after say
  155. just one (and only one) ring of your office telephone.  When this
  156. trigger is met you want it to  start your comms  package that has
  157. been set to  autodial  your home phone number.   You can  then go
  158. home in the knowledge that you do not  have to drive all  the way
  159. in tomorrow  and can work  from  home.   All that is required the
  160. next day is for you to call your office phone, hang up after just
  161. one ring, set your PC, Modem and Comms package to autoanswer data
  162. mode and then wait for the return call from your office  PC.  You
  163. should be confident that no one else will ring your  office phone
  164. just once  and then  hang  up.   Even if then did it would  be of
  165. little consequence as  you would get an  a simple  call from your
  166. works PC which you could then just hang up on.  Provided you have
  167. set up the triggering system correctly,  your works PC would then
  168. resume waiting for another single ring. (See USING below). 
  169.  
  170. My set up :- I use Comcall for a threefold purpose.  Firstly I am
  171. on occasions telephoned in the middle of the  night with messages
  172. that have  to be dealt with  promptly.   My answerphone will take
  173. these messages, but, being a sound sleeper, I am seldom awoken by
  174. the few rings prior to the answerphone starting.   I  set Comcall
  175. to a ring range count of 1 - 10 (eg any calls) and an action of E
  176. REM.   Additonally I set the delay time to 360  and delay tone on
  177. so as  to  raise an  alarm that  continues  beyond  teh telephone
  178. ringing  period.   Any  calls  that  come  in  during  the  night
  179. therefore raise a PC alarm tone.   Secondly, as my office is over
  180. 15  miles  away,  I  set comcall to  call  me with advise  of any
  181. pending  messages that may be  left on my  answerphone throughout
  182. the day.  I utilise my answerphones remote interogation option to
  183. then respond to any important matters.  Finally, I use Comcall to
  184. allow me to call into my home PC from my office.  I only have the
  185. one telephone line  sharing both  the answerphone and  modem.  To
  186. use my home PC I simply set a trigger range of  1-2  rings and an
  187. action of X with an error level of  2.   This error level is then
  188. picked up from within my  modified autoexec.bat file  in order to
  189. start my  comms package in  host  mode  and await my  return data
  190. call.   I utilise the re-boot option  for this  to  ensure that I
  191. re-call within  5  minutes,  otherwise the PC reboots and reloads
  192. Comcall via the autoexec.bat file.
  193.  
  194.  
  195.                      SET UP/ INSTALLATION.
  196.  
  197.  
  198. COMCALLs file  should  be  ideally  placed   in  the  same single
  199. directory.
  200.  
  201. Comcall   consists    of a number  of files,  these are described
  202. below:-
  203. COMCALL.EXE  the executable  file,  COMDO.COM  which  is  used to
  204. execute the desired commands/files and COMCALL.DOC - this manual.
  205. Once  Comcall has  been   run  once  further  new  files  will be
  206. automatically  created  called   CALLRING.DTL  -  This   file  is
  207. used to    hold  details   of COMCALLs actions  (rings  received,
  208. actions taken   etc.  It is  an  append  mode file so  you should
  209. therefore periodically  monitor  and  delete  it  as  necessary).
  210. COMCC.DTL    - This file holds the configuration details that you
  211. may select for your comcall sessions.    COMVALS.DTL -  this file
  212. is used to hold initialisation  values each time  that comcall is
  213. invoked.  
  214. UNDER NO CIRCUMSTANCES SHOULD YOU MODIFY THESE .DTL FILES USING A
  215. TEXT  EDITOR.    Comcall  relies  upon  these   for  its  correct
  216. functioning.   If  they  become corrupted with invalid  data then
  217. Comcall may perform in an un-predictable fashion.
  218.  
  219. COMBOOT.EXE is a Terminate  stay resident program (TSR)  that can
  220. be  used  to  invoke a  cold re-boot.   COMBOOTS.EXE will stop an
  221. impending reboot requested started using COMBOOT.
  222.  
  223. In addition to these files, a file called AT_SET.TXT is provided.
  224. This provides a basic list of Hayes Commands for those of you who
  225. might  have  mis-laid  their modem manuals.   This should  not be
  226. taken as  a definative  list  for your  particular  modem  and is
  227. provided  purely  for the purpse  of guidance.   Finally the file
  228. called  AUTOEX.BAT  is provided as  a basis upon  which you could
  229. build your  own file  that  utilised  Comcalls  X conditions (see
  230. usage).
  231.  
  232. Prior to using COMCALL you must have a MODEM  (Hayes Command Set)
  233. connected to the specified COM  port.   The modem must be powered
  234. on prior to the invoking of COMCALL. 
  235.  
  236. To install comcall for the first time   simply  type  COMCALL and
  237. read the  notice.   Thereafter  type  COMCALL  C  and  follow the
  238. guidance  given.    A  new  configuration  file  will  be created
  239. automatically.   You may modify  this  configuration   now  or at
  240. any  other later time    by  re-using  the   Comcall  C  command.
  241. After   this  you  can  use  Comcall as required using any of the
  242. available  commands.   The options  that  you  may  configure are
  243. described below:-
  244.  
  245.  
  246. COMCALL C     COMMAND - CONFIGURATION OPTIONS
  247.  
  248.  
  249. To configure the Comcall options -  enter <comcall c>  at the dos
  250. prompt.
  251.  
  252. You will then be presented with a number  of options  that may be
  253. modified.  To select one of the options to modify, simply use the
  254. up  and down  arrow keys until  that option is  selected and then
  255. press the <ENTER>  key  to  enter into  the modify  mode.  In the
  256. modify option you will see the original value and be prompted for
  257. a new value.   You may exit from this by pressing the  escape key
  258. or by pressing the enter key  without having entered  a value for
  259. the new option.   Entry of a new  values do not come  into effect
  260. until after the save option has been selected.  Use of the escape
  261. key will therefore result in the previous values being maintained
  262. for the various options.
  263.  
  264.  
  265. The options that may be modified are:-
  266.  
  267.  
  268. 1.  Modem Initialisation String. (Consult your modem manual).  
  269.  
  270. It is not recommended that you change this unless you are sure of
  271. what  you are doing.   The  initial value that  is  supplied with
  272. comcall is ATE1V1H0S0=0  this will ensure that your modem  is set
  273. into the required verbrose message mode and to never auto answer.
  274. These are standard Hayes command set commands.  In some cases you
  275. may wish to add further Hayes modem control commands in  order to
  276. suit you own particular needs.  This is where you would add these
  277. as desired.
  278.  
  279.  
  280. 2.  Delay Time
  281.  
  282. This   is   the  delay time   (in   seconds)   between  a trigger
  283. condition    being   met   and   the   time   that   the   action
  284. specified   executes.   For  telecommunications   actions  it  is
  285. recommended that this figure be set high enough to allow  for any
  286. time that another person may be using your phone locally in order
  287. to complete  an  incomming call.   The minimum delay period  is 5
  288. seconds,  max = 999999.  Any values entered outside of this range
  289. will have a default of 120  seconds applied.  You   will   notice
  290. that  delays    are  incorporated    into  a   number   of    the
  291. functions of COMCALL.   This delay is defined here. These  delays
  292. are present to ensure  that sufficient    delay  periods   exists
  293. when modem     functions   are performed.   For example the delay
  294. count prior    to   initiating the  execution or advisory message
  295. is   in  place so  as   to    ensure that any incoming   messages
  296. should have completed   (eg  an  answerphone)  prior  to  COMCALL
  297. making  the outgoing  advisory  call  (after  all   you  would be
  298. sharing the same telephone line).
  299.  
  300.  
  301. 3.    Delay  tone.    
  302.  
  303. Prior   to   Comcall  starting   an   action following  a trigger
  304. condition,    the  delay  period  (as   of 2 above)  may  or  may
  305. not  have    a warning tone    sound.    This is useful  if   you
  306. wish   to  advise  local  personnel  of  such an impending action
  307. so that it may be aborted if required. 
  308.  
  309.  
  310. 4.  Colour/Black White.
  311.  
  312. If you have a black and white monitor then  you  should  set this
  313. option to 'B'.  Otherwise set it to 'C' for colour.
  314.  
  315.  
  316. 5.  Tone/Pulse Dialling.
  317.  
  318. If your local exchanges and modem can issue MF tone dialling then
  319. set this option to 'T' (tone).  Otherwise set it to 'P' (Pulse).
  320. If you are not sure as to which type of dialling is  local to you
  321. then it  is  recommended that  the 'P'  option  is  used  as this
  322. usually works on both.
  323.  
  324.  
  325. 6.  Com Port 
  326.  
  327. You should enter the number (1-4) of the com port that your modem
  328. is connect to.
  329.  
  330.  
  331. 7.  Busy Tone Retries.
  332.  
  333. COMCALL  will   re-issue a call   if   the BUSY tone is  detected
  334. upon executing an advisory  call.   Define the number of re-tries
  335. here  (max  10).   Note that some modems come with  a 'Blacklist'
  336. test for where a number may be dialled unsuccessfully on multiple
  337. occurences.   If you have such a modem, then the number of actual
  338. retries performed will  be  the lower of  the value set  for busy
  339. re-tries and the blacklist limit.
  340.  
  341.  
  342. 8.  Reverse Dialling Command.
  343.  
  344. To enable  some  form of indication  at the recipient  end of the
  345. named telephone number  this  program issues  a  reverse ringback
  346. command signal to your modem when making an advisory call.  
  347. If you are unsure about reverse dialling,  do not worry too much,
  348. it basically means that  the person  answering the  advisory call
  349. will hear DATA TONES.   Thus implying that an advisory call is in
  350. progress.    Without  the  reverse  dialling  mode,   the  person
  351. answering the call  would hear  nothing  and  may  assume  that a
  352. telecommunications  error  had  occurred.   Not  all  modems  may
  353. support the ringback option,  but the ones that do usually have a
  354. command sequence of R to invoke  this option  (consult your modem
  355. manual  for  further  reference.   In  some  cases  this  reverse
  356. ringback string  is  an  '/R'  eg  with  a  forward  slash).  The
  357. reverse dialling command option should  therefore be  set to your
  358. particular modems command (consult your modem manual).  The Hayes
  359. command set defines the Ringback  command as  a single  R, so you
  360. will  probably  have to change  the Comcalls default  of /R.  The
  361. default  will  probably  be  changed  in  future  releases  if so
  362. requested by popular demand - but as my modem expects a /R I have
  363. left the default to match this.
  364.  
  365.                      
  366. COMCALL B    COMMAND - BROWSE LOG FILE. 
  367.  
  368.  
  369. This is a command that may be issued from the dos prompt in order
  370. to browse the comcall  log file CALLRING.DTL.   Callring.dtl is a
  371. text file and may also be  browsed using other text  editors.  In
  372. the browse log mode  you can use the up  and down  arrow  keys to
  373. move about the display.  To exit the browse mode simply press the
  374. <ESC> key.
  375.  
  376.  
  377. COMCALL M    COMMAND - BROWSE MANUAL FILE.
  378.  
  379.  
  380. This  command is  issued  at  the dos prompt  in  order to browse
  381. through  this  file  (COMCALL.DOC).   It  operates  in  a similar
  382. fashion to that of the COMCALL  B option with the  exception that
  383. the page up and down keys will scroll the text in page lengths.
  384.  
  385.  
  386. COMBOOT  x  COMMAND - REBOOT
  387.  
  388.  
  389. As some applications of Comcall can result  in  memory contention
  390. (eg  where Comcall  is  used  to  invoke  other  packages)  it is
  391. sometimes desirable to have  an automated re-boot  option so that
  392. Comcall  may  be  re-initialised  via  your   autoexec.bat  file.
  393. Comcall  now provides  such  an  option  by use of the  COMBOOT x
  394. option that may be  executed from the dos prompt  or  from within
  395. bat files.   x  is a value  between 0  and 59 (minutes).  Issuing
  396. such a command will result in a cold re-boot of your system after
  397. the time period of x minutes has elapsed.  eg 
  398.                        comboot 2
  399. would result in a system reboot in  (Approx)  2 minutes from now.
  400. In the mean time any other  command or action could  be performed
  401. without affecting this  request (unless  you  execute  a comboots
  402. request that is (see below)).   Similarily comboot 0 would result
  403. in an immediate re-boot occuring.
  404.  
  405. The  reboot  option  results in  a Terminate Stay  Resident (TSR)
  406. being installed.  Under some circumstances other applications may
  407. contend  with  this  TSR.   Always check your  set ups thoroughly
  408. before relying upon  them.   For example,  I have found that if I
  409. invoke windows (Win)  following the setting of a  reboot request,
  410. then at the reboot time the only action that is performed is that
  411. windowns is stopped (returns to the dos prompt).   The way around
  412. this is to create a batch file (.bat) that will call another boot
  413. request eg 
  414.                 .
  415.                 .
  416.                 cd \comcall
  417.                 comboot 1    { reboot after 1 min within windows}
  418.                 cd \windows
  419.                 win          { start windows }
  420.                 comboot 0    { reboot immediate request }
  421.            
  422.      
  423. WARNING: COMBOOT will invoke a cold reboot no matter what!.  This
  424. is usually described as  a  bad  practice  as  the  state  of the
  425. machine at the time of the reboot request is unknown (resembles a
  426. power failure).   Any files that may be open, or any I/O that may
  427. be occuring at the  time of the reboot  will thus be  affected by
  428. the reboot.   If you treat the reboot command as a similar effect
  429. to  that  of  powering  off/on your PC  then you won't  go to far
  430. wrong.   If you decide  to use  the reboot option then  treat the
  431. command with respect.
  432.  
  433.  
  434. COMBOOTS    COMMAND - STOP REBOOT REQUEST. 
  435.  
  436.  
  437. If the Reboot (COMBOOT)  is invoked either in a bat  file or from
  438. the dos prompt and you wish  to  abort this auto reboot  then use
  439. the Comboots command,  again from the dos prompt or  within a bat
  440. file.   This is useful where Comcall may be driven by a .bat file
  441. that invokes a Comms package awaiting  for  your  return  call in
  442. data mode.   If a reboot request were  contained within  this bat
  443. file in order to reset your system back to Comcall if you did not
  444. recall within a time period  of x  minutes,  then if you did call
  445. back in data  mode then you would execute  this  Comboots command
  446. upon establishing your data link to stop such a reboot.
  447.  
  448.  
  449. COMCALL      COMMAND - EXECUTE COMCALL
  450.  
  451.  
  452. By  entering  <comcall>  alone  at  the dos prompt,  you  will be
  453. automatically taken into the main comcall process.
  454.  
  455. Initially you will  see a  couple  of  time  delayed introductory
  456. screens.   Thereafter,  you will  be  presented with  the session
  457. configuration screen.   Each time that you modify and save any of
  458. these then they will be applied to  all future  usages of Comcall
  459. until  such  times that they may be  modified  again.  This entry
  460. configuration screen has a auto-entry delay count  of 10 seconds.
  461. Pressing the <esc> key will by-pass this delay.  If no other keys
  462. are pressed within this time  then the main comcall  process will
  463. be entered.   This delayed auto entry enables comcall to  be used
  464. in batch file processing (eg .BAT files)  where it  is known that
  465. the default session options have  already been set  to a suitable
  466. value.   For  each  Comcall  session,  two  trigger  options  are
  467. available.  You may therefore define separate actions to be taken
  468. for each of two separate  trigger conditions  (ring ranges).  The
  469. options that may be modified are :-
  470.  
  471.  
  472.                        COMCALL ENTRY OPTIONS
  473.  
  474.  
  475. LOWER AND UPPER RING COUNTS
  476.  
  477. The ring counts (lower/upper) should be set to the range of FULL
  478. RINGS that you wish COMCALL to trigger an action upon receipt of.
  479. These values may be identical so as to stipulate an  exact number
  480. of RINGS to  trigger.   The minimum  number of rings that  may be
  481. specified  is  1.   The  maximum upper level is  999  RINGS.  For
  482. ranges of RING COUNTS the values are considered to be inclusive.
  483. There  should  be  no  over lap  between the ranges  for OPTION 1
  484. trigger action and OPTION 2.   FULL RINGS varies from  country to
  485. country.   For example  in  the  UK  with   the  Brrr-brrrr  ring
  486. Comcall  will  take   all  or   any part of this   to  be  a full
  487. ring.    It   is   worth noting  that  in some countries that the
  488. ring heard by the caller and the ring heard by  the called person
  489. may not be   in phase.    Comcall responds  to  the  actual rings
  490. received  locally.    Comcalls ring   counter will only increment
  491. when your modem detects such a ring.   This can lead to cases  of
  492. where say a caller   hears  only   one   ring cycle,  whereas  at
  493. the receiving end   a   two   ring   cycle   could have occurred.
  494. For critical   operations   it  is therefore recommended that you
  495. select   a ring  trigger  range  over  a  number  of ring cycles.
  496. When you wish to trigger this remotely,  then select   a mid ring
  497. count between these two values when making the trigger call. 
  498.  
  499.  
  500. EXECUTE/TELEPHONE/EXIT E/T/X OPTIONS
  501.  
  502. These  parameter should be set according to   what   the required
  503. trigger action should be eg 'T'  a telephone advisory call should
  504. be made  to the  number   defined in the command/telephone option
  505. (see later).    The 'E'  option enables the command as defined in
  506. the  command/telephone option  to  be  performed  if  the trigger
  507. condition is satisfied.  Any dos command or  program filename may
  508. be called  (even a call  to  a .BAT file if  required),  together
  509. with any parameters required by  that called program (there  is a
  510. upper  limit of 4  parameters that may be  passed).  The X option
  511. is used  where it  is desired to use comcall in  .BAT  files.  In
  512. some cases using the E option will prevent the  successful reload
  513. of comcall (eg if a trigger condition is met and  another program
  514. is executed that takes all of  the memory  available for  its own
  515. use).   In using the X option,  you  can define  an errorlevel at
  516. which  comcall should  halt  with  following the  receipt  of the
  517. desired trigger condition.  This errorlevel should be  defined in
  518. the  command/telephone option (see later).   A bat file  can then
  519. pick up  on  this  errorlevel  in  order to  perform  the desired
  520. operation using the bat file 'errorlevel' operand.  
  521.  
  522.  
  523. COMMAND/TELEPHONE
  524.  
  525. This is the  action command itself.   If a T options  is selected
  526. for the action option (see previous) then this should contain the
  527. target phone number.   If a E option is selected for  the command
  528. action then  this  should  be  a dos command or  program filename
  529. (filenames should be full filenames etc comcall.exe).  Up to four
  530. parameters may be included with the command eg echo hello there.
  531. If an X command action is selected then this should  be a numeric
  532. value (greater than one, less than 100) to which the desired exit
  533. errorlevel is  to  be  set.   For  more  information on  BAT file
  534. processing and errorlevel values - consult your operating systems
  535. manual.
  536.  
  537. For T options (telephone) you may be able to define delay periods
  538. by including an additional character in this  string (consult yur
  539. modem manual).   For example, when an advisory call is to be made
  540. out  through  an  automatic  switchboard  eg  requiring  a prefix
  541. digit(s)  to be dialled,  followed by a short delay, then you can
  542. use this delay  character to cater  for this.   Lets say that the
  543. delay charater  is  a comma (,),  and your number for  gaining an
  544. external line is 9.  If you wish to call the number 123-4567 then
  545. your telephone command line  value would be  :=  9,12345678.  (Do
  546. not include any dashes in telephone number command  actions.)  On
  547. receiving  a trigger condition,  Comcall will  then instruct your
  548. modem to dial the digit 9, followed by a short delay, followed by
  549. the number 1234567.   This delay character can vary from modem to
  550. modem, so consult your modems manual for further advise.  In some
  551. cases you may wish  to  concatenate a number  of  delays, usually
  552. this can be achieved by using two or more of the delay characters
  553. consecutively eg 9,,,1234567.
  554.  
  555.  
  556.                          USING COMCALL   
  557.  
  558.      
  559. For COMCALL to work your PC and Modem must be left on.  Any power
  560. loss  to  your  system  will  result  in the loss of  the COMCALL
  561. monitoring.   To ensure against power glitches you could copy the
  562. COMCALL command to  the last  line  of your autoexec.bat  file so
  563. that should the power fail and then be restored then the PC would
  564. reboot and re-execute the COMCALL command automatically.  
  565.  
  566. COMCALL  liaises  with  your  modem.   You  should  use  a  HAYES
  567. compatible MODEM and command set.   COMCALL requires that verbose
  568. commands are returned from your modem (not digit values) and that
  569. the modem is set to never answer.  These can usually be set using
  570. the AT(tention)  commands as defined for your  modem once COMCALL
  571. has  been  invoked.   The  most commonly used  AT commands within
  572. COMCALL is to set your modem to  never answer  (S0=0) and verbose
  573. listing (word messages).   This is automatically  sent within the
  574. initialisation process of  COMCALL  when  invoked  (providing you
  575. have not modified it using the Comcall C option).  Once  you have
  576. invoked   COMCALL you will   be  in a terminal session  with your
  577. modem.   Type AT (attention) followed by the enter key   directly
  578. at   the  terminal  screen.   You  should  then  see  the  modems
  579. response of  OK.    If this  does  not   occur  then  you  should
  580. check your modem and COM port.   
  581.  
  582. Comcall now incorporates  dual  trigger definition.   That is you
  583. can define two separate actions to  be taken upon the  receipt of
  584. two different ring ranges.   If you do not want any actions to be
  585. taken,  eg  using Comcall purely  as  a logging  device,  then we
  586. suggest that  you use trigger actions of  998/998   E(xecute) REM
  587. for option  1  and 999/999  E(xecute)  REM for option 2.  Comcall
  588. will thereafter only  log any details of  incomming calls  to the
  589. log file  (CALLRING.DTL)  which may be  browsed  later  using the
  590. Comcall B option  from  the dos prompt.   Note that in  this case
  591. then  if  a ring  count in  the range 998-999  rings  is detected
  592. (extremely unlikely) then the only action performed would be that
  593. Comcall would log a remark (REM) statement in the log file.
  594.  
  595. Once you enter Comcall then try   typing in a Capitalised RING at
  596. the terminal screen.   You should see the  response  of the  time
  597. of the ring   and the ring   count.  If further rings are entered
  598. in quick succession  you   should  see the ring  count increment.
  599. (Beware not   to enter the   same number of rings as  defined for
  600. your   trigger  otherwise  the  trigger will occur at  this  test
  601. stage - unless you wish to test your set up that is.)   If  there
  602. are delays   of   over 10 seconds between the  last and the  next
  603. ring then   the  ring  count will be seen  to revert back  to one
  604. (assumes a new call).
  605.  
  606. If you utilise the  program file execution  option,  then COMCALL
  607. may or may not be resumed upon completion of  this depending upon
  608. the  utilities called  (memory space etc).    Test  your  set ups
  609. prior to depending upon  them.   If COMCALL does not  resume then
  610. try  setting up  the BAT file  using the X command  option  and a
  611. suitable errorlevel (see below).  
  612.  
  613. Lets say that you have a comms package that  you wish  to  invoke
  614. upon a selected ring count  condition being met.  We'll call your
  615. comms package  compac  for  this  example.   Your  compac program
  616. allows   for the creation of script   files.   You have created a
  617. script  file that will result in a comms link being automatically
  618. set   up   when the script  is  invoked.   The  compac package is
  619. assumed to  allow you to  invoke  compac and  the script directly
  620. from  the  dos  command  line  eg    if  the   script  is  called
  621. ringoff.scr -  compac allows you to invoke it and the ringoff.scr
  622. by using the command
  623.  
  624.                          compac ringoff.scr
  625.  
  626. You  want this comms package to  be  run every time  that comcall
  627. detects  only one  ring (one and only  one rings).   We will also
  628. assume  that  your  modem  is  connected  to  your  COM  port  2.
  629. Additionally,  lets also assume that your comms package compac is
  630. in a directory called c:\comms  and that your COMCALL  package is
  631. in a directory called c:\comcall.  Lets say that you want to make
  632. Comcall exit with an errorlevel of 2  when the trigger is met and
  633. invoke your comms package (await your return call  in data mode).
  634. Finally lets also assume  that if you do  not call  back within 5
  635. minutes in  such  a data  mode  then you wish Comcall  to restart
  636. again.
  637.  
  638. Enter  Comcall and selected  the required  options at  the action
  639. screen.   Your Upper and lower ring counts should be set to 1 and
  640. 1  (eg one and only  one ring).   Additionally your  E/T/X option
  641. should be set to X and the Command/Telephone Option  set to  2 (2
  642. is the minimum 99  is the maximum errorlevel that may be  set for
  643. this X option.   Any other value outside of this  2-99 range will
  644. result in a default of  2  being applied).   As you only want one
  645. ring  range to  be  the trigger condition then  set the  Option 2
  646. values  to  say 999/999  rings,  E(xecute) REM command.  Now save
  647. these using the Save/Exit option.   Once at the terminal screen -
  648. exit Comcall using the ALT X option.   Now each time that Comcall
  649. starts  in  future  then  these  options  will  be  automatically
  650. installed.  Thus you can now include the command Comcall in a bat
  651. file (such as your autoexec.bat)  at will.   Once the bat file is
  652. run and  the comcall command issued,   then   following   a short
  653. delay  Comcall   will  be automatically initialised and entered.
  654.  
  655. You bat file  (consult your dos manual  for help regarding  batch
  656. files) - may contain something like the following :-
  657.  
  658.  
  659.           cd c:\comcall              - your comcall directory
  660.           comcall                    - start comcall
  661.           if errorlevel 2 goto trig  - if comcall exits with
  662.                                      - errorlevel of 2 then goto
  663.                                      - trig 
  664.           goto reboot                - otherwise goto reboot
  665.           :trig 
  666.           comboot 5                  - reboot system in 5 minutes
  667.           cd c:\comms                - your comms directory
  668.           compac ringoff.scr         - start your comms package
  669.           :reboot 
  670.           comboot 0                  - reboot imdediately 
  671.  
  672.  
  673. A similar bat file  to  that  of  the example  above  is included
  674. within the COMCALL package.
  675.  
  676. (Note the description on the right is for descriptive purposes -
  677. do NOT include this in your bat file.)
  678.  
  679. Saving  such   a  command sequence   to  your  Autoexec.bat  file
  680. followed  by  a  reboot  (CNTL-ALT-DEL)   would  result  in   the
  681. continuous   sequence of  comcall being   invoked and waiting for
  682. one and only one rings.   Then once  this trigger was met Comcall
  683. would stop  with  an  errorlevel of 2  which would start a reboot
  684. request after 5  minutes  followed by the   Compac  comms package
  685. being started using the ringoff.scr   script   file  in  order to
  686. wait  for your return data  call.    Normal exiting  from  compac
  687. will result in your   system rebooting as a result   of  the cold
  688. reboot Comboot 0  command.    Once the  system  starts  up  again
  689. the  whole process   could be   repeated.   If you call into your
  690. comms package from a remote site you should immediately execute a
  691. dos shell  command  of  COMBOOT  in  order  to  stop  the re-boot
  692. countdown.   If you didn't log into your computer then, after the
  693. 5  minutes delay stated in the COMBOOT 5 option your system would
  694. reboot and start the .bat file  all over  again.  Thus preventing
  695. your system being possibly left in data mode for the  rest of the
  696. day.
  697.  
  698. The  benefit of  such  a set up  is that should  your mains power
  699. supply fail   for  a brief period,   then  the  set  up  would be
  700. re-entered once again after the power had  been  re-established.
  701. It also ensures that your system should not hang  as  a result of
  702. memory contention preventing Comcall from correctly  working upon
  703. re-entry.
  704.  
  705. (Note that Compac is a name  chosen purely in  an arbitary manner
  706. in order to provide a demonstration.)
  707.  
  708.                             -----------
  709.  
  710. Occasionally you should  browse  the  CALLRING.DTL  file  that is
  711. created automatically by COMCALL.   This file contains all of the
  712. rings and the times that  they  were  logged  whilst  COMCALL was
  713. active.   This file will continue to  grow until  such times that
  714. you delete it.   Once deleted a new copy will be started the next
  715. time you re-enter COMCALL.
  716.  
  717. COMCALL has primarily be  developed and tested  in  the UK.  Some
  718. increase  in  the RINGING tone  received  whilst  COMCALL and the
  719. Modem were active have been reported.  This should not be a cause
  720. for concern.   In theory the package should work  as equally well
  721. on  a multitude of  telecommunications networks.   We have (as of
  722. the current date)  not received any reports of COMCALL failing to
  723. work on any given network.
  724.  
  725. Some  difficulty  in  the anticipated functioning of  COMCALL may
  726. occur if  another incoming  ring is made  at the  same instant in
  727. time when COMCALL issues an advisory call command.   However, the
  728. instances when this occurs should be extremely few in view of the
  729. small timeslot window when such conditions may occur.
  730.  
  731. When  COMCALL initiates an  advisory call,  the response messages
  732. from that call are monitored.  If a BUSY message is received then
  733. the call will be  retried after a short delay (providing the busy
  734. re-tries or modems Blacklist limit has not been reached).   
  735.  
  736. In all of the  EXECUTE,  X and ADVISORY CALL (T)  modes,  a delay
  737. from   the time when   the trigger   ring  receipt  was  received
  738. and  the trigger function operates exists.  This is via a counter
  739. level being decremented and displayed upon  the  terminal screen.
  740. If  you wish  to  cancel  the trigger function   and resume  RING
  741. monitoring,  then the ENTER key may be pressed  during this delay
  742. period (eg you may have  answered  your  phone locally and you do
  743. not wish  for the advisory call to progress to completion). 
  744.  
  745. To  quit  out of  COMCALL use the combined  keystrokes  of ALT X.
  746. (Some  limited  help  may  be  obtained  by  using  the  combined
  747. keystrokes of ALT H).
  748.  
  749.  
  750.                            REGISTRATION
  751.  
  752.  
  753. ENQUIRIES MAY BE MADE DIRECT TO  THE AUTHOR AT THE  ADDRESS BELOW
  754. OR VIA COMPUSERVE TO ID     100014,3141.
  755.  
  756. If you  found this package  to be of  some use and  would like to
  757. continue to use it beyond the evaluation  period of 30  days then
  758. remit your  payment and details to  the address  below.
  759.  
  760.                        Clive Jones
  761.                        111 Deer Park Gardens
  762.                        Mitcham
  763.                        Surrey
  764.                        CR4 4DX  
  765.  
  766. Registration   entitles   you   to   support   of   the   package
  767. (postal/electronic  mail  plus  telephone where possible).   As a
  768. registered user you will also be advised of upgrades  as and when
  769. they become available.
  770.  
  771. The suggested minimum registrational contribution is 10 UK Pounds
  772. Sterling or 20.00 US Dollars. This entitles you to a continuation
  773. in a single  licence beyond   the   30   day   trial  period  and
  774. package  support   together     with     automatic   upgrade   to
  775. the   next  available   version  as   and   when   this   becomes
  776. available   (don't   forget       to      state     your     disk
  777. size/format).      Currently  registered  users  (prior   to July
  778. 1992)  need only  send a stamped self addressed envelope and disk
  779. for  return  of  a   personal  copy  of   the    latest  release.
  780. Alternatively  you may register  on    a one-off basis    for the
  781. current  version  for only 5  UK  pounds  (8 US Dollars). 
  782.  
  783. COMCALL.EXE  source  code and rights are available for sale.   
  784. Contact the author for further details.
  785.  
  786. ENHANCEMENTS.      Upon   proof  of   sufficient  interest in the
  787. program (eg registrations/enquiries)  then the  author pledges to
  788. provide  further    releases    of  Comcall.   Your  registration
  789. contributions will  ensure  that such improvements  see the light
  790. of   day.    Such  later   releases   may only    be available to
  791. currently registered users.
  792.  
  793.  
  794.                              HISTORY
  795.  
  796.  
  797. Dec    1991. Version 1 Released.
  798. April  1992. Version 2 Released.    
  799.        Modem Initialisation Modification.
  800.        Pulse Dialing bug fix - thanks to Kevin Black
  801.        Log file format modification - thanks to Dave Woolcock
  802.        User definable delays/modem initialisation added.
  803.        Key entry screen modified to delayed entry for auto recall
  804.        Thanks to Dave Hickman (CA, USA).
  805.        General minor changes.
  806.        Configuration options added.
  807.        Browse log option added.
  808.        Delay tone toggle added.
  809.        Delay time from real time and not machine specific.
  810. August 1992.  Version 3.
  811.        Moved from command line to prompted initialisation.
  812.        Dual Trigger Conditions Added.
  813.        Time display.
  814.        Colour Options
  815.        Warning Tone on/off Options
  816.        Ringback string definition.
  817.        Auto Delay Entry modification.
  818.        Batch file option added.
  819.        Browse manual option added.
  820.        Busy tone retries level option added.
  821.        Reboot option (TSR)
  822.  
  823.  
  824.                        ----------------------
  825.                           CURRENT VERSION
  826.                        ----------------------
  827.  
  828. Comcall is continuously under further development.  We appreciate
  829. comments and views with regard to possibly improving the package.
  830. If you do  find  any errors  or have any constructive  ideas then
  831. drop us a line.   The author  has put in  considerable effort and
  832. time  in  creating  Comcall.    Its  nice  to  know  whether  his
  833. endeavours are being appreciated.
  834.  
  835.  
  836.                  ------------------------------------   
  837.                   U N D E R    D E V E L O P M E N T
  838.                  ------------------------------------ 
  839.  
  840. Unless you register for the current version of  COMCALL,  you may
  841. miss out on  future developments.   Currently Comcall is entering
  842. an  exciting phase.   Soon we hope  to be bringing  you a package
  843. that will be unique in its field.   A package that will offer new
  844. meaning to  the term  'remote control'.   Operating over a single
  845. telephone line  that may be shared  with normal voice  and answer
  846. phone set ups,  you will be able to remotely control  your video,
  847. stereo,  tv,  curtains,  lights,  garage doors etc.   If  you are
  848. registered with Comcall,  then you will  be automatically advised
  849. of when  this  becomes available.   All  in  addition to Comcalls
  850. existing functionality.   The  next  release of  Comcall,  may be
  851. released via Commercial  methods or  may still  be  via Shareware
  852. distribution.   However,  for  all  users  registered  under this
  853. current  version,  the next  release will  be offered  as per the
  854. current terms.       
  855.  
  856.                      -----------------------
  857.  
  858.  
  859. Do you use shareware software on a regular basis.   If you do and
  860. you would like  to  be paid to  receive and evaluate  some of the
  861. latest and golden oldies programs then contact the  author at the
  862. above  address.   This  is  a  genuine  offer  where considerable
  863. payments can be received for less than  ten minutes of  your time
  864. each month. Could just be the best enquiry you make in your life.
  865.  
  866.  
  867.                      ----------------------------
  868.  
  869.  
  870.                       EEEEEE    NN    N    DDDDD
  871.                       E         N N   N    D    D
  872.                       EEEE      N  N  N    D    D
  873.                       E         N   N N    D    D
  874.                       EEEEEE    N    NN    DDDDD
  875.  
  876.                      ----------------------------
  877.