Commit Graph

49 Commits

Author SHA1 Message Date
Andreas Eversberg 7d414983c9 perform default/timeout action when sending is complete 2015-12-15 07:52:22 +01:00
Andreas Eversberg 42b2772d78 Fixed several compiler warnings 2015-12-15 07:52:20 +01:00
Andreas Eversberg acaf278f7f Add FXS support
This requires FXS support to mISDN too.
2012-12-16 10:12:44 +01:00
Andreas Eversberg a28dde2f2b Fix: Match complete string when filtering for interface 2012-12-16 10:10:34 +01:00
Andreas Eversberg b6a3cd5a8d Fixed parsing capability conditions 2012-12-16 10:10:33 +01:00
Andreas Eversberg f6aea744f8 Removed complete bchannel handling from chan_lcr
The remote application interface does not allow any bchannel to be
exported or imported. Audio traffic via socket interface is used instead.

The joinremote instance became obsolete and is removed.

The remote action (routing) became obsolete, use interface.conf instead.

The handling of loopback device became obsolete and was removed

The chan_lcr does not rely on mISDN anymore, that means:
- can be used with GSM and without mISDN at all.
- chan_lcr can be used as internal extension of LCR (e.g. SIP phone)
  (chan_lcr can be handled as any other interface)
- no loopback device to be used anymore.
2012-12-16 10:10:32 +01:00
Andreas Eversberg f851ca0d9e Adding switch to compile LCR without mISDN support
Disable:
--without-misdn
Enable:
--with-misdn

Otherwise it will be enable automatically, if mISDN user is installed.
2012-01-27 07:27:52 +01:00
Andreas Eversberg 08bdc61deb Fixed broken timeout condition
A given timeout condition never made the rule match.
2011-09-02 10:01:07 +02:00
Andreas Eversberg 8b70a9a5c2 Fixed forking, to prevent LCR to run multiple times
Executing a script caused very weird behaviour, due to forking of LCR.
2011-08-10 21:50:45 +02:00
Harald Welte 0eebd3a28e don't execve() a shell process but always double-fork and then exec the program directly 2011-02-20 11:33:53 +01:00
Andreas Eversberg 0f5c2eabde Adding various arguments to 'execute' condition and 'execute' action. 2010-12-13 09:13:16 +01:00
Andreas Eversberg 491b3c968a Just a small bug fix: Extension matching will be performed by extension's number, not by their name.
I really don't know why there is suddenly this bug. Earlier versions did this correctly.
2010-03-24 23:05:01 +01:00
Andreas Eversberg 8fb861ef9e - Fixed HLC (higher layer capability) modification to LCR routing.
- Fixed chan_lcr fax queue buffer. Added LCR_TRANSFERCAPABILITY environment.

-> use options "n:t:q250" for sending/receiving faxes with asterisk and chan_lcr.

	modified:   README
	modified:   action.cpp
	modified:   bchannel.c
	modified:   chan_lcr.c
	modified:   route.c
	modified:   route.h
2010-01-24 19:41:32 +01:00
Andreas Eversberg 76c5d82d4c Added "release" action and timeout to "execute" action.
modified:   README
	modified:   action.cpp
	modified:   apppbx.cpp
	modified:   apppbx.h
	modified:   dss1.cpp
	modified:   mISDN.cpp
	modified:   message.h
	modified:   route.c
	modified:   route.h
	modified:   socket_server.c
2010-01-16 11:42:46 +01:00
Andreas Eversberg b0bd74e35e Replaced polling loop for LCR and chan_lcr with select based event loop.
Now LCR and chan_lcr will not use any CPU until there is work to do.
2010-01-16 11:20:23 +01:00
Andreas Eversberg 3ac6881c22 Added keypad forwarding, keypad parameter, chan_lcr keypad option 'k'.
modified:   README
	modified:   action.cpp
	modified:   apppbx.cpp
	modified:   chan_lcr.c
	modified:   chan_lcr.h
	modified:   dss1.cpp
	modified:   joinpbx.cpp
	modified:   joinpbx.h
	modified:   message.h
	modified:   route.c
	modified:   route.h
2009-10-27 08:02:16 +01:00
Andreas Eversberg b987a1bbbc Fixes and improves parsing of config file.
Last character of unterminated line was ignored.

Minor bug fix in 2600 Hz pulse dialing.

	modified:   README
	modified:   action_vbox.cpp
	modified:   crypt.cpp
	modified:   extension.c
	modified:   gsm_conf.c
	modified:   interface.c
	modified:   macro.h
	modified:   route.c
	modified:   ss5.cpp
	modified:   ss5.h
