Commit Graph

43 Commits

Author SHA1 Message Date
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 5463e1b62a Added bridgin support for GSM and SIP
The dependency on mISDN (loopback interface) is completely removed
from GSM and SIP interfaces.

The built in bridge of LCR now forwards audio data between these
interface instances or between these instances and other instances.

Additionally both GSM BS and SIP support direct forwarding of RTP
traffic between  other SIP endpoint and OpenBSC, so no traffic is
forwarded by the LCR itself. This is done by forwarding RTP peer
informations between these interface instances.
2012-01-15 09:42:35 +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 5b5923141c Fixed forwarding of sending-complete information.
modified:   Makefile.in
	modified:   README
	modified:   action.cpp
	modified:   apppbx.cpp
2010-05-20 05:54:59 +02: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 6bf7c7f9db gsm improvements
code cleanup

	modified:   README
	modified:   action.cpp
	modified:   action_efi.cpp
	modified:   action_vbox.cpp
	modified:   alawulaw.c
	modified:   bchannel.c
	modified:   bootstrap.c
	modified:   callerid.c
	modified:   cause.c
	modified:   chan_lcr.c
	modified:   default/gsm.conf
	modified:   dss1.cpp
	modified:   gsm.cpp
	modified:   gsm.h
	modified:   gsm_conf.c
	modified:   message.h
2009-06-06 23:46:21 +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 7e2b25feda Mini-Fix: don't read settings, where not required. 2009-04-05 13:22:32 +02:00
Andreas Eversberg ea4c98fc11 Bugfix on timeout rules. (thanx to Benjamin)
modified:   README
	modified:   action.cpp
2009-03-15 09:44:24 +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
Karsten Keil 08aad9a8c5 Fix lot of warnings 2008-09-02 02:02:11 +02:00
Super User 609582c9ae fixed dialing bug to remote application
modified:   action.cpp
	modified:   apppbx.cpp
	modified:   chan_lcr.c
	modified:   mISDN.cpp
2008-06-15 14:29:09 +02:00
Super User e18b6b14b1 fixed dialing-bug when dialing chan_lcr
modified:   action.cpp
	modified:   apppbx.h
	modified:   configure.ac
2008-06-07 20:32:12 +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 44b6b77e68 fix and work
modified:   Makefile
	modified:   action.cpp
	modified:   bchannel.c
	modified:   chan_lcr.c
	modified:   extension.h
	modified:   joinpbx.cpp
	modified:   mISDN.cpp
	modified:   message.h
2008-05-25 16:12:20 +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 a130bdd9f6 struct message -> struct lcr_msg 2008-04-25 09:06:20 +02:00
Super User a396a7e8da more screening bug, more trace bug
modified:   action.cpp
	modified:   extension.c
	modified:   interface.c
2008-03-21 18:42:41 +01:00
Super User 80eaae179b trace fix
modified:   action.cpp
2008-03-21 15:51:51 +01:00
Super User 87c6cddd94 added execute patch by martin
now execute works and forks

	modified:   action.cpp
	modified:   todo.txt
2008-02-04 12:39:47 +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 83477c7faf fixes, screen in and out works, fixed release problem in mISDNuser
modified:   Makefile
	modified:   README
	modified:   action.cpp
	modified:   apppbx.cpp
	modified:   apppbx.h
	modified:   dss1.cpp
	modified:   extension.c
	modified:   interface.c
	modified:   interface.h
	modified:   main.c
	modified:   port.cpp
	modified:   tones.c
	modified:   trace.c
	modified:   trace.h
2008-01-05 22:58:22 +01:00
Super User 4d6f1aa5b1 minor fix
modified:   action.cpp
2007-12-26 22:17:44 +01:00
Super User e01d4caa3e some fixes, check README
modified:   README
	modified:   action.cpp
	modified:   action_vbox.cpp
	modified:   admin_client.c
	modified:   admin_server.c
	modified:   apppbx.cpp
	modified:   apppbx.h
	modified:   dss1.cpp
	modified:   endpointapp.cpp
	modified:   endpointapp.h
	modified:   interface.c
	modified:   joinpbx.cpp
	modified:   joinremote.cpp
	modified:   mISDN.cpp
	modified:   main.h
	modified:   message.h
	modified:   port.cpp
	modified:   port.h
	modified:   todo.txt
	modified:   tones.c
2007-12-22 10:10:18 +01:00
Super User 78f7f22944 fixes for some join-object-release problems 2007-09-15 10:40:29 +02: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 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 5a22e57828 alpha phase is open, this means:
it compiles!
it runs!
it calls without known bug yet!

comments to jolly@eversberg.eu
2007-07-17 19:28:09 +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 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