Commit Graph

472 Commits

Author SHA1 Message Date
Andreas Eversberg b33d7b898d fix last remnant of "extern" vs. incorrect "external" confusion, correct spelling
Patch against current git.

Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2010-04-06 15:23:23 +02:00
Karsten Keil 31885f37d1 Add .gitignore
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2010-03-25 14:09:07 +01:00
Karsten Keil 2d76f6325a Revert "Add .gitignore"
Only .gitignore should be updated

This reverts commit 51655a1897.
2010-03-25 14:06:52 +01:00
Karsten Keil 51655a1897 Add .gitignore
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2010-03-25 14:04:08 +01:00
Andreas Eversberg 491b3c968a Just a small bug fix: Extension matching will be performed by extension's number, not by their name.
I really don't know why there is suddenly this bug. Earlier versions did this correctly.
2010-03-24 23:05:01 +01:00
Andreas Eversberg e960c8cb52 Bugreport by Christian:
gsm.cpp: In member function .void Pgsm::bchannel_send(unsigned int,
unsigned int, unsigned char*, int).:
gsm.cpp:249: error: overloaded function with no contextual type
information
make[1]: *** [gsm.o] Error 1

I hope that this will fix the compiler problem.
2010-03-23 09:42:54 +01:00
Andreas Eversberg 8bb49ccb7b Merge branch 'develop' 2010-03-18 09:18:27 +01:00
Andreas Eversberg ea95ae6367 Update of README 2010-03-18 09:17:34 +01:00
Andreas Eversberg e664caf22f Fix NULL pointer audio frame problem.
The problem occurred when IAX protocol sends silence frame.

Thanx to Peter for finding the problem and providing patch.
2010-03-18 09:13:38 +01: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 2732c3ce40 Fixed output problems of error messages while parsing options.conf / gsm.conf.
modified:   Makefile.in
	modified:   bchannel.c
	modified:   chan_lcr.c
	modified:   genext.c
	modified:   gsm.cpp
	modified:   gsm.h
	modified:   gsm_conf.c
	modified:   lcradmin.c
	modified:   main.c
	modified:   options.c
	modified:   options.h
2010-03-17 08:31:07 +01: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 0c65074b5b Fixed compiler warnings when compiling with gcc 4.3.4.
Fixed names of moved include files (OpenBSC).

	modified:   Makefile.am
	modified:   Makefile.in
	modified:   README
	modified:   chan_lcr.c
	modified:   configure
	modified:   configure.ac
	modified:   genrc.c
	modified:   gentones.c
	modified:   genwave.c
	modified:   gsm.cpp
	modified:   mISDN.cpp
	modified:   main.c
	modified:   port.cpp
	modified:   tones.c
	modified:   trace.c
2010-03-11 14:07:20 +01:00
Andreas Eversberg ce460a94e6 register_fd() bugfix. 2010-01-30 11:59:07 +01:00
Andreas Eversberg 8fb861ef9e - Fixed HLC (higher layer capability) modification to LCR routing.
- Fixed chan_lcr fax queue buffer. Added LCR_TRANSFERCAPABILITY environment.

-> use options "n:t:q250" for sending/receiving faxes with asterisk and chan_lcr.

	modified:   README
	modified:   action.cpp
	modified:   bchannel.c
	modified:   chan_lcr.c
	modified:   route.c
	modified:   route.h
2010-01-24 19:41:32 +01:00
Andreas Eversberg 34b17bad86 Added queue buffer for chan_lcr sending faxes without interruption.
Use options "t:q250" for disabling mISDN_dsp and adding a 250ms delay.

	modified:   README
	modified:   bchannel.c
	modified:   bchannel.h
	modified:   chan_lcr.c
	modified:   chan_lcr.h
	modified:   select.c
