Andreas Eversberg
b5d6f1c72b
Fix: Asterisk DTMF detection works now
...
To enable, use option "a".
-> for calls from LCR use lcr_config(a) in extensions.conf
-> for calls to LCR use Dial(LCR/pbx/<number>/a)
2012-12-16 10:10:34 +01:00
Andreas Eversberg
680147f78c
Fix: chan_lcr will suppress audio traffic until ref is received
...
If no ref is received from LCR, the traffic may not be sent to LCR.
2012-12-16 10:10:34 +01:00
Andreas Eversberg
fcc787b14d
chan_lcr: Disabled bridge, because there is no concept right now.
2012-12-16 10:10:34 +01:00
Andreas Eversberg
72dada9cd5
Removed obsolete definition of media_type2name() from sip.h
2012-12-16 10:10:34 +01:00
Andreas Eversberg
49dd4be5b9
Fixed broken chan_lcr of last commit
2012-12-16 10:10:34 +01:00
Andreas Eversberg
4545bb054f
Fixed compiling of chan_lcr with Asterisk 1.6.2.2
2012-12-16 10:10:33 +01:00
Andreas Eversberg
7440c9a44d
Fix: Process tx-load when briding with jitter buffer disabled
2012-12-16 10:10:33 +01:00
Andreas Eversberg
71e76fd9e0
Updated default config examples
2012-12-16 10:10:33 +01:00
Andreas Eversberg
b6a3cd5a8d
Fixed parsing capability conditions
2012-12-16 10:10:33 +01:00
Andreas Eversberg
3f7ef909c9
Define prload of mISDN buffer by chan_lcr (required for fax)
...
Use q<ms> option to peload.
2012-12-16 10:10:33 +01:00
Andreas Eversberg
8b9bdad861
Bump version to 1.13
2012-12-16 10:10:33 +01:00
Andreas Eversberg
240562640f
Maintain states for remote socket connections
2012-12-16 10:10:33 +01:00
Andreas Eversberg
04fc928a2c
Implement 3PTY bridge of two 'join's.
2012-12-16 10:10:33 +01:00
Andreas Eversberg
30224b43e2
Add 3PTY facility to invoke conference call via functional protocol
2012-12-16 10:10:33 +01:00
Andreas Eversberg
623ef90b50
Don't remove lock, if other LCR is using it
2012-12-16 10:10:33 +01:00
Andreas Eversberg
a698197188
Add conference mixing to LCR's internal bridge
...
Bride allow now to forward between two paries or mix between three to N
parties.
2012-12-16 10:10:33 +01:00
Andreas Eversberg
ec40766edc
Add global variable for Law encoded silence
2012-12-16 10:10:33 +01:00
Andreas Eversberg
de6346a5bf
Changed bridge structure to hold 1..n members instead of only 1..2
2012-12-16 10:10:33 +01:00
Andreas Eversberg
f6aea744f8
Removed complete bchannel handling from chan_lcr
...
The remote application interface does not allow any bchannel to be
exported or imported. Audio traffic via socket interface is used instead.
The joinremote instance became obsolete and is removed.
The remote action (routing) became obsolete, use interface.conf instead.
The handling of loopback device became obsolete and was removed
The chan_lcr does not rely on mISDN anymore, that means:
- can be used with GSM and without mISDN at all.
- chan_lcr can be used as internal extension of LCR (e.g. SIP phone)
(chan_lcr can be handled as any other interface)
- no loopback device to be used anymore.
2012-12-16 10:10:32 +01:00
Andreas Eversberg
6911e09b77
Allow calls to multiple interfaces simultaniosuly
...
For external calls, the list of interfaces is used to select the first
available/not busy interface. If the interface list is stated with +,
the call is forked to all interfaces.
2012-08-19 20:55:02 +02:00
Andreas Eversberg
2ccf098ec0
Fix: Make GSM BS compile without SIP support
2012-08-01 12:16:47 +02:00
Janis Ruksans
1e21f69321
List files for dist that are not picked up automatically from build
...
rules; and filter out unnecessary ones for distuninstallcheck.
Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2012-06-30 14:04:23 +02:00
Janis Ruksans
e88b4496da
Reference the sources via $< for chan_lcr, and prefixing with $(srcdir)
...
otherwise. Note: Autoconf manual says that using $< in ordinary make
rules is not portable, but LCR is Linux specific anyway.
Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2012-06-30 14:03:32 +02:00
Janis Ruksans
2dbfdb87dd
Use variables set by configure script instead of installing files to a
...
hardcoded location. This is practically the same as the reverted part of
commit 51655a18
except that $(DESTDIR) *is not* prepended to CC defines;
doing so would break staged installs.
Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2012-06-30 14:02:19 +02:00
Janis Ruksans
b0764b4677
On many systems /var/run is not world-writeable, and writing PID fails
...
if LCR is not being run as root. The lock directory, on the contrary,
must be writable by the lcr process, and can be configured by the user.
Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2012-06-28 08:11:57 +02:00
Janis Ruksans
7c12849b27
Use loops for str* checks and to install configuration and tone files,
...
with the actual files listed in make variables.
Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2012-06-28 08:06:15 +02:00
Janis Ruksans
61c1f38082
The third parameter to ast_channel_tech.requester is const qualified,
...
causing GCC to emit a warning about incompatible pointer types when
initializing lcr_tech. Fix this by adding necessary const's to lcr_request.
Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2012-06-28 08:02:55 +02:00
Janis Ruksans
ad9a780ce7
If ast_channel struct is not declared before ast_register_application2,
...
gcc thinks that the implicit declaration in module.h is different from
the one in channel.h, and issues a warning about incompatible pointer
types. A forward declaration before including module.h fixes this.
Due to some brain-deadness in Ast, including channel.h before module.h
causes the compilation fail altogether.
Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2012-06-28 08:01:25 +02:00
Janis Ruksans
1c32d75c7e
Use AC_CHECK_TYPE and correct quoting for Asterisk struct checks, and add
...
case for ind_tone_zone_sound (Asterisk 1.6.0).
Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2012-06-28 07:59:48 +02:00
Birger Harzenetter
14da759465
Changes needed for Asterisk TRUNK 357721
2012-06-24 08:33:59 +02:00
Birger Harzenetter
221ad36c26
Fixed typo
2012-06-17 09:35:30 +02:00
Birger Harzenetter
eab9beeb9b
Adds screening of redirecting number
2012-06-16 09:52:48 +02:00
Andreas Eversberg
3e1c6a9f43
[SIP] Allow setting local port for SIP interface
2012-05-20 17:45:56 +02:00
Andreas Eversberg
89a525b798
Only receive RTP audio data, if connected to remote.
2012-05-20 16:37:27 +02:00
Andreas Eversberg
736182d6fd
Fixed reloading of interfaces with SIP support
...
SIP instance is now moved to new interface list at is should be.
2012-05-20 16:36:06 +02:00
Birger Harzenetter
9f9b721735
Changes for Asterisk TRUNK r357721
...
Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2012-04-17 12:56:49 +02:00
Andreas Eversberg
1ba1417331
Fixed compiling issues when enabling GSM MS side support.
2012-03-25 17:08:45 +02:00
Andreas Eversberg
30f74eec76
Allow to define MS side GSM interface again
2012-03-25 17:08:40 +02:00
Andreas Eversberg
afe2e32ae1
Bearer Capability is mandatory in CALL CONF. message, if not in SETUP.
2012-03-25 17:08:36 +02:00
Andreas Eversberg
c1f7899663
When socket to LCR is closed, the test call must be released
2012-03-25 17:08:00 +02:00
Andreas Eversberg
863e741714
SIP: Adding echo test to do delay test on incomming SIP calls
2012-03-16 04:58:23 +01:00
Andreas Eversberg
97fb04eee9
Added support for all GSM codecs to GSM and SIP interface
...
Untested!
2012-03-08 14:44:17 +01:00
Andreas Eversberg
b3d8622de3
Removed obsolete #include directive.
2012-03-08 07:05:15 +01:00
Birger Harzenetter
9efd4aed44
Make chan_lcr compile with latest Asterisk.
2012-03-01 08:47:13 +01:00
Andreas Eversberg
9464c059e6
Fixed chan_lcr unload bug, found by Patrick
2012-03-01 08:40:28 +01:00
Alexander Huemer
7b11cdb684
Make appbridge.cpp compile, even without mISDN support.
2012-03-01 07:51:26 +01:00
Andreas Eversberg
4a7489749f
Fixed release of relations between bridge and interface instances (ports)
2012-02-21 18:03:43 +01:00
Wimpy
65ce8fa13a
Added support to chan_lcr for Asterisk version > 10
2012-02-21 11:42:20 +01:00
Andreas Eversberg
d6866316df
Added support of mISDN to direct bridge feature
...
Now it is possible to directly bridge:
- GSM with SIP
- GSM with ISDN
- SIP with ISDN
2012-02-21 11:32:31 +01:00
Andreas Eversberg
58afedec93
Allow setting IP:port for peers of SIP interfaces.
2012-02-18 09:50:43 +01:00