lcr.git
10 years agoAdded 'polling' option to options.conf.
Andreas Eversberg [Wed, 17 Mar 2010 09:43:04 +0000 (10:43 +0100)]
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.

10 years agoFixed output problems of error messages while parsing options.conf / gsm.conf.
Andreas Eversberg [Wed, 17 Mar 2010 07:31:07 +0000 (08:31 +0100)]
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

10 years agoFixed includes to latest mISDNuser structures.
Andreas Eversberg [Thu, 11 Mar 2010 15:27:28 +0000 (16:27 +0100)]
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

10 years agoFixed compiler warnings when compiling with gcc 4.3.4.
Andreas Eversberg [Thu, 11 Mar 2010 13:07:20 +0000 (14:07 +0100)]
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

11 years agoregister_fd() bugfix.
Andreas Eversberg [Sat, 30 Jan 2010 10:59:07 +0000 (11:59 +0100)]
register_fd() bugfix.

11 years ago- Fixed HLC (higher layer capability) modification to LCR routing.
Andreas Eversberg [Sun, 24 Jan 2010 18:41:32 +0000 (19:41 +0100)]
- 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

11 years agoAdded queue buffer for chan_lcr sending faxes without interruption.
Andreas Eversberg [Sun, 24 Jan 2010 13:22:34 +0000 (14:22 +0100)]
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

11 years agoAdded "release" action and timeout to "execute" action.
Andreas Eversberg [Sat, 16 Jan 2010 10:42:46 +0000 (11:42 +0100)]
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

11 years ago new file: checkout-branch.sh
Andreas Eversberg [Sat, 16 Jan 2010 10:30:15 +0000 (11:30 +0100)]
new file:   checkout-branch.sh

11 years agoReplaced polling loop for LCR and chan_lcr with select based event loop.
Andreas Eversberg [Sat, 16 Jan 2010 10:20:23 +0000 (11:20 +0100)]
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.

11 years agoAdded new option to interface.conf: "nonotify" to disable notify messages.
Andreas Eversberg [Fri, 15 Jan 2010 20:55:25 +0000 (21:55 +0100)]
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

11 years agoNew version 1.7
Andreas Eversberg [Fri, 15 Jan 2010 20:50:35 +0000 (21:50 +0100)]
New version 1.7

modified:   Makefile.in
modified:   README
modified:   configure
modified:   configure.ac

11 years agoTest fix for lcr and dtmf.
Andreas Eversberg [Fri, 15 Jan 2010 20:28:33 +0000 (21:28 +0100)]
Test fix for lcr and dtmf.

modified:   chan_lcr.c

11 years agoHarald provided this patch to fix reload of interface.conf without segfault.
Andreas Eversberg [Mon, 4 Jan 2010 18:20:06 +0000 (19:20 +0100)]
Harald provided this patch to fix reload of interface.conf without segfault.

11 years agoNotifies are now received from GSM phones.
Andreas Eversberg [Mon, 4 Jan 2010 18:19:12 +0000 (19:19 +0100)]
Notifies are now received from GSM phones.

11 years agoHarald provided us with this fix for the current OpenBSC API.
Andreas Eversberg [Mon, 4 Jan 2010 18:17:27 +0000 (19:17 +0100)]
Harald provided us with this fix for the current OpenBSC API.

debug_target arg is required for debug parsing.

11 years agoCorrected debug values for GSM port type.
Andreas Eversberg [Mon, 4 Jan 2010 18:16:05 +0000 (19:16 +0100)]
Corrected debug values for GSM port type.

11 years agoFixed dialing of national or international number type. (Used for GSM)
Andreas Eversberg [Mon, 4 Jan 2010 18:13:40 +0000 (19:13 +0100)]
Fixed dialing of national or international number type. (Used for GSM)

11 years agoA fix belonging to the last commit.
Andreas Eversberg [Fri, 25 Dec 2009 13:53:09 +0000 (14:53 +0100)]
A fix belonging to the last commit.

modified:   joinpbx.cpp