2010-01-24 14:22:34 +01:00
Andreas Eversberg 76c5d82d4c Added "release" action and timeout to "execute" action.
modified:   README
	modified:   action.cpp
	modified:   apppbx.cpp
	modified:   apppbx.h
	modified:   dss1.cpp
	modified:   mISDN.cpp
	modified:   message.h
	modified:   route.c
	modified:   route.h
	modified:   socket_server.c
2010-01-16 11:42:46 +01:00
Andreas Eversberg fa7af7ab19 new file: checkout-branch.sh 2010-01-16 11:32:36 +01:00
Andreas Eversberg 831c57a152 new file: checkout-branch.sh 2010-01-16 11:30:15 +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 473d6569ef Added new option to interface.conf: "nonotify" to disable notify messages.
modified:   README
	modified:   dss1.cpp
	modified:   interface.c
	modified:   interface.h
	modified:   mISDN.cpp
	modified:   mISDN.h
2010-01-15 21:55:25 +01:00
Andreas Eversberg 043714d9d4 New version 1.7
modified:   Makefile.in
	modified:   README
	modified:   configure
	modified:   configure.ac
2010-01-15 21:50:35 +01:00
Andreas Eversberg baade79961 Test fix for lcr and dtmf.
modified:   chan_lcr.c
2010-01-15 21:28:33 +01:00
Andreas Eversberg a555eb7b1a Harald provided this patch to fix reload of interface.conf without segfault. 2010-01-04 19:20:06 +01:00
Andreas Eversberg a7b3d18e62 Notifies are now received from GSM phones. 2010-01-04 19:19:12 +01:00
Andreas Eversberg eb47421a20 Harald provided us with this fix for the current OpenBSC API.
debug_target arg is required for debug parsing.
2010-01-04 19:17:27 +01:00
Andreas Eversberg ee7da8a9d7 Corrected debug values for GSM port type. 2010-01-04 19:16:05 +01:00
Andreas Eversberg a1fb92f493 Fixed dialing of national or international number type. (Used for GSM) 2010-01-04 19:13:40 +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 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
Andreas Eversberg 03cb33b51d Merge branch 'master' of ssh://jolly@www.mISDN.org/var/git/lcr 2009-12-20 18:55:56 +01:00
Andreas Eversberg ab670ecfdc Make LCR work with the current openbsc lcr_rtp branch. (soon merged with master branch)
Minor fix in ss5.cpp.
2009-12-20 18:55:03 +01:00
Andreas Eversberg 21b4f37123 Added protection against false tone detection.
modified:   ss5.cpp
	modified:   ss5.h
2009-12-13 14:06:01 +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 8994874d7b Merge branch 'master' of ssh://jolly@www.mISDN.org/var/git/lcr
Conflicts:
	README
2009-10-27 07:56:59 +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
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 e5d55b64f7 Don't detect tones for SS5, if the minimum noise level is not reached.
This reduces CPU load on idle channels.

	modified:   ss5_decode.c
2009-10-07 18:52:04 +02:00
Andreas Eversberg aa00648e23 Merge branch 'master' of ssh://jolly@www.mISDN.org/var/git/lcr 2009-10-07 18:51:54 +02:00
Andreas Eversberg 4dd3322f63 Don't send busy tone after clear-back (ss5).
modified:   ss5.cpp
2009-10-07 18:47:53 +02:00
Joerg Dorchain dc3f19ab84 First import of debian subdir
This adds the necessary stuff to just do a dpkg-buildpackage in
the source directory and get a debian package.

Todo:
- Get rid of the configure_warning patch
2009-10-03 10:37:00 +02:00
Andreas Eversberg 3e58475463 Fixed minor release BUG in SS5. Added comfort noise.
modified:   ss5.cpp
2009-09-30 19:02:45 +02:00
Andreas Eversberg 37ae90c325 Fixed detection of Code 11 (CCITT#5).
modified:   ss5.cpp
	modified:   ss5_decode.c
2009-09-30 14:29:17 +02:00
Andreas Eversberg 10ee69aef5 Fixed bug when closing mISDN port.
modified:   mISDN.cpp
2009-09-30 14:23:23 +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
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