Commit Graph

11 Commits

Author SHA1 Message Date
Andreas Eversberg cdca6a7135 Fixed usage of uninitialized memory, thax to valgrind 2017-10-31 06:16:09 +01:00
Andreas Eversberg a1c8b8d89f For DOV: Cast input of some string macros 2015-12-15 14:27:06 +01:00
Andreas Eversberg f854931ffb Adding negotiation of speech codecs between GSM and SIP when using rtp-bridge
Since LCR does not put hands on any RTP frame when directly bridged between
OpenBSC and SIP, it will now allow all speech codecs that are commonly supported
by MS and remote SIP endpoint.

It must be noted that OpenBSC must support forwarding the codec types that
MS and remote SIP endpoints support.

Currently LCR negotiates the following codecs for GSM:
- Full Rate
- EFR
- AMR
- Half Rate
2012-02-01 17:52:36 +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 b987a1bbbc Fixes and improves parsing of config file.
Last character of unterminated line was ignored.

Minor bug fix in 2600 Hz pulse dialing.

	modified:   README
	modified:   action_vbox.cpp
	modified:   crypt.cpp
	modified:   extension.c
	modified:   gsm_conf.c
	modified:   interface.c
	modified:   macro.h
	modified:   route.c
	modified:   ss5.cpp
	modified:   ss5.h
2009-10-27 07:53:27 +01:00
Karsten Keil 7740a62116 Fix possible bufferoverflows
strncat(dest,src,n)

The size of dest must  be  at least strlen(dest)+n+1.

Signed-off-by: Karsten Keil <kkeil@suse.de>
2008-09-03 20:57:00 +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 cbc232643c work on chan_lcr: bridging works, interface selection possible
modified:   Makefile
	modified:   apppbx.cpp
	modified:   apppbx.h
	modified:   bchannel.c
	modified:   bchannel.h
	modified:   chan_lcr.c
	modified:   chan_lcr.h
	modified:   dss1.cpp
	modified:   genext.c
	modified:   joinremote.cpp
	modified:   joinremote.h
	modified:   mISDN.cpp
	modified:   mISDN.h
	modified:   macro.h
	modified:   main.c
	modified:   message.h
	modified:   options.c
	modified:   options.h
	modified:   socket_server.c
2008-06-06 15:18:59 +02:00
Super User a54078ccf0 backup 2007-07-15 12:03:09 +02:00