lcr.git
15 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

15 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.

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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!

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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.

15 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.

15 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

15 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

15 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"

15 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

15 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.

15 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

15 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

15 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

15 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 :)

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

modified:   Makefile.in

15 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

15 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

15 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.

15 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

15 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

15 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

15 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

15 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

15 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

15 years agoFix missing argument
Karsten Keil [Wed, 3 Sep 2008 18:57:58 +0000 (20:57 +0200)]
Fix missing argument

open with O_CREATE need 3 args.

Signed-off-by: Karsten Keil <kkeil@suse.de>
15 years agoFix possible bufferoverflows
Karsten Keil [Wed, 3 Sep 2008 18:57:00 +0000 (20:57 +0200)]
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>
15 years agoFix lot of warnings
Karsten Keil [Tue, 2 Sep 2008 00:02:11 +0000 (02:02 +0200)]
Fix lot of warnings

15 years agoFix 64bit build
Karsten Keil [Mon, 1 Sep 2008 20:23:01 +0000 (22:23 +0200)]
Fix 64bit build

15 years agoAdded -fPIC to fix chan_lcr shared object.
Andreas Eversberg [Sat, 30 Aug 2008 06:55:34 +0000 (08:55 +0200)]
Added -fPIC to fix chan_lcr shared object.

modified:   Makefile

15 years agoLCR now runs as a user.
Andreas Eversberg [Sat, 30 Aug 2008 06:24:52 +0000 (08:24 +0200)]
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

15 years agoFix conversion string warnings, there are lot more like these.
Karsten Keil [Fri, 29 Aug 2008 11:13:03 +0000 (13:13 +0200)]
Fix conversion string warnings, there are lot more like these.

15 years agochan_lcr: fixed lcr_fixup (compare with chan_misdn for reference)
Peter Schlaile [Sat, 23 Aug 2008 07:56:19 +0000 (09:56 +0200)]
chan_lcr: fixed lcr_fixup (compare with chan_misdn for reference)

- oldast is totally unimportant
- we didn't unlock correctly

=> works now :)
Test case: open two lcr channels using a sip phone. Do a transfer between
them.

15 years agochan_lcr: fixed typo, that made rebuffer-mode request a parameter,
Peter Schlaile [Fri, 22 Aug 2008 18:09:33 +0000 (20:09 +0200)]
chan_lcr: fixed typo, that made rebuffer-mode request a parameter,
that isn't necessary... shame on me :)

15 years agochan_lcr: this fixes hanging with app_rxfax and a race condition
Peter Schlaile [Fri, 22 Aug 2008 18:08:43 +0000 (20:08 +0200)]
chan_lcr: this fixes hanging with app_rxfax and a race condition
in lcr_read

(lcr_read was hanging in locked-state forever, when no data was
available, making any further calls impossible.
Now we return a null-packet to asterisk)

Sidenode: you have to use lcr_config(r) to receive faxes correctly.
(app_rxfax seems to rely on 160-byte buffers)

15 years agoremoved debug code from last commit
Peter Schlaile [Thu, 21 Aug 2008 06:46:28 +0000 (08:46 +0200)]
removed debug code from last commit

15 years agochan_lcr: added missing memcpy to bchannel_transmit. HDLC data was not send at all!
Peter Schlaile [Thu, 21 Aug 2008 06:45:30 +0000 (08:45 +0200)]
chan_lcr: added missing memcpy to bchannel_transmit. HDLC data was not send at all!

15 years agomake LCR compile again with latest mISDNuser changes
schlaile [Tue, 12 Aug 2008 14:16:54 +0000 (16:16 +0200)]
make LCR compile again with latest mISDNuser changes

15 years agofixed audio preload of tones. this reduces the propability of audio gaps resulting...
Super User [Wed, 30 Jul 2008 17:35:28 +0000 (19:35 +0200)]
fixed audio preload of tones. this reduces the propability of audio gaps resulting in clicking noise. only if dsp clock and kernel clock shifts away, gaps will happen.

modified:   mISDN.cpp

15 years agomake compile with gcc 4.* without warnings. (hopefully with all versions)
Super User [Tue, 29 Jul 2008 17:00:12 +0000 (19:00 +0200)]
make compile with gcc 4.* without warnings. (hopefully with all versions)

modified:   Makefile
modified:   bchannel.c
modified:   chan_lcr.h
modified:   extension.c
modified:   gentones.c
modified:   genwave.c
modified:   joinpbx.cpp
modified:   tones.c

15 years agofixed problem with "Answer" after extension matches.
Super User [Sun, 27 Jul 2008 08:35:55 +0000 (10:35 +0200)]
fixed problem with "Answer" after extension matches.

some cleanups in the makefile.

modified:   Makefile
modified:   chan_lcr.c

15 years agoupdated README
Super User [Sat, 26 Jul 2008 15:44:01 +0000 (17:44 +0200)]
updated README

modified:   README

