[Git] LCR - Linux Call Router branch master updated. b2dfcf34e67bad4896bb5f73b33509771b937802

[email protected] (git version ctrl) Sun, 16 Dec 2012 10:13:33 +0100 (CET)
Newsgroups gmane.linux.isdn.i4l.devel
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "LCR - Linux Call Router".

The branch, master has been updated
       via  b2dfcf34e67bad4896bb5f73b33509771b937802 (commit)
       via  4b85a2abcd708ad8d0e02dca9913db7bd6ab4fed (commit)
       via  e9b162540529e627c12573ffb4eff47c3273d756 (commit)
       via  acaf278f7f616d264afe480e4f9c64768540941b (commit)
       via  fa1f601f49879958ac9fc698b044012c772ec7da (commit)
       via  84b78bea8c72333026c9eb6cef90471ca41588d7 (commit)
       via  705f2dac84720c9c3d24d5c26f23733773077536 (commit)
       via  d2bcbfbaf06eafcf44d8884fd6fb0a7f334b479b (commit)
       via  b4987df679650609097a351aa6861aac11d6b1f1 (commit)
       via  1fd1d5d17c82f7f77530ceea14e4138ee46e77e9 (commit)
       via  9e6a068f252adab72e05fa732de363fc1cc98fe0 (commit)
       via  d3b4611440011b798a33974ec6ce649faec32ab5 (commit)
       via  0562b894ff8302ad4ca2d0df1f659cc18f6af5fb (commit)
       via  d19b20fa4e130683b9b5c088019f5988e6b8e19b (commit)
       via  bdd274c5e8ac1f53fb2fb38995833a57b6475088 (commit)
       via  0954d11aca25b25966aa68b22baa670a11ba277d (commit)
       via  b971fdeb6243a5ea64a75cce40cb698946b75411 (commit)
       via  cde9a763b10ce9fb98be413ded983fb1816ea258 (commit)
       via  2bdb5135a30caebb75cb55663938cc453a445016 (commit)
       via  0d719518fba8d69ac7ab57fb9f63e80d54ab7a8d (commit)
       via  a296b797ba03cb0716fbba841b26041a80ca4ce7 (commit)
       via  29d2da58fcb4ed82d2ea5ed7df5ced876a64fd50 (commit)
       via  c33007184de93d4a36bc16461964753946437916 (commit)
       via  68ccf0448d7b69c8223e5e8b066e8cd9ee0803f0 (commit)
       via  7f0d14c706328e1ff74fe8b8c16ae54407cc8055 (commit)
       via  bd2aa91302a9d2de07d2210cbd6da499f3e45e53 (commit)
       via  a28dde2f2b0cecb6850655d4ac0dac059816ba01 (commit)
       via  948b837669d36fc4aeea37cc7a6a674b127313f1 (commit)
       via  19f537c691dad205142482e9a7a1ba72153f5c07 (commit)
       via  464ed1f2840332b587a81fd64c0875567c9024d2 (commit)
       via  b5d6f1c72b000cc0e5f566adec73e830cec04f32 (commit)
       via  680147f78cfba39d1b94f8f2db332e4f271cd077 (commit)
       via  fcc787b14dd8700d072a038b948bf6bf6fed3d58 (commit)
       via  72dada9cd5b80ac8be224f1a0e187f559f51a7e2 (commit)
       via  49dd4be5b9955ad714e81bd0639875235c8894ef (commit)
       via  4545bb054f85f8280c6ae90c954b2ef299058b1d (commit)
       via  7440c9a44d71ee10d1915d604ff8a34fc42d24e4 (commit)
       via  71e76fd9e014c882c6dbd0cea39d005677e75de7 (commit)
       via  b6a3cd5a8d63f6401fec313716ae6929b5fcc790 (commit)
       via  3f7ef909c907a374a1760ffae0c01b49487f18d7 (commit)
       via  8b9bdad861adfc1ddb4b84113404459f9e447de0 (commit)
       via  240562640f51eb85e8c0d1062611028140b04e52 (commit)
       via  04fc928a2c5f0262e85c09cced1ef20a9fd15f3d (commit)
       via  30224b43e26f8b942da6770ac57eb3e17fcb259e (commit)
       via  623ef90b50097f6e68f90d0605ba105d3ff47569 (commit)
       via  a698197188e22f42a5483bcb775f66522863d871 (commit)
       via  ec40766edc4b55496be56d3123b266900e15dc29 (commit)
       via  de6346a5bf01b196a6135bff2b998615d4d8681b (commit)
       via  f6aea744f84e702b3469393f007b9e1bf25f6737 (commit)
      from  6911e09b77aa1eaac35b595bb4082e1f4c59ca71 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b2dfcf34e67bad4896bb5f73b33509771b937802