11 years agoFixed some minor bug. Also fixed problem with double setup for internal extensions.
Andreas Eversberg [Fri, 25 Dec 2009 13:38:42 +0000 (14:38 +0100)]
Fixed some minor bug. Also fixed problem with double setup for internal extensions.

modified:   gsm.cpp
modified:   joinpbx.cpp
modified:   ss5.cpp

11 years agoMake LCR run with OpenBSC main branch.
Andreas Eversberg [Sun, 20 Dec 2009 21:12:01 +0000 (22:12 +0100)]
Make LCR run with OpenBSC main branch.

modified:   default/gsm.conf
modified:   gsm.cpp
modified:   gsm_conf.c

11 years agoMerge branch 'master' of ssh://jolly@www.mISDN.org/var/git/lcr
Andreas Eversberg [Sun, 20 Dec 2009 17:55:56 +0000 (18:55 +0100)]
Merge branch 'master' of ssh://jolly@mISDN.org/var/git/lcr

11 years agoMake LCR work with the current openbsc lcr_rtp branch. (soon merged with master branch)
Andreas Eversberg [Sun, 20 Dec 2009 17:55:03 +0000 (18:55 +0100)]
Make LCR work with the current openbsc lcr_rtp branch. (soon merged with master branch)

Minor fix in ss5.cpp.

11 years agoAdded protection against false tone detection.
Andreas Eversberg [Sun, 13 Dec 2009 13:06:01 +0000 (14:06 +0100)]
Added protection against false tone detection.

modified:   ss5.cpp
modified:   ss5.h

11 years agoAdded keypad forwarding, keypad parameter, chan_lcr keypad option 'k'.
Andreas Eversberg [Tue, 27 Oct 2009 07:02:16 +0000 (08:02 +0100)]
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

11 years agoMerge branch 'master' of ssh://jolly@www.mISDN.org/var/git/lcr
Andreas Eversberg [Tue, 27 Oct 2009 06:56:59 +0000 (07:56 +0100)]
Merge branch 'master' of ssh://jolly@mISDN.org/var/git/lcr

Conflicts:
README

11 years agoFixes and improves parsing of config file.
Andreas Eversberg [Tue, 27 Oct 2009 06:53:27 +0000 (07:53 +0100)]
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

11 years agoadded owner / group options to options.conf
Peter Schlaile [Thu, 8 Oct 2009 08:36:06 +0000 (10:36 +0200)]
added owner / group options to options.conf
makes the usual setup LCR running as "root" and asterisk running as "asterisk"
easier to configure.

11 years agoDon't detect tones for SS5, if the minimum noise level is not reached.
Andreas Eversberg [Wed, 7 Oct 2009 16:52:04 +0000 (18:52 +0200)]
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

11 years agoMerge branch 'master' of ssh://jolly@www.mISDN.org/var/git/lcr
Andreas Eversberg [Wed, 7 Oct 2009 16:51:54 +0000 (18:51 +0200)]
Merge branch 'master' of ssh://jolly@mISDN.org/var/git/lcr

11 years agoDon't send busy tone after clear-back (ss5).
Andreas Eversberg [Wed, 7 Oct 2009 16:47:53 +0000 (18:47 +0200)]
Don't send busy tone after clear-back (ss5).

modified:   ss5.cpp

11 years agoFirst import of debian subdir
Joerg Dorchain [Sat, 3 Oct 2009 08:37:00 +0000 (10:37 +0200)]
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

11 years agoFixed minor release BUG in SS5. Added comfort noise.
Andreas Eversberg [Wed, 30 Sep 2009 17:02:45 +0000 (19:02 +0200)]
Fixed minor release BUG in SS5. Added comfort noise.

modified:   ss5.cpp

