Commit Graph

86 Commits

Author SHA1 Message Date
gernot d2af0286cd * rework of exception handling stuff; many modules were not
declaring thrown exceptions correctly any more after the
  re-structuring to not throw exceptions on any disconnect


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@196 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-12-28 15:00:35 +00:00
gernot f9ebdf1fbf * src/backend/connection.cpp (buildBconfiguration): accept
color faxes now by setting bit 10 in B3configuration


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@195 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-12-21 21:15:10 +00:00
gernot 73698ea56b - partly implementation of a bigger semantic change: don't throw
call finished exceptions in normal operation any longer; i.e. we only
  test for the connection at the begin of a command. This allows return
  values, e.g. for commands like capisuite.fax_receive() which were
  interrupted by an exception always in former CapiSuite versions and thus
  never returned. This is also a better and more logical use of exceptions
  IMO. ATTN: this is *far from stable*


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@176 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-10-03 14:56:40 +00:00
gernot 6939e9c506 - moved a "mkdir" from built to install stage
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@174 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-10-03 12:59:35 +00:00
gernot 3c40cffcdf - switch_to_faxG3: return faxInfo structure instead of None
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@165 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-08-24 12:49:21 +00:00
gernot 0509befdb5 - added better description for controller ID
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@159 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-08-10 12:00:57 +00:00
gernot 99e1b930c9 - added missing include of errno.h
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@145 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-07-20 19:08:19 +00:00
gernot c3a47fe547 - return information about transfers in fax receive/send, audio receive
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@142 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-07-20 10:31:52 +00:00
gernot 0e9e1527db - don't take a wrong character too serious...
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@138 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-06-29 06:18:13 +00:00
gernot 1ed6964df8 - convert fax headline to CP437, so that german umlauts and other special
characters will work now


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@137 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-06-28 12:49:47 +00:00
gernot 7c4423720a - support reception of color fax documents
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@120 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-05-25 13:38:30 +00:00
gernot 78f2285953 - get fax details (calling station ID, transfer format, ...), handle PLCI
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@118 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-05-24 13:48:54 +00:00
gernot 1a5fa8e9d2 - update documentation of capisuite_call_* to the new behaviour (timeout for
outgoing calls starts when other party gets signalled), moved error code
  description to manual


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@96 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-04-17 10:53:54 +00:00
gernot 1fd2a4dbc7 - timeout value is now measured beginning at the moment the other party is
signalled


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@95 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-04-17 10:52:12 +00:00
gernot d6576a3585 - support new ALERTING notification feature of backend
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@94 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-04-17 10:40:32 +00:00
gernot b5441590db - support ALERTING notification (to know when it's ringing on the other side)
- cosmetical fixes in capi.cpp


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@93 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-04-17 10:39:42 +00:00
gernot 68e8269f49 - fix another typo which could probably lead to errors in sending own number...
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@92 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-04-17 10:36:29 +00:00
gernot 826f980c3e - support empty destination number for incoming calls correctly (austrian
telecom does this (sic))
- core now returns "-" instead of "??" for "no number available" (much nicer
  in my eyes)
- new wave file used in remote inquiry for "unknown number"


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@87 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-04-10 21:29:51 +00:00
gernot 74d9a411ad - fix wrong exception order which gcc-2.95 doesn't like...
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@81 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-04-08 07:50:48 +00:00
gernot d5e078c3cb - buildBconfiguration() now checks the abilities of the given controller
and throws an error if it doesn't support the service
- it also sets the fax protocol setting now the highest available ability
  (fax G3 or fax G3 extended) of the controller, thus preparing fax polling
  and *working around a severe bug in the AVM drivers producing a kernel
  oops* with some analog fax devices. AVM knows about this and analyzes it.


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@68 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-04-04 09:17:59 +00:00
gernot aa9a6d58b1 - setListenTelephony() and setListenFaxG3 now check if the given controller
supports this service and throw an error otherwise


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@67 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-04-04 09:14:02 +00:00
gernot a6261ffb65 - added new readProfile() which stores controller profiles in attributes
- getInfo() only creates the string out of the stored values and doesn't
  do the real inquiry any more
- getInfo() and numControllers aren't static any more


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@66 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-04-03 21:16:03 +00:00
gernot 6b6d3bdf98 - Capi::getInfo isn't static any longer
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@65 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-04-03 21:09:46 +00:00
gernot aa76c2b64b - included autoconf tests for gcc-2.95 problems so that it will compile w/o
change for good old gcc-2.95 and gcc3


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@58 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-03-21 23:09:59 +00:00
gernot 86232147d3 - changed default of idle_script_interval to 30 seconds
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@51 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-03-20 09:15:53 +00:00
gernot 0a96c35d9e - added missing DESTDIR; thx to Achim Bohnet for this patch
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@46 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-03-20 08:09:08 +00:00
gernot f56d5cce90 - install capisuite to sbindir instead of bindir
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@36 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-03-09 12:38:10 +00:00
gernot 538d05e2e2 - fixed typo
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@23 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-03-06 09:35:10 +00:00
gernot 243a544932 - added missing endl's in error messages
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@22 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-03-06 09:34:44 +00:00
gernot 7fcc5db175 - create <localstatedir>/log if needed. Thanks to Achim Bohnet for this
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@21 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-03-06 09:33:43 +00:00
gernot 53e0608a0c - don't allocate new B3config in buildBconfiguration(), fixes bug 532
- limit stationID to 20 characters


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@17 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-02-28 21:36:51 +00:00
gernot 73158bd512 - remove old forward declaration
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@14 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-02-25 13:24:21 +00:00
gernot f50045c44c - comment fix
- remove old, unused attribute


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@13 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-02-25 13:23:19 +00:00
gernot d748d82e81 - remove old, unused attribute
- correct some forgotten references to CallControl to IncomingScript


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@12 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-02-25 13:22:42 +00:00
gernot c27c7def8c - follow some a little bit stricter rules of gcc-2.95.3
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@9 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-02-21 23:21:44 +00:00
gernot 4f7e2b2a4e Initial revision
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@3 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-02-19 08:19:51 +00:00