Author: Andreas Eversberg <[email protected]>
Date:   Sun Dec 16 09:54:44 2012 +0100

    Change Version to 1.14

commit 4b85a2abcd708ad8d0e02dca9913db7bd6ab4fed
Author: Andreas Eversberg <[email protected]>
Date:   Sun Dec 16 08:57:57 2012 +0100

    Added option to change DTMF decoding threshold level
    
    If not given, the DSP modules' default value is used, rather than setting
    it to 0. This was a bug.

commit e9b162540529e627c12573ffb4eff47c3273d756
Author: Andreas Eversberg <[email protected]>
Date:   Thu Nov 22 14:48:44 2012 +0100

    Fix: Disable DTMF dialing after first received KP (pulse) digit
    
    Once a pulse digit is detected, it makes no sense to detect DTMF.
    Pulses will create distortion with some phones, causing false
    detection of DTMF tones.

commit acaf278f7f616d264afe480e4f9c64768540941b
Author: Andreas Eversberg <[email protected]>
Date:   Sun Dec 16 09:31:36 2012 +0100

    Add FXS support
    
    This requires FXS support to mISDN too.

commit fa1f601f49879958ac9fc698b044012c772ec7da
Author: Andreas Eversberg <[email protected]>
Date:   Sat Dec 8 10:58:47 2012 +0100

    Fix: 3PTY bridge must check, if other 3PTY member is mISDN or not
    
    To make decision for mISDN bridge or lcr bridge, it it is required to
    check both joins that share same 3PTY bridge.

commit 84b78bea8c72333026c9eb6cef90471ca41588d7
Author: Andreas Eversberg <[email protected]>
Date:   Tue Dec 4 16:43:12 2012 +0100

    chan_lcr: Replaced 'n' (no DTMF) option with 'D' (DTMF)
    
    The option 'n' was actually broken. Now it is replaced, because
    generated DTMF tones may cause delay to SIP connections.

commit 705f2dac84720c9c3d24d5c26f23733773077536
Author: Andreas Eversberg <[email protected]>
Date:   Tue Dec 4 15:41:23 2012 +0100

    Fixed early audio with chan_lcr (Asterisk)
    
    If progress message is received, go into proceeding state.
    
    Send audio, if proceeding/alerting state, so RTP stream is sent in both
    directions. This is essential when using NAT.

commit d2bcbfbaf06eafcf44d8884fd6fb0a7f334b479b
Author: Andreas Eversberg <[email protected]>
Date:   Tue Dec 4 15:38:25 2012 +0100

    Fixed version issue of chan_lcr

commit b4987df679650609097a351aa6861aac11d6b1f1
Author: Andreas Eversberg <[email protected]>
Date:   Wed Nov 14 10:42:55 2012 +0100

    Updated MNCC interface
    
    The structure of BEARER CAPABILITY has been expanded.

commit 1fd1d5d17c82f7f77530ceea14e4138ee46e77e9
Author: Andreas Eversberg <[email protected]>
Date:   Tue Nov 13 08:42:31 2012 +0100

    SIP: Allow early audio on incomming connections at SIP interface
    
    In order to provide internal tones, a clock is used to generate
    chunks of 160 samples. If no tones are provided and if audio is
    bridged, it is forwarded as usual.
    
    In order to provide early audio on SIP trunk, "tones yes" must be set
    at interface.conf.
    In order to receive early audio from SIP trunk, "earlyb yes" must be
    set at interface.conf.

commit 9e6a068f252adab72e05fa732de363fc1cc98fe0
Author: Andreas Eversberg <[email protected]>
Date:   Mon Nov 12 12:20:27 2012 +0100

    Fix: Set correct local RTP port

commit d3b4611440011b798a33974ec6ce649faec32ab5
Author: Andreas Eversberg <[email protected]>
Date:   Tue Aug 21 10:34:15 2012 +0200

    Fix: Allow recording of audio for SIP/remote/GSM interfaces too

