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
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
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
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
baade79961
Test fix for lcr and dtmf.
...
modified: chan_lcr.c
2010-01-15 21:28:33 +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
root
b36acee45f
Minor fix: chan_lcr will now go into RING state if remote channel is RINGING.
...
modified: chan_lcr.c
2009-09-04 10:52:32 +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
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
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
57ca16397c
Added Callweaver support. (thanx to Kristijan)
...
modified: README
modified: bchannel.c
modified: chan_lcr.c
2009-03-15 09:31:23 +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
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
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
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
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
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
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
b1ab2b9ac1
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
2008-08-30 08:24:52 +02:00
Peter Schlaile
e496175482
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.
2008-08-23 09:56:19 +02:00
Peter Schlaile
5e274aa742
chan_lcr: fixed typo, that made rebuffer-mode request a parameter,
...
that isn't necessary... shame on me :)
2008-08-22 20:09:33 +02:00
Peter Schlaile
a9c1ce57ba
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)
2008-08-22 20:08:43 +02:00
Super User
2ac0ed4fc4
fixed problem with "Answer" after extension matches.
...
some cleanups in the makefile.
modified: Makefile
modified: chan_lcr.c
2008-07-27 10:35:55 +02:00
Super User
ff4d197d5e
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
2008-07-26 17:42:16 +02:00
Super User
f51147e028
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
2008-07-26 13:49:23 +02:00
Super User
e89c360405
bearer capability fix.
...
modified: chan_lcr.c
2008-07-24 19:40:09 +02:00
Super User
3d7276bc75
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
2008-07-24 19:19:56 +02:00
Super User
ab4a1270e9
fixed trace bug
...
added ast_setstate after pbx_start()
modified: chan_lcr.c
modified: mISDN.cpp
modified: trace.h
2008-07-24 18:24:20 +02:00
schlaile
45fdd28ad2
made lcr_read read frames in 160 bytes packets in rebuffer mode
2008-07-22 20:46:16 +02:00
schlaile
a114e74299
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
2008-07-20 19:33:28 +02:00
Super User
89d3a5de47
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
2008-07-18 19:26:32 +02:00
Super User
42c6bc9117
disabled overlap dialing and dtmf digit forwarding, due to bug.
...
modified: chan_lcr.c
2008-06-28 10:13:20 +02:00
Super User
aa47f028b4
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
2008-06-17 21:13:22 +02:00
Super User
badc91ad96
fixed bchannel create
...
modified: chan_lcr.c
2008-06-16 22:13:39 +02:00
Super User
2541bf8cd9
work, overlap dialing to chan_lcr doesn't work, so do en-bloc dialing until it is fixed.
...
modified: chan_lcr.c
2008-06-15 17:22:25 +02:00
Super User
609582c9ae
fixed dialing bug to remote application
...
modified: action.cpp
modified: apppbx.cpp
modified: chan_lcr.c
modified: mISDN.cpp
2008-06-15 14:29:09 +02:00
schlaile
dcc912f3e4
chan_lcr: in lcr_in_information: information.id already contains the
...
completely assembled extension, so strncpy is more appropriate :)
2008-06-14 20:51:34 +02:00
schlaile
0543086812
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 :) )
2008-06-14 20:21:14 +02:00
Super User
d2b113f2c4
changed long to int (64 bit system's compatibilty)
2008-06-14 08:34:50 +02:00
Super User
e4c0dbd73d
work
2008-06-07 12:00:54 +02:00
Super User
82e0281d1d
*** 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
2008-06-07 11:49:28 +02:00
Super User
7d16259958
free bchannels on broken pipe of remote application
...
work
modified: chan_lcr.c
modified: mISDN.cpp
modified: mISDN.h
modified: socket_server.c
2008-06-06 19:15:14 +02:00
Christian Richter
bdecaacae4
added Moh for HOLD/UNHOLD and app_lcr_config
2008-06-06 15:33:49 +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
4d34f40db1
call instance is created when lcr_call is called, no we can be sure that ast thread is running.
...
modified: chan_lcr.c
2008-06-02 18:13:45 +02:00
Super User
026b04fc75
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
2008-06-01 18:52:10 +02:00
Super User
44b6b77e68
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
2008-05-25 16:12:20 +02:00
Super User
f90bb28ba0
work
2008-05-19 22:07:40 +02:00
Super User
87a53c2ea1
work
...
modified: chan_lcr.c
2008-05-19 19:47:05 +02:00
Super User
153bf9b2f4
work on chan_lcr
2008-05-19 19:39:39 +02:00
Super User
58b134cb12
lcr work (soon done :)
...
modified: Makefile
modified: bchannel.c
modified: chan_lcr.c
modified: chan_lcr.h
modified: dss1.cpp
modified: todo.txt
2008-05-18 19:04:35 +02:00
Super User
95a9a7f135
work on chan_lcr
...
modified: action.cpp
modified: apppbx.cpp
modified: bchannel.c
modified: chan_lcr.c
modified: mISDN.cpp
modified: message.h
modified: route.c
modified: route.h
2008-05-18 09:23:10 +02:00
Super User
b93eda54f0
chan_lcr work
...
modified: bchannel.c
modified: bchannel.h
modified: chan_lcr.c
modified: chan_lcr.h
2008-05-01 20:07:02 +02:00
Super User
2fb748e1da
work on chan_lcr
...
modified: Makefile
modified: chan_lcr.c
modified: chan_lcr.h
2008-05-01 11:56:14 +02:00
Super User
0efcf371b4
work on chan_lcr
...
modified: Makefile
modified: action.cpp
modified: action_efi.cpp
modified: action_vbox.cpp
modified: apppbx.cpp
modified: apppbx.h
modified: bchannel.c
modified: bchannel.h
new file: callerid.c
new file: callerid.h
modified: chan_lcr.c
modified: chan_lcr.h
modified: crypt.cpp
modified: endpoint.cpp
modified: endpointapp.cpp
modified: interface.c
modified: join.cpp
modified: joinpbx.cpp
modified: joinremote.cpp
modified: mISDN.cpp
modified: mail.c
modified: main.h
modified: message.h
modified: port.cpp
modified: route.c
modified: route.h
modified: socket_server.c
modified: todo.txt
modified: vbox.cpp
modified: watch.c
2008-05-01 10:35:20 +02:00
Super User
81c485c126
work
...
modified: chan_lcr.c
2008-04-29 11:02:02 +02:00
Super User
cd8dc297eb
locking work
...
modified: chan_lcr.c
2008-04-29 10:00:44 +02:00
Super User
51050316ff
creation and termination of thread
...
modified: chan_lcr.c
2008-04-29 09:38:49 +02:00
Super User
0056c08524
locking
...
modified: chan_lcr.c
2008-04-29 08:33:06 +02:00
Super User
f94f30b0c5
Merge branch 'master' of ssh://jolly@www.mISDN.org/var/git/lcr
...
Conflicts:
chan_lcr.c
2008-04-28 19:34:33 +02:00
Super User
d70150d047
work on chan_lcr:
...
call instance and asterisk channel instance creation and destruction process
please read the comments on the top of chan_lcr.
modified: apppbx.cpp
modified: chan_lcr.c
modified: chan_lcr.h
modified: message.h
2008-04-28 19:29:06 +02:00
root
350450b9ca
chan_lcr has now a lcr_request function which should work basically, we only need the callref request mechanism here. We have also a lcr_ast_new function which produces an empty Asterisk channel object. The Call handler has now a pointer to the asterisk channel, the asterisk channel also holds a pointer to the Call handle, so they need to be created and destroyed together at the same time.
2008-04-26 12:25:01 +02:00
Super User
54be2dc45a
modified: Makefile
...
modified: chan_lcr.c
2008-04-26 10:37:31 +02:00
Super User
27b9519773
Merge branch 'master' of ssh://jolly@www.mISDN.org/var/git/lcr
...
Conflicts:
chan_lcr.c
2008-04-26 10:34:29 +02:00
root
8038fd190f
Merge branch 'master' of ssh://crich@git.misdn.org/var/git/lcr
2008-04-26 11:18:37 +02:00
root
4b75dfba31
chan_lcr.c compiles now, and the Makefile generates a .so instead of an executable.
2008-04-26 11:18:27 +02:00
Super User
55a263bc1e
modified: chan_lcr.c
...
modified: todo.txt
2008-04-26 10:32:30 +02:00
Super User
01c427aa46
work
...
modified: chan_lcr.c
modified: mISDN.cpp
modified: main.c
2008-04-24 19:35:55 +02:00
Super User
5ad4c41dc4
now gives warning if mISDN branch is wrong.
...
also some work on chan_lcr.
modified: Makefile
modified: apppbx.cpp
modified: bchannel.c
modified: chan_lcr.c
modified: chan_lcr.h
modified: dss1.cpp
modified: dss1.h
modified: extension.c
modified: extension.h
modified: genrc.c
modified: ie.cpp
renamed: admin_client.c -> lcradmin.c
renamed: admin.h -> lcrsocket.h
modified: mISDN.cpp
modified: main.h
renamed: admin_server.c -> socket_server.c
renamed: admin_server.h -> socket_server.h
modified: todo.txt
2008-02-03 13:47:33 +01:00
Super User
57c3ea7aa2
work on asterisk channel driver
...
modified: chan_lcr.c
2008-01-21 09:34:38 +01:00
Super User
1e80099635
work on asterisk channel driver
...
modified: Makefile
modified: bchannel.c
modified: bchannel.h
modified: chan_lcr.c
modified: extension.h
2008-01-19 18:44:26 +01:00
Super User
14f76f1e81
work on unfinished asterisk channel driver (bchannel handling)
...
modified: Makefile
modified: README
modified: action.cpp
modified: admin_server.c
modified: apppbx.cpp
modified: apppbx.h
new file: bchannel.c
new file: bchannel.h
renamed: asterisk_client.c -> chan_lcr.c
renamed: asterisk_client.h -> chan_lcr.h
deleted: channel.c
modified: dss1.cpp
modified: extension.c
modified: extension.h
modified: interface.c
modified: interface.h
modified: joinremote.cpp
modified: joinremote.h
modified: mISDN.cpp
modified: mISDN.h
modified: main.h
modified: message.h
modified: route.c
modified: todo.txt
2008-01-19 18:10:46 +01:00