15 years agonow LCR features real HDLC bchannel mode.
Super User [Sat, 26 Jul 2008 15:42:16 +0000 (17:42 +0200)]
now LCR features real HDLC bchannel mode.
-> if initial caller uses pure data mode (or video), the bchannels for this call are handled in HDLC mode. (hardware/software briding is still applicable.)

modified:   apppbx.cpp
modified:   chan_lcr.c
modified:   dss1.cpp
modified:   dss1.h
modified:   lcradmin.c
modified:   lcrsocket.h
modified:   mISDN.cpp
modified:   mISDN.h
modified:   message.h
modified:   socket_server.c

15 years agomany fixes on HDLC issues
Super User [Sat, 26 Jul 2008 11:49:23 +0000 (13:49 +0200)]
many fixes on HDLC issues
many fixes on briding issues

-> briding will work with dsp and directly via chan_lcr
-> hdlc will work with dsp and directly with chan_lcr

modified:   bchannel.c
modified:   chan_lcr.c
modified:   chan_lcr.h

15 years agobearer capability fix.
Super User [Thu, 24 Jul 2008 17:40:09 +0000 (19:40 +0200)]
bearer capability fix.

modified:   chan_lcr.c

15 years agofixed overlap dialing problem:
Super User [Thu, 24 Jul 2008 17:19:56 +0000 (19:19 +0200)]
fixed overlap dialing problem:
-> YES, you may now overlap dial through asterisk

fixed answering call when bridging, because asterisk will not call lcr_answer when bridging.

modified:   chan_lcr.c

15 years agofixed trace bug
Super User [Thu, 24 Jul 2008 16:24:20 +0000 (18:24 +0200)]
fixed trace bug
added ast_setstate after pbx_start()
modified:   chan_lcr.c
modified:   mISDN.cpp
modified:   trace.h

15 years agomade lcr_read read frames in 160 bytes packets in rebuffer mode
schlaile [Tue, 22 Jul 2008 18:46:16 +0000 (20:46 +0200)]
made lcr_read read frames in 160 bytes packets in rebuffer mode

15 years agorebuffer option for chan_lcr (160 bytes per frame)
schlaile [Sun, 20 Jul 2008 17:33:28 +0000 (19:33 +0200)]
rebuffer option for chan_lcr (160 bytes per frame)

l1-link state "unknown" if not known yet.

removed root user check.

modified:   bchannel.c
modified:   bchannel.h
modified:   chan_lcr.c
modified:   chan_lcr.h
modified:   dss1.cpp
modified:   lcradmin.c
modified:   mISDN.cpp
modified:   main.c

15 years agoremoved "lcr query", use "isdninfo" instead.
Super User [Fri, 18 Jul 2008 17:26:32 +0000 (19:26 +0200)]
removed "lcr query", use "isdninfo" instead.

fixed some unlocking in chan_lcr.

fixed dead-lock issue with chan_lcr.

modified:   README
modified:   chan_lcr.c
modified:   chan_lcr.h
modified:   mISDN.cpp
modified:   mISDN.h
modified:   main.c

15 years agoported genrc
Super User [Sat, 12 Jul 2008 17:07:52 +0000 (19:07 +0200)]
ported genrc

modified:   genrc.c

15 years agomust send "proceeding" instead of "setup_acknowledge", in case the number
Super User [Tue, 8 Jul 2008 19:46:35 +0000 (21:46 +0200)]
must send "proceeding" instead of "setup_acknowledge", in case the number
in the setup-message has "sending complete" element. otherwhise it is a
protocol error.

Christian: you must also consider it in chan_mISDN.

fixed channel hunting bug. (hope so)

modified:   README
modified:   dss1.cpp

15 years agoadded more display info
Super User [Thu, 3 Jul 2008 17:08:37 +0000 (19:08 +0200)]
added more display info
fixed dtmf detection bug

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

15 years agodisabled overlap dialing and dtmf digit forwarding, due to bug.
Super User [Sat, 28 Jun 2008 08:13:20 +0000 (10:13 +0200)]
disabled overlap dialing and dtmf digit forwarding, due to bug.

modified:   chan_lcr.c

15 years agodon't treat it as a fatal socket error, when chan_lcr sends messages to an already...
schlaile [Mon, 23 Jun 2008 17:50:46 +0000 (19:50 +0200)]
don't treat it as a fatal socket error, when chan_lcr sends messages to an already released B-channel

15 years agominor fixes
Super User [Fri, 20 Jun 2008 06:27:26 +0000 (08:27 +0200)]
minor fixes

modified:   mISDN.h
modified:   route.c

15 years agofixed call-ref-bug that caused b-channels to fail after 256 call instances.
Super User [Wed, 18 Jun 2008 06:50:46 +0000 (08:50 +0200)]
fixed call-ref-bug that caused b-channels to fail after 256 call instances.

modified:   mISDN.h

15 years agono functional change:
Super User [Tue, 17 Jun 2008 19:13:22 +0000 (21:13 +0200)]
no functional change:
renamed 'handle' to 'sock' in some functions, because it is not the channel's handle, it's the socket

