Commit Graph

32 Commits

Author SHA1 Message Date
Andreas Eversberg a698197188 Add conference mixing to LCR's internal bridge
Bride allow now to forward between two paries or mix between three to N
parties.
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 5b3a112115 Correctly control brige in case of mISDN
If all ends in a call use mISDN, the bridging is done by mISDN itself.
If one end of a call is not mISDN and there are two parties, the
traffic is bridged via LCR.
2012-01-20 08:56:51 +01:00
Andreas Eversberg ef0eddbfec Fixed 'earlyb' handling
mISDN-TE ports receive audio patterns by default again.
2012-01-19 09:14:58 +01:00
Andreas Eversberg 74a7fe54a8 Adding simple bridge application to forward calls without PBX app.
Call received on an interface can directly be forwarded to a given
destination interface, instead of routing the call through PBX
application. This way calls can be forwarded without going through
route.conf.

Currently only SIP and GSM destinations are supported. Also there
are no tones generated, if one side provides no tones, but the
other wants to receive them.

The keyword "bridge <output interface>" in interface.conf is used.
Without that keyword, incomming calls are handled as usual.
2012-01-16 09:14:22 +01:00
Andreas Eversberg 877a2dfd52 Adding bridge between protocol handlers (ports)
This is required to bridge traffic beween non-mISDN handlers,
such as GSM, SIP and voice box. Also it bridges traffic between
mISDN handlers and non-mISDN handlers. It is the fundamental step
to get rid of mISDN (loop interface) for non-mISDN handlers.
This is required to bridge audio e.g. between SIP and GSM without
using mISDN. There will be no limitations on 'b-channels' anymore.

Still GSM and SIP requires mISDN, but this will be changed later.

With that bridge I cleaned up some code and also removed the
MESSAGE_DATA, which is not required anymore.
2012-01-14 18:36:26 +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 1da71caff9 A fix belonging to the last commit.
modified:   joinpbx.cpp
2009-12-25 14:53:09 +01:00
Andreas Eversberg a45be9ac6f Fixed some minor bug. Also fixed problem with double setup for internal extensions.
modified:   gsm.cpp
	modified:   joinpbx.cpp
	modified:   ss5.cpp
2009-12-25 14:38:42 +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 8e459a7c85 Fixed bad bug in joining calls. Please update, if you have changed to version 1.6.
modified:   README
	modified:   joinpbx.cpp
2009-09-06 21:49:53 +02:00
root 2188efe2cc New Version 1.6
Fix of conference release bug.
Calls can now be forwarded during alerting phase via "*3#".

	modified:   README
	modified:   apppbx.cpp
	modified:   configure
	modified:   configure.ac
	new file:   default/openbsc.cfg
	modified:   dss1.cpp
	modified:   gsm.cpp
	modified:   joinpbx.cpp
2009-09-06 15:36:36 +02: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
Karsten Keil 08aad9a8c5 Fix lot of warnings 2008-09-02 02:02:11 +02:00
Super User de8f81a69b make compile with gcc 4.* without warnings. (hopefully with all versions)
modified:   Makefile
	modified:   bchannel.c
	modified:   chan_lcr.h
	modified:   extension.c
	modified:   gentones.c
	modified:   genwave.c
	modified:   joinpbx.cpp
	modified:   tones.c
2008-07-29 19:00:12 +02:00
Super User d2b113f2c4 changed long to int (64 bit system's compatibilty) 2008-06-14 08:34:50 +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 012abb3e07 some minor fixes
modified:   dss1.cpp
	modified:   joinpbx.cpp
	modified:   mISDN.cpp
	modified:   port.cpp
	modified:   tones_american/joined.isdn
	modified:   tones_american/left.isdn
2008-05-12 18:35:48 +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 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 c01315204b some small conference jingle fixes
changed description of interface in settings.
2007-10-01 09:54:51 +02:00
Super User b2d271bef8 fixed multiplexing bug at NT-mode.
this means: multiple telephones now work together on same bus.
2007-09-22 09:28:26 +02:00
Super User 78f7f22944 fixes for some join-object-release problems 2007-09-15 10:40:29 +02:00
Super User 541572c18c added partyline join and leave jingle option 2007-09-10 14:32:59 +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 f1eb0ea3cc fixed partyline-conference handling 2007-08-24 08:39:42 +02:00
Super User cbe9d412a3 added exporting/importing bchannel stacks to the remote application 2007-08-11 15:57:58 +02:00
Super User 54d34cda7a fixed crash when receiving notify messages
some other fixes
start adding new mISDN api.
2007-07-31 07:34:18 +02:00
Super User b078c8a771 beta phase is reached
fixed multiplexing for calls to multiple extensions
2007-07-29 11:17:29 +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