Commit Graph

217 Commits

Author SHA1 Message Date
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 7239f7e28e Applied changes of OpenBSC main branch. LCR now works with OpenBSC main branch.
modified:   README
	modified:   bootstrap.c
	modified:   bootstrap.h
	modified:   gsm.cpp
	modified:   gsm.h
	modified:   gsm_conf.c
	modified:   mISDN.cpp
2009-06-28 17:29:07 +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 063d622d53 Fixed disabling of DTMF using 'n' option of chan_lcr.
Please enter the commit message for your changes.
	modified:   README
	modified:   apppbx.cpp
	modified:   bchannel.c
	modified:   chan_lcr.c
	modified:   chan_lcr.h
2009-05-21 19:11:39 +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 64143650bc Applied patch by Daniel: "execute"-action can now be performed on call init or on call hangup. A special parameter allows that.
-> Forking of executed program is now performed without getting zombie process.

	modified:   README
	modified:   action.cpp
	modified:   apppbx.h
	modified:   route.c
	modified:   route.h
2009-04-06 20:20:09 +02:00
Andreas Eversberg 7e2b25feda Mini-Fix: don't read settings, where not required. 2009-04-05 13:22:32 +02:00
Andreas Eversberg a425aedc1e Added display of current active TEI values (L2) at lcradmin.
modified:   README
	modified:   lcradmin.c
	modified:   lcrsocket.h
	modified:   mISDN.cpp
	modified:   mISDN.h
	modified:   socket_server.c
2009-04-05 12:52:24 +02:00
Andreas Eversberg ebdd133f07 Added PROGRESS indication in both directions, so early audio is possible.
-> Tones and announcements shall be forwarded.

	modified:   README
	modified:   chan_lcr.c
	modified:   chan_lcr.h
2009-03-29 16:50:25 +02:00
Andreas Eversberg 14a1adb4fc chan_lcr: fixed compile problems with newer versions of asterisk 2009-03-29 13:09:59 +02:00
Andreas Eversberg 57549529c8 Added layer1 hold feature. Requires new mISDN and mISDNuser package from git.
modified:   README
	modified:   interface.c
	modified:   interface.h
	modified:   lcradmin.c
	modified:   lcrsocket.h
	modified:   mISDN.cpp
	modified:   mISDN.h
	modified:   socket_server.c
2009-03-20 20:46:25 +01:00
Andreas Eversberg 2debf08535 Added Notify to NT-mode.
modified:   README
	modified:   dss1.cpp
	modified:   dss1.h
	modified:   mISDN.cpp
	modified:   trace.h
2009-03-20 18:47:31 +01:00
Andreas Eversberg b2f6c87b1b Check if pid file did not open.
modified:   main.c
2009-03-15 10:19:45 +01:00
Andreas Eversberg 127751f3c1 Fixed dtmf detection of A-D. (thanx to Ralf)
modified:   README
	modified:   chan_lcr.c
2009-03-15 10:15:23 +01:00
Andreas Eversberg ea4c98fc11 Bugfix on timeout rules. (thanx to Benjamin)
modified:   README
	modified:   action.cpp
2009-03-15 09:44:24 +01:00
Andreas Eversberg 57ca16397c Added Callweaver support. (thanx to Kristijan)
modified:   README
	modified:   bchannel.c
	modified:   chan_lcr.c
2009-03-15 09:31:23 +01:00
Andreas Eversberg c6a9035ac6 Added PID file (thanx to Joerg)
modified:   README
	modified:   main.c
2009-03-15 09:20:20 +01:00
Andreas Eversberg 68eab06823 Bugfix on interface reload.
modified:   README
	modified:   interface.c
2009-03-14 16:59:45 +01:00
Peter Schlaile adc5448774 simplified rebuffer-mode to make large block sizes work better
Thanks to Kristijan Vrban for the patch!
2009-03-09 09:25:26 +01:00
Peter Schlaile da0d507518 added documentation for re-buffer option 2009-03-02 11:46:05 +01:00
Andreas Eversberg 7476048ba3 New release 1.4
modified:   README
	modified:   chan_lcr.c
	modified:   configure
	modified:   configure.ac
2009-03-01 20:03:32 +01:00
Andreas Eversberg ce266f45f3 Added fax detection patch by gregory.
modified:   README
	modified:   chan_lcr.c
	modified:   chan_lcr.h
2009-02-15 14:33:22 +01:00
Andreas Eversberg aaf6f200d7 Added alerting and proceeding to the goto rule.
modified:   README
	modified:   route.c
2009-02-15 11:41:41 +01: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 53b5521b34 fixed end-pointer bug on forwarded messages. thanx to bodo for this bugfix.
modified:   message.c
2009-01-06 18:44:41 +01:00
Andreas Eversberg f8cbd5d6f1 added capabilites to lcr channel driver to fix some codec problems. thanx to gregor for this patch!
modified:   chan_lcr.c
2009-01-06 18:37:02 +01:00
Andreas Eversberg bf61575a94 changed error message a bit...
added support for asterisk 1.6. it now compiles with both 1.4 and 1.6. (tested with 1.4 only) thanx to gregor for his valuable help!

	modified:   bchannel.c
	modified:   chan_lcr.c
	modified:   config.h.in
	modified:   configure
	modified:   configure.ac
	modified:   lcradmin.c
	modified:   main.c
2009-01-06 18:34:05 +01:00
Andreas Eversberg efc550418c Added processing of second caller id.
New routing macht rule to filter second caller id.

Fixed extensions directory path.