11 years agoFixed detection of Code 11 (CCITT#5).
Andreas Eversberg [Wed, 30 Sep 2009 12:29:17 +0000 (14:29 +0200)]
Fixed detection of Code 11 (CCITT#5).

modified:   ss5.cpp
modified:   ss5_decode.c

11 years agoFixed bug when closing mISDN port.
Andreas Eversberg [Wed, 30 Sep 2009 12:23:23 +0000 (14:23 +0200)]
Fixed bug when closing mISDN port.

modified:   mISDN.cpp

11 years agoAdded support for signalling system no. 5.
Andreas Eversberg [Sat, 26 Sep 2009 11:20:29 +0000 (13:20 +0200)]
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

11 years agoSome minor corrections on default/interface.conf
Andreas Eversberg [Wed, 23 Sep 2009 08:14:02 +0000 (10:14 +0200)]
Some minor corrections on default/interface.conf

11 years agoAdded 'extern' flag to interface.conf.
Andreas Eversberg [Wed, 23 Sep 2009 08:07:00 +0000 (10:07 +0200)]
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

11 years agoFixed bad bug in joining calls. Please update, if you have changed to version 1.6.
Andreas Eversberg [Sun, 6 Sep 2009 19:49:53 +0000 (21:49 +0200)]
Fixed bad bug in joining calls. Please update, if you have changed to version 1.6.

modified:   README
modified:   joinpbx.cpp

11 years agoNew Version 1.6
root [Sun, 6 Sep 2009 13:36:36 +0000 (15:36 +0200)]
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

11 years agoMinor fix: chan_lcr will now go into RING state if remote channel is RINGING.
root [Fri, 4 Sep 2009 08:52:32 +0000 (10:52 +0200)]
Minor fix: chan_lcr will now go into RING state if remote channel is RINGING.

modified:   chan_lcr.c

11 years agoAdded patch by Kai Peter for completing screening indicator. Thanx for that!
root [Fri, 4 Sep 2009 08:26:10 +0000 (10:26 +0200)]
Added patch by Kai Peter for completing screening indicator. Thanx for that!

modified:   README
modified:   dss1.cpp
modified:   message.h

11 years agoLCR now compiles with current version of OpenBSC.
root [Sun, 23 Aug 2009 12:58:21 +0000 (14:58 +0200)]
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

11 years agoMinor fix in display facility.
root [Sat, 15 Aug 2009 20:13:02 +0000 (22:13 +0200)]
Minor fix in display facility.

modified:   dss1.cpp

11 years agoSource cleanup.
root [Sun, 5 Jul 2009 20:14:21 +0000 (22:14 +0200)]
Source cleanup.

modified:   bootstrap.c
modified:   cause.c
modified:   crypt.cpp
modified:   endpoint.cpp
modified:   genext.c
modified:   genrc.c
modified:   gentones.c
modified:   genwave.c
modified:   ie.cpp
modified:   join.cpp
modified:   joinpbx.cpp
modified:   joinremote.cpp
modified:   lcradmin.c
modified:   mail.c
modified:   main.c
modified:   message.c
modified:   route.c
modified:   socket_server.c
modified:   tones.c
modified:   trace.c
modified:   vbox.cpp

11 years agoChanged GSM api to current development tree of OpenBSC.
root [Sun, 5 Jul 2009 19:40:54 +0000 (21:40 +0200)]
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

11 years agoApplied changes of OpenBSC main branch. LCR now works with OpenBSC main branch.
root [Sun, 28 Jun 2009 15:29:07 +0000 (17:29 +0200)]
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

11 years agoAdded GSM IMSI dialing by using dialing "imsi-<number>".
root [Thu, 18 Jun 2009 08:06:31 +0000 (10:06 +0200)]
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

11 years agogsm improvements
Andreas Eversberg [Sat, 6 Jun 2009 21:46:21 +0000 (23:46 +0200)]
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

11 years agoFixed disabling of DTMF using 'n' option of chan_lcr.
Andreas Eversberg [Thu, 21 May 2009 17:11:39 +0000 (19:11 +0200)]
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

11 years agoOpenBSC API change.
Andreas Eversberg [Thu, 21 May 2009 11:24:38 +0000 (13:24 +0200)]
OpenBSC API change.

modified:   README
modified:   bootstrap.c
modified:   bootstrap.h
modified:   default/gsm.conf
modified:   gsm.cpp
modified:   gsm_conf.c

11 years ago- Debug option now works for GSM.
Andreas Eversberg [Sun, 17 May 2009 14:06:26 +0000 (16:06 +0200)]
- Debug option now works for GSM.
- Fixed some GSM information elements.

modified:   README
modified:   default/interface.conf
modified:   gsm.cpp

11 years agoRestructured tones_dir, added tones_dir to interface.conf
Andreas Eversberg [Thu, 14 May 2009 18:31:43 +0000 (20:31 +0200)]
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

11 years agoAdded GSM network support.
Andreas Eversberg [Mon, 11 May 2009 09:07:58 +0000 (11:07 +0200)]
Added GSM network support.

This turns LCR into a GSM mobile switching center.
More infos will follow.

11 years agoApplied patch by Daniel: "execute"-action can now be performed on call init or on...
Andreas Eversberg [Mon, 6 Apr 2009 18:20:09 +0000 (20:20 +0200)]
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

11 years agoMini-Fix: don't read settings, where not required.
Andreas Eversberg [Sun, 5 Apr 2009 11:22:32 +0000 (13:22 +0200)]
Mini-Fix: don't read settings, where not required.

11 years agoAdded display of current active TEI values (L2) at lcradmin.
Andreas Eversberg [Sun, 5 Apr 2009 10:52:24 +0000 (12:52 +0200)]
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

11 years agoAdded PROGRESS indication in both directions, so early audio is possible.
Andreas Eversberg [Sun, 29 Mar 2009 14:50:25 +0000 (16:50 +0200)]
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

11 years agochan_lcr: fixed compile problems with newer versions of asterisk
Andreas Eversberg [Sun, 29 Mar 2009 11:09:59 +0000 (13:09 +0200)]
chan_lcr: fixed compile problems with newer versions of asterisk

11 years agoAdded layer1 hold feature. Requires new mISDN and mISDNuser package from git.
Andreas Eversberg [Fri, 20 Mar 2009 19:46:25 +0000 (20:46 +0100)]
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

11 years agoAdded Notify to NT-mode.
Andreas Eversberg [Fri, 20 Mar 2009 17:47:31 +0000 (18:47 +0100)]
Added Notify to NT-mode.

modified:   README
modified:   dss1.cpp
modified:   dss1.h
modified:   mISDN.cpp
modified:   trace.h

11 years agoCheck if pid file did not open.
Andreas Eversberg [Sun, 15 Mar 2009 09:19:45 +0000 (10:19 +0100)]
Check if pid file did not open.

modified:   main.c

11 years agoFixed dtmf detection of A-D. (thanx to Ralf)
Andreas Eversberg [Sun, 15 Mar 2009 09:15:23 +0000 (10:15 +0100)]
Fixed dtmf detection of A-D. (thanx to Ralf)

modified:   README
modified:   chan_lcr.c

11 years agoBugfix on timeout rules. (thanx to Benjamin)
Andreas Eversberg [Sun, 15 Mar 2009 08:44:24 +0000 (09:44 +0100)]
Bugfix on timeout rules. (thanx to Benjamin)

modified:   README
modified:   action.cpp

11 years agoAdded Callweaver support. (thanx to Kristijan)
Andreas Eversberg [Sun, 15 Mar 2009 08:31:23 +0000 (09:31 +0100)]
Added Callweaver support. (thanx to Kristijan)

modified:   README
modified:   bchannel.c
modified:   chan_lcr.c

11 years agoAdded PID file (thanx to Joerg)
Andreas Eversberg [Sun, 15 Mar 2009 08:20:20 +0000 (09:20 +0100)]
Added PID file (thanx to Joerg)

modified:   README
modified:   main.c

11 years agoBugfix on interface reload.
Andreas Eversberg [Sat, 14 Mar 2009 15:59:45 +0000 (16:59 +0100)]
Bugfix on interface reload.

modified:   README
modified:   interface.c

12 years agosimplified rebuffer-mode to make large block sizes work better
Peter Schlaile [Mon, 9 Mar 2009 08:25:26 +0000 (09:25 +0100)]
simplified rebuffer-mode to make large block sizes work better

Thanks to Kristijan Vrban for the patch!

12 years agoadded documentation for re-buffer option
Peter Schlaile [Mon, 2 Mar 2009 10:46:05 +0000 (11:46 +0100)]
added documentation for re-buffer option

12 years agoNew release 1.4
Andreas Eversberg [Sun, 1 Mar 2009 19:03:32 +0000 (20:03 +0100)]
New release 1.4

modified:   README
modified:   chan_lcr.c
modified:   configure
modified:   configure.ac

12 years agoAdded fax detection patch by gregory.
Andreas Eversberg [Sun, 15 Feb 2009 13:33:22 +0000 (14:33 +0100)]
Added fax detection patch by gregory.

modified:   README
modified:   chan_lcr.c
modified:   chan_lcr.h

12 years agoAdded alerting and proceeding to the goto rule.
Andreas Eversberg [Sun, 15 Feb 2009 10:41:41 +0000 (11:41 +0100)]
Added alerting and proceeding to the goto rule.

modified:   README
modified:   route.c

12 years agochan_lcr hopefully now compiles against SVN version of asterisk.
Andreas Eversberg [Sun, 15 Feb 2009 08:04:14 +0000 (09:04 +0100)]
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

12 years agofixed end-pointer bug on forwarded messages. thanx to bodo for this bugfix.
Andreas Eversberg [Tue, 6 Jan 2009 17:44:41 +0000 (18:44 +0100)]
fixed end-pointer bug on forwarded messages. thanx to bodo for this bugfix.

modified:   message.c

12 years agoadded capabilites to lcr channel driver to fix some codec problems. thanx to gregor...
Andreas Eversberg [Tue, 6 Jan 2009 17:37:02 +0000 (18:37 +0100)]
added capabilites to lcr channel driver to fix some codec problems. thanx to gregor for this patch!

modified:   chan_lcr.c

12 years agochanged error message a bit...
Andreas Eversberg [Tue, 6 Jan 2009 17:34:05 +0000 (18:34 +0100)]
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

12 years agoAdded processing of second caller id.
Andreas Eversberg [Tue, 4 Nov 2008 08:31:09 +0000 (09:31 +0100)]
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

12 years agoMerge branch 'master' of ssh://jolly@www.mISDN.org/var/git/lcr
Andreas Eversberg [Mon, 27 Oct 2008 22:51:03 +0000 (23:51 +0100)]
Merge branch 'master' of ssh://jolly@mISDN.org/var/git/lcr

12 years agoadded "lcradmin portinfo" for 'ifconfig' like port informations at run time.
Andreas Eversberg [Mon, 27 Oct 2008 22:50:45 +0000 (23:50 +0100)]
added "lcradmin portinfo" for 'ifconfig' like port informations at run time.

modified:   lcradmin.c

12 years agochan_lcr: fixed SRCUPDATE
Peter Schlaile [Sat, 25 Oct 2008 17:02:14 +0000 (19:02 +0200)]
chan_lcr: fixed SRCUPDATE

Asterisk 1.4.21 already has source update, so let's check for it by
ifdef again.

12 years agochan_lcr: Fixed automagic 's' extension and made pickup work.
Peter Schlaile [Sat, 25 Oct 2008 16:44:31 +0000 (18:44 +0200)]
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.

12 years agoadded chan_lcr and Makefile.am fixes by Matthias
Andreas Eversberg [Thu, 23 Oct 2008 19:26:44 +0000 (21:26 +0200)]
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

12 years agonow chan_lcr.so is moved to asterisk' modules directory when installing.
Andreas Eversberg [Sat, 11 Oct 2008 06:51:38 +0000 (08:51 +0200)]
now chan_lcr.so is moved to asterisk' modules directory when installing.

modified:   Makefile.am
modified:   Makefile.in
modified:   autogen.sh

12 years agochan_lcr: fixed some "bridging typos"
Peter Schlaile [Thu, 9 Oct 2008 18:51:00 +0000 (20:51 +0200)]
chan_lcr: fixed some "bridging typos"

12 years agoMerge branch 'master' of ssh://schlaile@git.misdn.org/var/git/lcr
Peter Schlaile [Thu, 9 Oct 2008 18:31:40 +0000 (20:31 +0200)]
Merge branch 'master' of ssh://schlaile@git.misdn.org/var/git/lcr

12 years agoadded inband dtmf support to chan_lcr
Peter Schlaile [Thu, 9 Oct 2008 18:30:59 +0000 (20:30 +0200)]
added inband dtmf support to chan_lcr

Use option 's' in lcr_config or within the dial-command options,
just like in misdn.

12 years agoCompleted documentation about instance creation/destruction proceedure.
Andreas Eversberg [Sun, 28 Sep 2008 15:37:56 +0000 (17:37 +0200)]
Completed documentation about instance creation/destruction proceedure.

modified:   chan_lcr.c
modified:   chan_lcr.h

12 years agochan_lcr: forgotten commit for new ref fix
Peter Schlaile [Sat, 27 Sep 2008 20:26:02 +0000 (22:26 +0200)]
chan_lcr: forgotten commit for new ref fix

12 years agoMerge branch 'master' of ssh://schlaile@git.misdn.org/var/git/lcr
Peter Schlaile [Sat, 27 Sep 2008 20:04:14 +0000 (22:04 +0200)]
Merge branch 'master' of ssh://schlaile@git.misdn.org/var/git/lcr

12 years agochan_lcr: fixed race condition in new ref assignment
Peter Schlaile [Sat, 27 Sep 2008 20:03:44 +0000 (22:03 +0200)]
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 :)

12 years agoupdated autoconf
Andreas Eversberg [Sat, 27 Sep 2008 15:23:43 +0000 (17:23 +0200)]
updated autoconf

modified:   Makefile.in

12 years agoadded options.c to automake, so that chan_lcr gets built correctly
Peter Schlaile [Tue, 23 Sep 2008 19:14:15 +0000 (21:14 +0200)]
added options.c to automake, so that chan_lcr gets built correctly

12 years agoMerge branch 'master' of ssh://schlaile@git.misdn.org/var/git/lcr
Peter Schlaile [Mon, 22 Sep 2008 18:43:33 +0000 (20:43 +0200)]
Merge branch 'master' of ssh://schlaile@git.misdn.org/var/git/lcr

12 years agowork around broken HOLD/UNHOLD handling on some SIP phones
Peter Schlaile [Mon, 22 Sep 2008 18:35:37 +0000 (20:35 +0200)]
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.

12 years agoFinished autoconf.
Andreas Eversberg [Sun, 21 Sep 2008 06:57:51 +0000 (08:57 +0200)]
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

12 years agofixed some layer 2 link issues
Andreas Eversberg [Sun, 14 Sep 2008 12:37:51 +0000 (14:37 +0200)]
fixed some layer 2 link issues

modified:   README
modified:   apppbx.cpp
modified:   lcradmin.c
modified:   mISDN.cpp
modified:   route.c

12 years agoFixed trace bugs.
Andreas Eversberg [Sun, 14 Sep 2008 10:27:11 +0000 (12:27 +0200)]
Fixed trace bugs.

modified:   README
modified:   interface.c
modified:   lcradmin.c
modified:   mISDN.cpp
modified:   main.c
modified:   socket_server.c
modified:   trace.c
modified:   vbox.cpp

12 years agoCorrected error print, if mISDN_dsp.ko module cannot be loaded.
Andreas Eversberg [Fri, 12 Sep 2008 05:43:21 +0000 (07:43 +0200)]
Corrected error print, if mISDN_dsp.ko module cannot be loaded.
modified:   README
modified:   bchannel.c
modified:   mISDN.cpp
modified:   main.c

12 years agoPorts can now be specified by number or by name.
Andreas Eversberg [Sun, 7 Sep 2008 08:31:58 +0000 (10:31 +0200)]
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

12 years agochanged port attribute to "portnum".
Andreas Eversberg [Sat, 6 Sep 2008 11:59:48 +0000 (13:59 +0200)]
changed port attribute to "portnum".

modified:   bchannel.c
modified:   default/interface.conf
modified:   interface.c
modified:   mISDN.cpp
modified:   route.c