Commit Graph

22 Commits

Author SHA1 Message Date
Andreas Eversberg 7f0d14c706 Cleanup: Make interface name be part of Port class 2012-12-16 10:11:46 +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 e9c834b844 Various minor fixes 2012-01-13 05:18:49 +01:00
Andreas Eversberg 1e711b3a83 Fix of vbox announcing bug
Hi,

here's a simple patch that makes the announcement work again when using
the vbox in lcr.

Bodo
2010-09-20 08:22:13 +02: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
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 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 6f1ac87333 Fixed trace bugs.
modified:   README
	modified:   interface.c
	modified:   lcradmin.c
	modified:   mISDN.cpp
	modified:   main.c
	modified:   socket_server.c
	modified:   trace.c
	modified:   vbox.cpp
2008-09-14 12:27:11 +02:00
Karsten Keil 08aad9a8c5 Fix lot of warnings 2008-09-02 02:02:11 +02:00
Super User d2b113f2c4 changed long to int (64 bit system's compatibilty) 2008-06-14 08:34:50 +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 a0beafd25e fixes
trace of vbox
better beep after announcement
announcements without beep
recording of answering machine (vbox) works, as well as call recording.

	modified:   README
	modified:   action_vbox.cpp
	modified:   port.cpp
	modified:   port.h
	modified:   todo.txt
	modified:   vbox.cpp
2008-01-06 12:30:37 +01:00
Super User bf3c4d173a fixes & improvements
modified:   admin_client.c
	modified:   apppbx.cpp
	modified:   asterisk_client.c
	deleted:    default/h323_gateway.conf
	modified:   default/options.conf
	modified:   default/routing.conf
	modified:   dss1.cpp
	modified:   message.c
	modified:   todo.txt
	modified:   vbox.cpp
	modified:   vbox.h
2007-07-18 11:44:25 +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 996f984d61 backup 2007-05-23 11:19:25 +02:00
Super User a17752d887 backup 2007-05-19 19:45:42 +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