Commit Graph

45 Commits

Author SHA1 Message Date
Andreas Eversberg 71e76fd9e0 Updated default config examples 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 3e1c6a9f43 [SIP] Allow setting local port for SIP interface 2012-05-20 17:45:56 +02:00
Andreas Eversberg 58afedec93 Allow setting IP:port for peers of SIP interfaces. 2012-02-18 09:50:43 +01:00
Andreas Eversberg 810c051a69 Minor fix in interface.conf example 2012-01-20 10:05:17 +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 011ef7a785 Checking for GSM codec to be installed at configure.
Also outputting what is supported and what not.
2011-09-07 08:05:11 +02:00
Andreas Eversberg 97aa0881be Support of GSM uses socket interface for both network and mobile
There is no linking of any osmocomBB source code required. In order
to use osmocomBB or OpenBSC, just enable the interface, as described
in defaults/interface.conf. At osmocomBB/mobile or at OpenBSC, just
use the option "-m" to enable the socket interface.

Enable GSM at LCR with "./configure --with-gsm-ms --with-gsm-bs".
2011-09-02 11:08:56 +02:00
Andreas Eversberg 132d639333 Make LCR compile with latest osmocomBB code.
Tested with sylvain/traffic branch.
2011-07-28 23:03:51 +02:00
Andreas Eversberg 34598a3464 [gsm] Make LCR work with current Osmocom-BB.
Osmocom-BB is still developed, and this only works with the jolly/voice
branch. Audio is not yet transmitted, so it is not quite usefull yet.
2011-02-26 16:49:21 +00:00
Andreas Eversberg d5e639588d [gsm] Removed obsolete gsm.conf handling. Fixed minor compiling issues. 2011-02-20 17:34:24 +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 a12d7eee22 Splitted GSM support into BS (network) and MS (mobile) part. 2010-05-31 18:45:02 +02:00
Andreas Eversberg 882882e0e2 Added 'polling' option to options.conf.
This is usefull to test if select loop causes problems and does not wake
when it is required. If lcr seems not to wake up, try using 'polling' to
disable select timer and use polling instead.
2010-03-17 10:43:04 +01:00
Andreas Eversberg ee7da8a9d7 Corrected debug values for GSM port type. 2010-01-04 19:16:05 +01:00
Andreas Eversberg bf2fefbfd5 Make LCR run with OpenBSC main branch.
modified:   default/gsm.conf
	modified:   gsm.cpp
	modified:   gsm_conf.c
2009-12-20 22:12:01 +01:00
Peter Schlaile 320159175a added owner / group options to options.conf
makes the usual setup LCR running as "root" and asterisk running as "asterisk"
easier to configure.
2009-10-08 10:36:06 +02: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 96124cb106 Some minor corrections on default/interface.conf 2009-09-23 10:14:02 +02:00
Andreas Eversberg feea42c7f7 Added 'extern' flag to interface.conf.
If no specific interface is given for the 'extern' rule in the
routing.conf, or if call is forwarded (settings), then only
interfaces marked with 'extern' flag are used.
You need to set this flag when upgrading to this version. See
default/interface.conf for hint.

	modified:   README
	modified:   apppbx.cpp
	modified:   default/interface.conf
	modified:   interface.c
	modified:   interface.h
2009-09-23 10:07:00 +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 cf1ea15cc3 LCR now compiles with current version of OpenBSC.
No more patch is required, just link openbsc directory to LCR source directory and run "configure":
cd lcr
ln -s path_to_openbsc/openbsc .

	modified:   Makefile.am
	modified:   Makefile.in
	deleted:    bootstrap.c
	deleted:    bootstrap.h
	modified:   configure
	modified:   configure.ac
	modified:   default/gsm.conf
	modified:   gsm.cpp
	modified:   gsm.h
	modified:   gsm_conf.c
2009-08-23 14:58:21 +02:00
root ffc0151b12 Changed GSM api to current development tree of OpenBSC.
Removed obsolete (never finisshed) installation wizzard.

	modified:   bootstrap.c
	modified:   default/gsm.conf
	deleted:    wizzard.c
2009-07-05 21:40:54 +02:00
root 4ec1520c57 Added GSM IMSI dialing by using dialing "imsi-<number>".
Applied API change of OpenBSC.

	modified:   Makefile.am
	modified:   Makefile.in
	modified:   README
	modified:   bootstrap.c
	modified:   default/gsm.conf
	modified:   dss1.cpp
	modified:   gsm.cpp
	modified:   gsm_audio.c
	modified:   gsm_conf.c
	modified:   interface.c
2009-06-18 10:06:31 +02: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 610b98487d OpenBSC API change.
modified:   README
	modified:   bootstrap.c
	modified:   bootstrap.h
	modified:   default/gsm.conf
	modified:   gsm.cpp
	modified:   gsm_conf.c
2009-05-21 13:24:38 +02:00
Andreas Eversberg 2490abbec4 - Debug option now works for GSM.
- Fixed some GSM information elements.

	modified:   README
	modified:   default/interface.conf
	modified:   gsm.cpp
2009-05-17 16:06:26 +02:00
Andreas Eversberg 6db34c1dca Restructured tones_dir, added tones_dir to interface.conf
Code cleanup..

	modified:   README
	modified:   apppbx.cpp
	modified:   default/interface.conf
	modified:   default/options.conf
	modified:   dss1.cpp
	modified:   extension.c
	modified:   gsm.cpp
	modified:   interface.c
	modified:   interface.h
	modified:   mISDN.cpp
	modified:   options.c
	modified:   options.h
	modified:   port.cpp
2009-05-14 20:31:43 +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 fb6e219eda chan_lcr hopefully now compiles against SVN version of asterisk.
Added limitation option for maximum dialed digits. If dial string exceeds
that limit, overlap-dialing is used to complete dial string.
Siemens EWSD (APS V16) only allows 20 digits at a time.

	modified:   README
	modified:   chan_lcr.c
	modified:   default/interface.conf
	modified:   dss1.cpp
	modified:   dss1.h
	modified:   ie.cpp
	modified:   interface.c
	modified:   interface.h
2009-02-15 09:04:14 +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 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
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
Andreas Eversberg b1ab2b9ac1 LCR now runs as a user.
You may change the path of socket and lock files.
LCR admin socket's flags can now be altered to allow access to other users.
Lock and socket files will now be removed when terminating LCR.

	modified:   Makefile
	modified:   chan_lcr.c
	modified:   default/options.conf
	modified:   lcradmin.c
	modified:   lcrsocket.h
	modified:   main.c
	modified:   options.c
	modified:   options.h
	modified:   socket_server.c
2008-08-30 08:24:52 +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 613b4e59ef fixed so, PRI/BRI NT/TE works
modified:   default/interface.conf
	modified:   dss1.cpp
	modified:   mISDN.cpp
	modified:   trace.c
	modified:   trace.h
2008-05-09 21:31:58 +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 31aff20175 moved timeout settings from extenion to interface.conf
modified:   README
	modified:   apppbx.cpp
	modified:   default/interface.conf
	modified:   dss1.cpp
	modified:   extension.c
	modified:   extension.h
	modified:   genext.c
	modified:   interface.c
	modified:   interface.h
	modified:   port.h
	modified:   todo.txt
2008-01-12 12:28:22 +01: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 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 701b046a45 unified socket application interface (for asterisk and maybe other apps)
bugfixes
2007-07-26 14:23:56 +02: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 2ed0fee489 only for backup, still in coding state - no compile!!! 2007-05-06 15:54:52 +02:00