commit 0562b894ff8302ad4ca2d0df1f659cc18f6af5fb
Author: Andreas Eversberg <[email protected]>
Date:   Tue Aug 21 09:44:33 2012 +0200

    Fix: Track notification messages at partyline too
    
    This is required, so inactive parties will be marked as beeing "on hold".
    These parties will be removed from the bridge, so the partyline is not
    disturbed by hold music comming from inactive parties.
    
    Thanx to Atul for pointing to this bug.

commit d19b20fa4e130683b9b5c088019f5988e6b8e19b
Author: Andreas Eversberg <[email protected]>
Date:   Tue Aug 21 09:43:50 2012 +0200

    Removed obsolete logging code

commit bdd274c5e8ac1f53fb2fb38995833a57b6475088
Author: Andreas Eversberg <[email protected]>
Date:   Tue Aug 21 08:50:35 2012 +0200

    Fix: Don't forward MESSAGE_TRAFFIC to endpoint instance
    
    Thanx to Atul for catching this bug

commit 0954d11aca25b25966aa68b22baa670a11ba277d
Author: Birger Harzenetter <[email protected]>
Date:   Tue Aug 21 08:44:34 2012 +0200

    Fix: Append information (overlap dialing) to Asterisk's extension string
    
    Signed-off-by: Andreas Eversberg <[email protected]>

commit b971fdeb6243a5ea64a75cce40cb698946b75411
Author: Andreas Eversberg <[email protected]>
Date:   Tue Aug 21 08:36:33 2012 +0200

    Store caller/dialing info for calls via remote interfaces (chan_lcr)

commit cde9a763b10ce9fb98be413ded983fb1816ea258
Author: Andreas Eversberg <[email protected]>
Date:   Tue Aug 21 08:23:19 2012 +0200

    Fix: Polling of file descriptors
    
    It is only done when enabled by config or when any SIP interface is
    created.
    
    Thanx to Wimpy for catching this bug.

commit 2bdb5135a30caebb75cb55663938cc453a445016
Author: Andreas Eversberg <[email protected]>
Date:   Tue Aug 21 08:07:45 2012 +0200

    Fix: chan_lcr must use right context attribute for Asterisk version >= 11

commit 0d719518fba8d69ac7ab57fb9f63e80d54ab7a8d
Author: Andreas Eversberg <[email protected]>
Date:   Mon Aug 20 08:56:39 2012 +0200

    Fix: Bind RTP/RTCP socket pairs correctly

commit a296b797ba03cb0716fbba841b26041a80ca4ce7
Author: Andreas Eversberg <[email protected]>
Date:   Sun Aug 19 17:06:45 2012 +0200

    Fix: Always keep transmit timer on when mISDN channel is open
    
    This way the buffer load is always calculated correctly.

commit 29d2da58fcb4ed82d2ea5ed7df5ced876a64fd50
Author: Andreas Eversberg <[email protected]>
Date:   Sun Aug 19 12:33:54 2012 +0200

    Fix: Encoding of 3PTY result facility IE

commit c33007184de93d4a36bc16461964753946437916
Author: Andreas Eversberg <[email protected]>
Date:   Sun Aug 19 11:11:59 2012 +0200

    Fix: Send tones/patterns/announcements for remote connections

commit 68ccf0448d7b69c8223e5e8b066e8cd9ee0803f0
Author: Andreas Eversberg <[email protected]>
Date:   Sun Aug 19 10:24:39 2012 +0200

    Add screening of caller ID for remote (asterisk) connections

commit 7f0d14c706328e1ff74fe8b8c16ae54407cc8055
Author: Andreas Eversberg <[email protected]>
Date:   Sun Aug 19 09:42:43 2012 +0200

    Cleanup: Make interface name be part of Port class

