Commit Graph

55 Commits

Author SHA1 Message Date
gernot d2fbc2506f fix another "automake doesn't work in SVN version" problem...
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@381 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-12-29 23:23:18 +00:00
gernot e0c8664770 fix some comments
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@380 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-12-13 18:57:10 +00:00
gernot b90495a088 -regenerate with the sfftobmp changes, add two other missing files
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@374 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-12-04 06:52:38 +00:00
gernot a22481c4fc - merge branches/py-lib, revisions 265-325 to trunk
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@328 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-10-31 14:07:07 +00:00
gernot b75a6e0f54 delete old obsolete CVS info
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@318 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-08-14 10:34:51 +00:00
gernot a208cb46ce add autogenerated files as these are difficult to generate for many
people when trying to build the CVS version


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@316 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-07-15 00:21:01 +00:00
gernot c345ad9d9d support new parameter in ALERT_REQ of newer capi4linux
versions, thx to Steffen Barszus for reporting and the fix


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@315 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-07-15 00:19:15 +00:00
gernot 9f5d6ed52a prevent CapiSuite from crashing when a too high DDIBaseLength was
configured, thx to Michael Ressel for reporting and analyzing



git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@309 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-06-10 20:48:11 +00:00
gernot 4f33b2dc2c shorter is better :)
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@285 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-03-20 11:24:14 +00:00
gernot c621d21748 2004-03-20 Gernot Hillier <gernot@hillier.de>
* src/application/pythonscript.h: extend prefix() so that it can
          create a short prefix, too; use short prefix for Python traceback 
          (fixes bug #63, reported anonymously)
        * src/application/pythonscript.cpp: Likewise.



git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@284 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-03-20 11:15:01 +00:00
gernot afbe12ee88 2004-03-09 Hartmut Goebel <h.goebel@crazy-compilers.com>
* src/application/idlescript.cpp: Reduced delay until
          idlescript.py is called the first time after startup.



git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@278 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-03-13 22:57:34 +00:00
gernot dc43bcade6 2004-02-20 Gernot Hillier <gernot@hillier.de>
* src/application/capisuite.cpp: changed include order to get rid of
          the "_POSIX_C_SOURCE redefined" warning (thx to Hartmut Goebel)
        * src/application/capisuitemodule.cpp: Likewise.
        * src/application/idlescript.cpp: Likewise.
        * src/application/incomingscript.cpp: Likewise.
        * src/application/pythonscript.h: Likewise.


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@236 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-02-20 14:33:08 +00:00
gernot 7afe826bdc 2004-02-17 Hartmut Goebel <h.goebel@goebel-consult.de>
* docs/manual.docbook: fixed some syntax errors
        * src/application/pythonscript.h: fixed #include statement
        * src/backend/connection.cpp: Likewise.


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@232 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-02-17 22:31:59 +00:00
gernot ad6c633600 2004-02-11 Gernot Hillier <gernot@hillier.de>
* scripts/incoming.py (faxIncoming,CVS log): fixed two typos /
          removed not allowed german umlauts
        * src/modules/audioreceive.h (AudioReceive): correct exception
          declaration order (thx to Matthias Haberkorn for the patch)
        * src/modules/callmodule.h (mainLoop): Likewise.


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@229 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-02-11 05:17:43 +00:00
gernot a67f0e5b9f 2004-02-08 Gernot Hillier <gernot@hillier.de>
* src/backend/connection.cpp (data_b3_conf): fix behaviour when
          DATA_B3_CONF comes immediately after DATA_B3_REQ


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@226 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-02-08 21:09:28 +00:00
gernot 40b4aa8042 2004-02-08 Gernot Hillier <gernot@hillier.de>
* src/application/capisuitemodule.cpp (capisuite_audio_send,
          capisuite_fax_send): catch some missing Exceptions
        * src/backend/connection.{cpp,h} (connectWaiting,rejectWaiting): throw
          CapiExternalError instead of CapiError when user passed a wrong call
        * src/backend/connection.{cpp,h} (connectWaiting,connect_b3_active_ind,
          disconnect_b3_ind,disconnect_ind,data_b3_ind,facility_ind_DTMF,
          info_ind_alerting,info_ind_called_party_nr,select_b_protocol_conf,
          alert_conf,data_b3_conf,facility_conf_DTMF,disconnect_b3_conf,
          disconnect_conf,send_block,start_file_transmission): add CapiError to
          allowed throwable objects in declaration
        * src/modules/audiosend.{cpp,h} (mainLoop): Likewise.
        * src/modules/callmodule.{cpp,h} (mainLoop): Likewise.
        * src/modules/faxsend.{cpp,h} (mainLoop): Likewise.


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@225 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-02-08 21:06:08 +00:00
gernot 08c5fa93fc 2004-01-10 Gernot Hillier <gernot@hillier.de>
* .cvsignore: added stamp-files
        * docs/manual-de.docbook (creating_alaw): small stylistic improvement
        * src/capisuite.conf.in, src/application/capisuite.cpp (CapiSuite,
          readConfiguration): added new options DDI_base, DDI_length and
          DDI_stop_numbers
        * src/application/capisuite.cpp (checkOption): nicer output format
        * src/backend/capi.{cpp,h} (Capi,readMessage): new parameters for DDI,
          enable Called Party Info Element if DDI is used; accept Called
          Party Info Element; pass on DDI options to Connection object
        * src/backend/connection.{cpp,h} (Connection,info_ind_called_party_nr):
          new parameters for DDI; interpret Called Party Info Element, get
          CalledPartyNumber from there instead of CONNECT_IND when DDI is used;
          docu improvements
        * src/modules/connectmodule.h: disabled the automatic adding of CVS log
          messages


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@203 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-01-10 14:16:40 +00:00
gernot 8861fe7d46 * src/modules/connectmodule.{h,cpp} (ConnectModule): throw
CapiExternalError only when connection's already up, otherwise
  use CapiWrongState


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@201 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-12-31 16:28:55 +00:00
gernot 803d71524c - reworked TODO, disabled automatic log message adding to source files
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@197 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-12-28 21:01:04 +00:00
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