2009-10-27 07:53:27 +01:00
root e9bfe48fc5 Source cleanup.
modified:   bootstrap.c
	modified:   cause.c
	modified:   crypt.cpp
	modified:   endpoint.cpp
	modified:   genext.c
	modified:   genrc.c
	modified:   gentones.c
	modified:   genwave.c
	modified:   ie.cpp
	modified:   join.cpp
	modified:   joinpbx.cpp
	modified:   joinremote.cpp
	modified:   lcradmin.c
	modified:   mail.c
	modified:   main.c
	modified:   message.c
	modified:   route.c
	modified:   socket_server.c
	modified:   tones.c
	modified:   trace.c
	modified:   vbox.cpp
2009-07-05 22:14:21 +02:00
Andreas Eversberg 20a671d768 Added GSM network support.
This turns LCR into a GSM mobile switching center.
More infos will follow.
2009-05-11 11:07:58 +02:00
Andreas Eversberg 64143650bc Applied patch by Daniel: "execute"-action can now be performed on call init or on call hangup. A special parameter allows that.
-> Forking of executed program is now performed without getting zombie process.

	modified:   README
	modified:   action.cpp
	modified:   apppbx.h
	modified:   route.c
	modified:   route.h
2009-04-06 20:20:09 +02:00
Andreas Eversberg aaf6f200d7 Added alerting and proceeding to the goto rule.
modified:   README
	modified:   route.c
2009-02-15 11:41:41 +01:00
Andreas Eversberg efc550418c Added processing of second caller id.
New routing macht rule to filter second caller id.

Fixed extensions directory path.

"make clean" now cleans ".po" files.

Fixed unititialized variable bugs and compiler warnings.

	modified:   Makefile.am
	modified:   Makefile.in
	modified:   action.cpp
	modified:   apppbx.cpp
	modified:   callerid.c
	modified:   chan_lcr.c
	modified:   dss1.cpp
	modified:   dss1.h
	modified:   extension.c
	modified:   gentones.c
	modified:   ie.cpp
	modified:   mISDN.cpp
	modified:   message.h
	modified:   port.cpp
	modified:   route.c
	modified:   route.h
	modified:   socket_server.c
	modified:   tones.c
	modified:   trace.c
2008-11-04 09:31:09 +01:00
Andreas Eversberg 26c7e0d22e Finished autoconf.
-> Commments are welcome.

	deleted:    Makefile
	modified:   Makefile.am
	new file:   Makefile.in
	modified:   README
	new file:   aclocal.m4
	modified:   action_vbox.cpp
	modified:   alawulaw.h
	modified:   autogen.sh
	new file:   config.h.in
	new file:   configure
	modified:   configure.ac
	modified:   default/interface.conf
	modified:   default/options.conf
	modified:   dss1.cpp
	modified:   dss1.h
	modified:   extension.c
	modified:   genext.c
	modified:   interface.c
	modified:   interface.h
	modified:   mISDN.cpp
	modified:   mISDN.h
	modified:   main.h
	new file:   mkinstalldirs
	modified:   options.c
	modified:   options.h
	modified:   port.cpp
	modified:   route.c
	modified:   todo.txt
	modified:   tones.c
	modified:   vbox.cpp
	deleted:    watch.c
2008-09-21 08:57:51 +02:00
Andreas Eversberg 6d3d13def3 fixed some layer 2 link issues
modified:   README
	modified:   apppbx.cpp
	modified:   lcradmin.c
	modified:   mISDN.cpp
	modified:   route.c
2008-09-14 14:37:51 +02:00
Andreas Eversberg b95114936f changed port attribute to "portnum".
modified:   bchannel.c
	modified:   default/interface.conf
	modified:   interface.c
	modified:   mISDN.cpp
	modified:   route.c
2008-09-06 13:59:48 +02:00
Karsten Keil 08aad9a8c5 Fix lot of warnings 2008-09-02 02:02:11 +02:00
Karsten Keil b3974893ba Fix 64bit build 2008-09-01 22:23:01 +02:00
Super User e602f7bfbd minor fixes
modified:   mISDN.h
	modified:   route.c