"make clean" now cleans ".po" files.

Fixed unititialized variable bugs and compiler warnings.

	modified:   Makefile.am
	modified:   Makefile.in
	modified:   action.cpp
	modified:   apppbx.cpp
	modified:   callerid.c
	modified:   chan_lcr.c
	modified:   dss1.cpp
	modified:   dss1.h
	modified:   extension.c
	modified:   gentones.c
	modified:   ie.cpp
	modified:   mISDN.cpp
	modified:   message.h
	modified:   port.cpp
	modified:   route.c
	modified:   route.h
	modified:   socket_server.c
	modified:   tones.c
	modified:   trace.c
2008-11-04 09:31:09 +01:00
Andreas Eversberg 2b8b9508c6 Merge branch 'master' of ssh://jolly@www.mISDN.org/var/git/lcr 2008-10-27 23:51:03 +01:00
Andreas Eversberg 8455b2dd9d added "lcradmin portinfo" for 'ifconfig' like port informations at run time.
modified:   lcradmin.c
2008-10-27 23:50:45 +01:00
Peter Schlaile c37c79c76b chan_lcr: fixed SRCUPDATE
Asterisk 1.4.21 already has source update, so let's check for it by
ifdef again.
2008-10-25 19:02:14 +02:00
Peter Schlaile 6c4b239a3a chan_lcr: Fixed automagic 's' extension and made pickup work.
Last commit by Andreas changed matching semantics to make it possible
to go directly into the dialplan _without_ dialing any digits by implicitly
dialing the 's' extension.

That is fine, if there is one to match :)

If we do not find an implicit 's' extension, we will wait for more digits
instead of hanging up immediately. (If you _really_ depended on that 'feature'
please add s => { Hangup(); } :)

Pickup: the pickup application can be used with PICKUPMARK to match
a channel, that is in RINGING state. Unfortunately, one has to explicitly
use ast_setstate() in addition to ast_queue_event() to convince asterisk
to change the channel state...

=> Pickup works now.
2008-10-25 18:44:31 +02:00
Andreas Eversberg 122a9b2329 added chan_lcr and Makefile.am fixes by Matthias
minor improvements for lcradmin

	modified:   Makefile.am
	modified:   Makefile.in
	modified:   chan_lcr.c
	modified:   configure
	modified:   configure.ac
	modified:   lcradmin.c
2008-10-23 21:26:44 +02:00
Andreas Eversberg 8033d9a61a now chan_lcr.so is moved to asterisk' modules directory when installing.
modified:   Makefile.am
	modified:   Makefile.in
	modified:   autogen.sh
2008-10-11 08:51:38 +02:00
Peter Schlaile c04c3f61ac chan_lcr: fixed some "bridging typos" 2008-10-09 20:51:00 +02:00
Peter Schlaile ba7a15918a Merge branch 'master' of ssh://schlaile@git.misdn.org/var/git/lcr 2008-10-09 20:31:40 +02:00
Peter Schlaile fab0ad70c7 added inband dtmf support to chan_lcr
Use option 's' in lcr_config or within the dial-command options,
just like in misdn.
2008-10-09 20:30:59 +02:00
Andreas Eversberg b519aa7e74 Completed documentation about instance creation/destruction proceedure.
modified:   chan_lcr.c
	modified:   chan_lcr.h
2008-09-28 17:37:56 +02:00
Peter Schlaile f9933186f3 chan_lcr: forgotten commit for new ref fix 2008-09-27 22:26:02 +02:00
Peter Schlaile 01c11f2ecf Merge branch 'master' of ssh://schlaile@git.misdn.org/var/git/lcr 2008-09-27 22:04:14 +02:00
Peter Schlaile 08f7138ac0 chan_lcr: fixed race condition in new ref assignment
LCR assumes, that any call in the list, that has ref set to 0 is waiting for a ref to be assigned.
That can cause trouble, if we have one call waiting for a ref to be assigned and another call
hanging in the list, that was just released in the same moment.

Both have ref == 0 and in some circumstances, the new ref message picks the wrong one for
assignment...

This patch makes chan_lcr distinguish between calls waiting for a new ref and those, that
only have their ref removed due to release. (It is not enough, to check for state, since
new calls can change into release state immediately! That is also one of the race conditions,
when this can get you into trouble: asterisk receives call1 by LCR, makes a SETUP call2 immediately
through LCR and then receives a release for call1 by LCR before call2 got it's ref assigned!)

This patch also removes some dead code, that was #ifdef'd out.

End user notice: if you ever got into the situation, that _all_ calls from asterisk to LCR got released
immediately and only a restart of asterisk got you out of the situation, then you might need
this fix :)
2008-09-27 22:03:44 +02:00
Andreas Eversberg 6b20d4b4eb updated autoconf
modified:   Makefile.in
2008-09-27 17:23:43 +02:00
Peter Schlaile 1d89e5aebc added options.c to automake, so that chan_lcr gets built correctly 2008-09-23 21:14:15 +02:00
Peter Schlaile ee848d3a9e Merge branch 'master' of ssh://schlaile@git.misdn.org/var/git/lcr 2008-09-22 20:43:33 +02:00
Peter Schlaile 3acba5ac9b work around broken HOLD/UNHOLD handling on some SIP phones
Some SIP phones don't send RETRIEVE before they send TRANSFER.
So we RETRIEVE if we bridge two channels, if calls are still on hold.

Also: handle CONTROL_SRCUPDATE with a debug message in recent
versions of asterisk.
2008-09-22 20:35:37 +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