Commit Graph

37 Commits

Author SHA1 Message Date
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 863bc64219 Adding basic SIP support, using Sofia-SIP stack
This support is just a simple peer-to-peer support for basic calls.

Currently it requires mISDN_l1loop interface, as every non-ISDN
interface does. Later it will be possible to use it without.
2012-01-13 06:24:21 +01:00
Andreas Eversberg 3a8f58ec89 Adding interface support for remote app (chan_lcr).
chan_lcr can be handled as an interface. This way it is possible to (e.g.):
- make a SIP phone become an LCR extension with all LCR features.
- make conference calls. (untested)
- perform parallel ringing. (ISDN phone and SIP phones can ring in
  parallel.)
- do voice recoding.

It is still also possible to link chan_lcr directly without interface
(as before).

Documentation/howto for that will follow.
2010-12-13 09:22:49 +01:00
Andreas Eversberg f522af5539 Fixed API and incomming calls from Osmocom-BB.
Conflicts:

	Makefile.in
	configure
2010-07-21 12:12:23 +02:00
Andreas Eversberg a12d7eee22 Splitted GSM support into BS (network) and MS (mobile) part. 2010-05-31 18:45:02 +02:00
Andreas Eversberg c4fcb0668c Fixed includes to latest mISDNuser structures.
modified:   Makefile.am
	modified:   Makefile.in
	modified:   README
	modified:   bchannel.c
	modified:   dss1.cpp
	modified:   mISDN.cpp
	modified:   main.h
2010-03-11 16:27:28 +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 ee7da8a9d7 Corrected debug values for GSM port type. 2010-01-04 19:16:05 +01:00
Andreas Eversberg 323cbc387b Added support for signalling system no. 5.
More infos will follow on the isdn4linux mailing list.

	modified:   Makefile.am
	modified:   Makefile.in
	modified:   README
	modified:   apppbx.cpp
	modified:   configure
	modified:   configure.ac
	modified:   default/options.conf
	modified:   dss1.cpp
	modified:   ie.cpp
	modified:   interface.c
	modified:   interface.h
	modified:   lcradmin.c
	modified:   lcrsocket.h
	modified:   mISDN.cpp
	modified:   mISDN.h
	modified:   main.c
	modified:   main.h
	modified:   port.h
	modified:   socket_server.c
	new file:   ss5.cpp
	new file:   ss5.h
	new file:   ss5_decode.c
	new file:   ss5_decode.h
	new file:   ss5_encode.c
	new file:   ss5_encode.h
2009-09-26 13:20:29 +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 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 b2a665f8f1 Ports can now be specified by number or by name.
Names are shown in state-screen also.

	modified:   README
	modified:   default/interface.conf
	modified:   interface.c
	modified:   interface.h
	modified:   lcradmin.c
	modified:   lcrsocket.h
	modified:   mISDN.cpp
	modified:   mISDN.h
	modified:   main.h
	modified:   socket_server.c
2008-09-07 10:31:58 +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 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 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 da21ec0158 work on socket
modified:   bchannel.c
	modified:   dss1.cpp
	modified:   dss1.h
	modified:   mISDN.cpp
	modified:   mISDN.h
	modified:   main.c
	modified:   main.h
	modified:   q931.h
	modified:   trace.h
2008-04-12 18:24:31 +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 5ad4c41dc4 now gives warning if mISDN branch is wrong.
also some work on chan_lcr.

	modified:   Makefile
	modified:   apppbx.cpp
	modified:   bchannel.c
	modified:   chan_lcr.c
	modified:   chan_lcr.h
	modified:   dss1.cpp
	modified:   dss1.h
	modified:   extension.c
	modified:   extension.h
	modified:   genrc.c
	modified:   ie.cpp
	renamed:    admin_client.c -> lcradmin.c
	renamed:    admin.h -> lcrsocket.h
	modified:   mISDN.cpp
	modified:   main.h
	renamed:    admin_server.c -> socket_server.c
	renamed:    admin_server.h -> socket_server.h
	modified:   todo.txt
2008-02-03 13:47:33 +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 b1e6049694 new sounds for EFI
modified:   Makefile
	modified:   README
	modified:   action_efi.cpp
	modified:   main.h
	new file:   tones_efi/benutzerdefinierte.isdn
	modified:   tones_efi/die.isdn
	new file:   tones_efi/hello.isdn
	new file:   tones_efi/ich_wiederhole.isdn
	new file:   tones_efi/rufnummer_lautet.isdn
	new file:   tones_efi/unterdrueckte.isdn
2008-01-12 13:40:51 +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 704047acd3 clean up makefile 2007-08-29 19:05:37 +02:00
Super User ce197cab91 backup 2007-08-26 15:23:58 +02:00
Super User f1eb0ea3cc fixed partyline-conference handling 2007-08-24 08:39:42 +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 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 e9daaa4ef7 backup 2007-06-27 08:23:50 +02:00
Super User 9deb150f2b backup 2007-05-30 06:14:41 +02:00
Super User 1ace98e214 backup 2007-05-27 15:24:02 +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