commit bd2aa91302a9d2de07d2210cbd6da499f3e45e53
Author: Andreas Eversberg <[email protected]>
Date:   Sun Aug 19 08:36:45 2012 +0200

    chan_lcr: Select remote interface by chan_lcr
    
    Usage: Dial(LCR/<interface>/<digits>/<options>)
    
    The interface must match the interface name in interface.conf. If omitted,
    the first remote interface is used.
    
    Example:
    Dial(LCR/ast/123) will send a call to LCR and select remote interface
    'ast'.
    Dial(LCR//123) will send a call to LCR and select the first remote
    interface.
    
    Now it is possible to have multiple remote interfaces.

commit a28dde2f2b0cecb6850655d4ac0dac059816ba01
Author: Andreas Eversberg <[email protected]>
Date:   Sun Aug 19 08:35:55 2012 +0200

    Fix: Match complete string when filtering for interface

commit 948b837669d36fc4aeea37cc7a6a674b127313f1
Author: Andreas Eversberg <[email protected]>
Date:   Sun Aug 19 08:34:32 2012 +0200

    Display source and destination interface at endpoint logging

commit 19f537c691dad205142482e9a7a1ba72153f5c07
Author: Andreas Eversberg <[email protected]>
Date:   Sat Aug 18 10:10:08 2012 +0200

    Fix: Prevent Asterisk from aborting when delivering ast_frames

commit 464ed1f2840332b587a81fd64c0875567c9024d2
Author: Andreas Eversberg <[email protected]>
Date:   Sat Aug 18 08:55:01 2012 +0200

    Fix: LCR's DTMF detection will be enabled and used by default
    
    Using 'n' option will disable it
    Using 'a' option will disable it and use Asterisk's DTMF detection instead.

commit b5d6f1c72b000cc0e5f566adec73e830cec04f32
Author: Andreas Eversberg <[email protected]>
Date:   Sat Aug 18 08:19:42 2012 +0200

    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)

commit 680147f78cfba39d1b94f8f2db332e4f271cd077
Author: Andreas Eversberg <[email protected]>
Date:   Thu Aug 16 08:22:32 2012 +0200

    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.

commit fcc787b14dd8700d072a038b948bf6bf6fed3d58
Author: Andreas Eversberg <[email protected]>
Date:   Thu Aug 16 08:21:43 2012 +0200

    chan_lcr: Disabled bridge, because there is no concept right now.

commit 72dada9cd5b80ac8be224f1a0e187f559f51a7e2
Author: Andreas Eversberg <[email protected]>
Date:   Fri Aug 10 09:58:36 2012 +0200

    Removed obsolete definition of media_type2name() from sip.h

commit 49dd4be5b9955ad714e81bd0639875235c8894ef
Author: Andreas Eversberg <[email protected]>
Date:   Wed Aug 8 17:55:27 2012 +0200

    Fixed broken chan_lcr of last commit

commit 4545bb054f85f8280c6ae90c954b2ef299058b1d
Author: Andreas Eversberg <[email protected]>
Date:   Wed Aug 8 09:20:02 2012 +0200

    Fixed compiling of chan_lcr with Asterisk 1.6.2.2

commit 7440c9a44d71ee10d1915d604ff8a34fc42d24e4
Author: Andreas Eversberg <[email protected]>
Date:   Wed Aug 8 09:19:00 2012 +0200

    Fix: Process tx-load when briding with jitter buffer disabled

commit 71e76fd9e014c882c6dbd0cea39d005677e75de7
Author: Andreas Eversberg <[email protected]>
Date:   Thu Aug 2 14:44:19 2012 +0200

    Updated default config examples

commit b6a3cd5a8d63f6401fec313716ae6929b5fcc790
Author: Andreas Eversberg <[email protected]>
Date:   Mon Jul 30 22:17:39 2012 +0200

    Fixed parsing capability conditions

commit 3f7ef909c907a374a1760ffae0c01b49487f18d7
Author: Andreas Eversberg <[email protected]>
Date:   Sun Jul 29 14:33:15 2012 +0200

    Define prload of mISDN buffer by chan_lcr (required for fax)
    
    Use q<ms> option to peload.

commit 8b9bdad861adfc1ddb4b84113404459f9e447de0
Author: Andreas Eversberg <[email protected]>
Date:   Sun Jul 29 12:49:08 2012 +0200

    Bump version to 1.13

commit 240562640f51eb85e8c0d1062611028140b04e52
Author: Andreas Eversberg <[email protected]>
Date:   Sun Jul 29 12:39:09 2012 +0200

    Maintain states for remote socket connections

commit 04fc928a2c5f0262e85c09cced1ef20a9fd15f3d
Author: Andreas Eversberg <[email protected]>
Date:   Sun Jul 29 12:18:02 2012 +0200

    Implement 3PTY bridge of two 'join's.