modified:   bchannel.c
modified:   chan_lcr.c

15 years agofixed socket handling
Super User [Tue, 17 Jun 2008 10:41:10 +0000 (12:41 +0200)]
fixed socket handling

modified:   bchannel.c

15 years agofixed bchannel create
Super User [Mon, 16 Jun 2008 20:13:39 +0000 (22:13 +0200)]
fixed bchannel create

modified:   chan_lcr.c

15 years agowork, overlap dialing to chan_lcr doesn't work, so do en-bloc dialing until it is...
Super User [Sun, 15 Jun 2008 15:22:25 +0000 (17:22 +0200)]
work, overlap dialing to chan_lcr doesn't work, so do en-bloc dialing until it is fixed.

modified:   chan_lcr.c

15 years agolayer 2 establish and release improvements
Super User [Sun, 15 Jun 2008 12:38:35 +0000 (14:38 +0200)]
layer 2 establish and release improvements
modified:   mISDN.cpp

15 years agofixed dialing bug to remote application
Super User [Sun, 15 Jun 2008 12:29:09 +0000 (14:29 +0200)]
fixed dialing bug to remote application

modified:   action.cpp
modified:   apppbx.cpp
modified:   chan_lcr.c
modified:   mISDN.cpp

15 years agochan_lcr: in lcr_in_information: information.id already contains the
schlaile [Sat, 14 Jun 2008 18:51:34 +0000 (20:51 +0200)]
chan_lcr: in lcr_in_information: information.id already contains the
completely assembled extension, so strncpy is more appropriate :)

15 years agomade callerid handling work in call from asterisk
schlaile [Sat, 14 Jun 2008 18:21:14 +0000 (20:21 +0200)]
made callerid handling work in call from asterisk
(Asterisk 1.4.18 at least changes cid records between call and setup ...)
fixed Makefile (emacs kept complaining :) )

15 years agochanged long to int (64 bit system's compatibilty)
Super User [Sat, 14 Jun 2008 06:34:50 +0000 (08:34 +0200)]
changed long to int (64 bit system's compatibilty)

15 years agofixed dialing-bug when dialing chan_lcr
Super User [Sat, 7 Jun 2008 18:32:12 +0000 (20:32 +0200)]
fixed dialing-bug when dialing chan_lcr

modified:   action.cpp
modified:   apppbx.h
modified:   configure.ac

15 years agowork
Super User [Sat, 7 Jun 2008 10:00:54 +0000 (12:00 +0200)]
work

15 years ago*** CHAN_LCR is complete! ***
Super User [Sat, 7 Jun 2008 09:49:28 +0000 (11:49 +0200)]
*** CHAN_LCR is complete! ***

(not every detail tested yet)

modified:   bchannel.c
modified:   bchannel.h
modified:   chan_lcr.c
modified:   chan_lcr.h
modified:   mISDN.cpp

15 years agofree bchannels on broken pipe of remote application
Super User [Fri, 6 Jun 2008 17:15:14 +0000 (19:15 +0200)]
free bchannels on broken pipe of remote application
work

modified:   chan_lcr.c
modified:   mISDN.cpp
modified:   mISDN.h
modified:   socket_server.c

15 years agoadded Moh for HOLD/UNHOLD and app_lcr_config
Christian Richter [Fri, 6 Jun 2008 13:33:49 +0000 (15:33 +0200)]
added Moh for HOLD/UNHOLD and app_lcr_config

15 years agowork on chan_lcr: bridging works, interface selection possible
Super User [Fri, 6 Jun 2008 13:18:59 +0000 (15:18 +0200)]
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

15 years agofixed bad bug in opening bchannel
Super User [Wed, 4 Jun 2008 16:09:43 +0000 (18:09 +0200)]
fixed bad bug in opening bchannel

modified:   Makefile
modified:   bchannel.c

15 years agocall instance is created when lcr_call is called, no we can be sure that ast thread...
Super User [Mon, 2 Jun 2008 16:13:45 +0000 (18:13 +0200)]
call instance is created when lcr_call is called, no we can be sure that ast thread is running.

modified:   chan_lcr.c

15 years agoLCR is now uses socket based mISDN V2 API
Super User [Sun, 1 Jun 2008 16:52:10 +0000 (18:52 +0200)]
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

15 years agowork
Super User [Tue, 27 May 2008 07:56:35 +0000 (09:56 +0200)]
work
modified:   bchannel.c

15 years agofix and work
Super User [Sun, 25 May 2008 14:12:20 +0000 (16:12 +0200)]
fix and work
modified:   Makefile
modified:   action.cpp
modified:   bchannel.c
modified:   chan_lcr.c
modified:   extension.h
modified:   joinpbx.cpp
modified:   mISDN.cpp
modified:   message.h

15 years agowork
Super User [Tue, 20 May 2008 05:00:59 +0000 (07:00 +0200)]
work

modified:   Makefile

15 years agowork
Super User [Mon, 19 May 2008 20:07:40 +0000 (22:07 +0200)]
work