2008-06-20 08:27:26 +02:00
Super User d2b113f2c4 changed long to int (64 bit system's compatibilty) 2008-06-14 08:34:50 +02:00
Super User 026b04fc75 LCR is now uses socket based mISDN V2 API
*** chan_lcr, the Asterisk interface works (not complete yet).
-> LCR can be used as Asterisk channel driver.

	modified:   Makefile
	modified:   Makefile.am
	modified:   README
	modified:   action.cpp
	modified:   apppbx.cpp
	modified:   bchannel.c
	modified:   bchannel.h
	modified:   callerid.c
	modified:   cause.c
	modified:   chan_lcr.c
	modified:   chan_lcr.h
	modified:   configure.ac
	modified:   default/routing.conf
	modified:   dss1.cpp
	modified:   dss1.h
	modified:   genrc.c
	modified:   ie.cpp
	modified:   interface.c
	modified:   lcradmin.c
	modified:   mISDN.cpp
	modified:   mISDN.h
	modified:   main.c
	modified:   main.h
	modified:   message.h
	modified:   myisdn.h
	modified:   route.c
	modified:   socket_server.c
	modified:   trace.h
2008-06-01 18:52:10 +02:00
Super User 95a9a7f135 work on chan_lcr
modified:   action.cpp
	modified:   apppbx.cpp
	modified:   bchannel.c
	modified:   chan_lcr.c
	modified:   mISDN.cpp
	modified:   message.h
	modified:   route.c
	modified:   route.h
2008-05-18 09:23:10 +02:00
Super User 0efcf371b4 work on chan_lcr
modified:   Makefile
	modified:   action.cpp
	modified:   action_efi.cpp
	modified:   action_vbox.cpp
	modified:   apppbx.cpp
	modified:   apppbx.h
	modified:   bchannel.c
	modified:   bchannel.h
	new file:   callerid.c
	new file:   callerid.h
	modified:   chan_lcr.c
	modified:   chan_lcr.h
	modified:   crypt.cpp
	modified:   endpoint.cpp
	modified:   endpointapp.cpp
	modified:   interface.c
	modified:   join.cpp
	modified:   joinpbx.cpp
	modified:   joinremote.cpp
	modified:   mISDN.cpp
	modified:   mail.c
	modified:   main.h
	modified:   message.h
	modified:   port.cpp
	modified:   route.c
	modified:   route.h
	modified:   socket_server.c
	modified:   todo.txt
	modified:   vbox.cpp
	modified:   watch.c
2008-05-01 10:35:20 +02:00
Super User 1bfbfbf903 socket mISDN work
modified:   Makefile
	modified:   apppbx.cpp
	modified:   default/interface.conf
	modified:   dss1.cpp
	modified:   interface.c
	modified:   interface.h
	modified:   mISDN.cpp
	modified:   mISDN.h
	modified:   main.h
	modified:   options.c
	modified:   options.h
	modified:   route.c
2008-04-24 09:24:04 +02:00
Super User d9d954e58d socket api work
modified:   apppbx.cpp
	modified:   cause.c
	modified:   dss1.cpp
	modified:   dss1.h
	modified:   ie.cpp
	modified:   interface.c
	modified:   mISDN.cpp
	modified:   mISDN.h
	modified:   main.c
	modified:   main.h
	modified:   message.c
	modified:   options.c
	modified:   port.cpp
	modified:   q931.h
	modified:   route.c
	modified:   socket_server.c
	modified:   tones.c
2008-03-24 11:13:44 +01:00
Super User 14f76f1e81 work on unfinished asterisk channel driver (bchannel handling)
modified:   Makefile
	modified:   README
	modified:   action.cpp
	modified:   admin_server.c
	modified:   apppbx.cpp
	modified:   apppbx.h
	new file:   bchannel.c
	new file:   bchannel.h
	renamed:    asterisk_client.c -> chan_lcr.c
	renamed:    asterisk_client.h -> chan_lcr.h
	deleted:    channel.c
	modified:   dss1.cpp
	modified:   extension.c
	modified:   extension.h
	modified:   interface.c
	modified:   interface.h
	modified:   joinremote.cpp
	modified:   joinremote.h
	modified:   mISDN.cpp
	modified:   mISDN.h
	modified:   main.h
	modified:   message.h
	modified:   route.c
	modified:   todo.txt
2008-01-19 18:10:46 +01:00
Super User d2ffecef26 added filter options (gain, pipeline, blowfish) to interface configuration.
modified:   apppbx.cpp
	modified:   interface.c
	modified:   interface.h
	modified:   mISDN.cpp
	modified:   mISDN.h
	modified:   route.c
	modified:   todo.txt
2008-01-06 15:49:29 +01:00
Super User db6990e487 just backup. (partyline join/release jingle not tested yet, no sound yet) 2007-09-10 07:10:50 +02:00
Super User 0a0643e3a5 fixes, debugging for usleep problems. 2007-08-11 10:12:10 +02:00
Super User fb872d7e65 fixed routing: only parameters that are allowed may be present in the routing file.
fixed pick-up of a call that rings on a different extension/phone
2007-07-29 11:46:49 +02:00
Super User 41f2c3714b fix 2007-07-27 20:31:14 +02:00
Super User b5427b9c69 fixes, changes, backup 2007-07-27 20:07:22 +02:00
Super User 701b046a45 unified socket application interface (for asterisk and maybe other apps)
bugfixes
2007-07-26 14:23:56 +02:00
Super User ef3fc1931a backup 2007-07-15 12:01:27 +02:00
Super User 3754d8f73f backup
compiles, runs, but not enough debugged
2007-07-07 17:13:20 +02:00
Super User e9daaa4ef7 backup 2007-06-27 08:23:50 +02:00
Super User 7dc10dcae1 backup 2007-06-03 12:11:09 +02:00
Super User 996f984d61 backup 2007-05-23 11:19:25 +02:00
Super User fd2045584f backup 2007-05-15 22:59:29 +02:00
Super User 2ed0fee489 only for backup, still in coding state - no compile!!! 2007-05-06 15:54:52 +02:00