commit 30224b43e26f8b942da6770ac57eb3e17fcb259e
Author: Andreas Eversberg <[email protected]>
Date:   Sat Jul 28 16:24:06 2012 +0200

    Add 3PTY facility to invoke conference call via functional protocol

commit 623ef90b50097f6e68f90d0605ba105d3ff47569
Author: Andreas Eversberg <[email protected]>
Date:   Sat Jul 28 16:04:58 2012 +0200

    Don't remove lock, if other LCR is using it

commit a698197188e22f42a5483bcb775f66522863d871
Author: Andreas Eversberg <[email protected]>
Date:   Sat Jul 28 11:16:42 2012 +0200

    Add conference mixing to LCR's internal bridge
    
    Bride allow now to forward between two paries or mix between three to N
    parties.

commit ec40766edc4b55496be56d3123b266900e15dc29
Author: Andreas Eversberg <[email protected]>
Date:   Sat Jul 28 11:15:30 2012 +0200

    Add global variable for Law encoded silence

commit de6346a5bf01b196a6135bff2b998615d4d8681b
Author: Andreas Eversberg <[email protected]>
Date:   Sat Jul 28 08:21:47 2012 +0200

    Changed bridge structure to hold 1..n members instead of only 1..2

commit f6aea744f84e702b3469393f007b9e1bf25f6737
Author: Andreas Eversberg <[email protected]>
Date:   Fri Jul 27 17:20:43 2012 +0200

    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.

-----------------------------------------------------------------------

Summary of changes:
 Makefile.am            |   15 +-
 action.cpp             |  514 ++++++++++++++++++++++-------
 alawulaw.c             |    3 +
 alawulaw.h             |    1 +
 appbridge.cpp          |   42 ++-
 apppbx.cpp             |  884 +++++++++++++++++++++++++++++++++++++++---------
 apppbx.h               |   19 +-
 bchannel.c             |  720 ---------------------------------------
 bchannel.h             |   69 ----
 chan_lcr.c             |  542 ++++++++++++++----------------
 chan_lcr.h             |    6 +-
 configure.ac           |    4 +-
 default/interface.conf |   13 +-
 default/options.conf   |    9 -
 default/routing.conf   |    1 -
 dss1.cpp               |   86 +++++-
 dss1.h                 |    3 +-
 fxs.cpp                |  836 +++++++++++++++++++++++++++++++++++++++++++++
 fxs.h                  |   48 +++
 gsm.cpp                |   61 ++--
 gsm.h                  |    1 -
 gsm_bs.cpp             |   81 +++--
 gsm_ms.cpp             |   28 +-
 interface.c            |  129 ++++++--
 interface.h            |    9 +-
 join.h                 |    2 +-
 joinpbx.cpp            |  138 +++++++-
 joinpbx.h              |    2 +
 joinremote.cpp         |  112 ------
 joinremote.h           |   26 --
 lcradmin.c             |   19 +-
 lcrsocket.h            |    1 +
 loop.c                 |  153 ---------
 loop.h                 |   12 -
 mISDN.cpp              |  839 ++++++++++++++++------------------------------
 mISDN.h                |   25 +-
 main.c                 |   19 +-
 main.h                 |    8 +-
 message.h              |   39 ++-
 mncc.h                 |  114 +++++++
 options.c              |   18 -
 options.h              |    2 -
 port.cpp               |  230 ++++++++++---
 port.h                 |   41 ++-
 remote.cpp             |  271 +++++++++------
 remote.h               |   16 +-
 route.c                |  215 ++++++++++---
 route.h                |   70 +++--
 sip.cpp                |  193 ++++++++++-
 sip.h                  |   11 +-
 socket_server.c        |  196 +++--------
 socket_server.h        |    1 -
 ss5.cpp                |    4 +-
 ss5.h                  |    2 +-
 todo.txt               |    5 +
 vbox.cpp               |    2 +-
 56 files changed, 4013 insertions(+), 2897 deletions(-)
 delete mode 100644 bchannel.c
 delete mode 100644 bchannel.h
 create mode 100644 fxs.cpp
 create mode 100644 fxs.h
 delete mode 100644 joinremote.cpp
 delete mode 100644 joinremote.h
 delete mode 100644 loop.c
 delete mode 100644 loop.h


hooks/post-receive
-- 
LCR - Linux Call Router