Subject: openbsc.git branch jerlbeck/features/mgcp-transcoding updated. 0.13.0-414-g452c183
From: [email-masked]
To: [email-masked]
Date: Thu, 5 Jun 2014 12:40:48 GMT

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 "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".

The branch, jerlbeck/features/mgcp-transcoding has been updated
  discards  353c49f945d6e523d798bd8c9d09c49b742d2eb4 (commit)
  discards  0e1be001177f81d31a9452d189778b03b998bbc6 (commit)
  discards  f6885609f115273ac7751a84c5cd3b2211fa4a3c (commit)
  discards  1c27858309960c0e488141da6f2f2bc8d6e8dacc (commit)
  discards  42384ec88be3caee33eccd1d253b4cdee8a6d23f (commit)
  discards  5b39509145aa5cd6766884e88710447ba963c476 (commit)
  discards  cb13968cedee902664303c83f94b023e51128fc7 (commit)
  discards  7a42f0d1f922c54bc545f826720be8c34d1ce884 (commit)
  discards  68d5615c54eca8bb215bfe2b07f1ebdf63519377 (commit)
  discards  286fe6aa13e85c295671a8e0e5f4ac866b0a9944 (commit)
  discards  e8b61ddcd83a9641b5f80752e0c529ccf703964a (commit)
       via  452c183c5ee9cc2c1b0225d9706d0425b8c655e3 (commit)
       via  909fac6689df570ef0c5983fe51da14eb3bf2783 (commit)
       via  84a45cbf8384be753e2b83414dddc95ad63f4f2b (commit)
       via  07886d9b0abe81259433ab39a8a8fc86e1c197a3 (commit)
       via  42a833e89f443116fb165c35654c9f21ceed6876 (commit)
       via  136a319e910eec81ea9ff8f8a34c324557109d03 (commit)
       via  239a853f40879a68487057fbcd0a09a8d3625185 (commit)
       via  997e1e8e9da0b82cc3755e50bb071c12975ff6ba (commit)
       via  168ca00b02685edea650aa2a4c62481a75926125 (commit)
       via  845d0054b45dff5f5606b38dcacd9bf06a605f07 (commit)
       via  a0d64ce063fbf60733c6f2949015091aa33a2c9d (commit)
       via  b492d39177f6df893772ee6c7c37f51caa9f0d64 (commit)
       via  def0391ec55ab79d22c07d56a7c777ae8dcab0e0 (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (353c49f945d6e523d798bd8c9d09c49b742d2eb4)
            \
             N -- N -- N (452c183c5ee9cc2c1b0225d9706d0425b8c655e3)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

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 -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=452c183c5ee9cc2c1b0225d9706d0425b8c655e3

commit 452c183c5ee9cc2c1b0225d9706d0425b8c655e3
Author: Jacob Erlbeck <[email-masked]>
Date:   Fri May 9 19:42:17 2014 +0200

    mgcp: Set net_end audio params in recvonly mode
    
    Currently, if there is no SDP data in the MGCP message received from
    the net, the fields containing audio encoding information are not set
    in net_end. So in recvonly mode transcoding would not be set up
    correctly.
    
    This patch changes the implementation of the code handling CRCX and
    MDCX to use the codec signalled in the MGCP local connection options
    (field 'a:') if there isn't any SDP data. This is only halfway
    negotiation, because the codec is used blindly and not matched
    against the supported ones.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/openbsc/commit/?id=909fac6689df570ef0c5983fe51da14eb3bf2783

commit 909fac6689df570ef0c5983fe51da14eb3bf2783
Author: Jacob Erlbeck <[email-masked]>
Date:   Thu May 8 14:08:37 2014 +0200

    mgcp: Move transcoding to libmgcp
    
    This patch moves the files relevant to transcoding from
    src/osmo-bsc_mgcp to src/libmgcp and src/include/openbsc. Makefiles
    and include directives are being updated accordingly.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/openbsc/commit/?id=84a45cbf8384be753e2b83414dddc95ad63f4f2b

commit 84a45cbf8384be753e2b83414dddc95ad63f4f2b
Author: Jacob Erlbeck <[email-masked]>
Date:   Tue Apr 8 16:10:04 2014 +0200

    mgcp/test: Add test cases for transcoding and repacking
    
    This patch adds test cases for transcoding and repacking.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/openbsc/commit/?id=07886d9b0abe81259433ab39a8a8fc86e1c197a3

commit 07886d9b0abe81259433ab39a8a8fc86e1c197a3
Author: Jacob Erlbeck <[email-masked]>
Date:   Mon Apr 14 11:30:45 2014 +0200

    mgcp: Extend the CLI transcoding tool by ptime conversion
    
    This modification allows it to set the number of samples per packet
    that is written to the output.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/openbsc/commit/?id=42a833e89f443116fb165c35654c9f21ceed6876

commit 42a833e89f443116fb165c35654c9f21ceed6876
Author: Jacob Erlbeck <[email-masked]>
Date:   Mon Apr 14 10:31:47 2014 +0200

    mgcp: Add packet size (ptime) conversion
    
    The current transcoder implemenation always does a 1:1 recoding
    concerning the duration of a packet. So RTP timestamps and sequence
    numbers are not modified.
    
    This is not sufficient in some cases, e.g. when the BTS does only
    allow for a single fixed ptime.
    
    This patch decouples encoding from decoding and moves the decoded
    samples to the state structure so that samples can be combined or
    drain according to the packaging of incoming and outgoing packets.
    
    This patch incorporates parts of Holger's experimental fixes in
    0e669e05^..9eba68f9.
    
    Ticket: OW#1111
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/openbsc/commit/?id=136a319e910eec81ea9ff8f8a34c324557109d03

commit 136a319e910eec81ea9ff8f8a34c324557109d03
Author: Jacob Erlbeck <[email-masked]>
Date:   Thu Mar 13 14:33:37 2014 +0100

    mgcp: Add CLI tool to test audio conversion
    
    This tool uses mgcp_transcode.c to convert audio data from stdin to
    stdout.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/openbsc/commit/?id=239a853f40879a68487057fbcd0a09a8d3625185

commit 239a853f40879a68487057fbcd0a09a8d3625185
Author: Jacob Erlbeck <[email-masked]>
Date:   Thu Mar 13 14:25:51 2014 +0100

    mgcp: Add RTP audio transcoding
    
    This patch implements audio transcoding between the formats GSM,
    PCMA, L16, and optionally G.729.
    
    The feature needs to be enabled by using the autoconf option
    '--enable-mgcp-transcoding'. In this case mgcp_transcode.c will
    be compiled and linked to osmo-bsc_mgcp, and the transcoding
    functions provided will be registered as processing callbacks.
    
    If G.729 support is required, libcg729 needs to be installed and
    '--with-g729' must be passed to ./configure.
    
    Ticket: OW#1111
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/openbsc/commit/?id=997e1e8e9da0b82cc3755e50bb071c12975ff6ba

commit 997e1e8e9da0b82cc3755e50bb071c12975ff6ba
Author: Jacob Erlbeck <[email-masked]>
Date:   Fri Mar 14 18:01:20 2014 +0100

    mgcp: Only include SDP lines with valid content
    
    Don't show media related lines if the payload type has not been set.
    Don't show a 'a=rtpmap' line if the audio_name has not been set.
    
    This patch unifies the SDP generation of create_response_with_sdp()
    and send_msg().
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/openbsc/commit/?id=168ca00b02685edea650aa2a4c62481a75926125

commit 168ca00b02685edea650aa2a4c62481a75926125
Author: Jacob Erlbeck <[email-masked]>
Date:   Mon Mar 17 12:40:07 2014 +0100

    mgcp: Add a function to get media info for MGCP responses
    
    This patch adds the get_net_downlink_format_cb() callback to provide
    payload_type, subtype_name, and fmtp_extra suitable for use in a MGCP
    response sent to the network. Per default, the BTS side values are
    returned since these must be honoured by the net peer when sending
    audio to the media gateway (unless transcoding is done).
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/openbsc/commit/?id=845d0054b45dff5f5606b38dcacd9bf06a605f07

commit 845d0054b45dff5f5606b38dcacd9bf06a605f07
Author: Jacob Erlbeck <[email-masked]>
Date:   Mon Mar 17 12:30:56 2014 +0100

    mgcp: Add audio info fields to struct mgcp_rtp_end
    
    This patch adds the fields channels, subtype_name, and audio_name to
    the struct. The field audio_name contains the full string that has
    been used for the last part of a SDP a=rtpmap line. The others contain
    decoded parts of that string. If no a=rtpmap line has been given
    (e.g. because dynamic payload types are not used), values are
    assigned when the payload type matches one of the predefined ones
    (GSM, G729, PCMA).
    
    The patch also moves the audio_name parsing code to a dedicated
    set_audio_info() function.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/openbsc/commit/?id=a0d64ce063fbf60733c6f2949015091aa33a2c9d

commit a0d64ce063fbf60733c6f2949015091aa33a2c9d
Author: Jacob Erlbeck <[email-masked]>
Date:   Thu Mar 13 14:24:52 2014 +0100

    mgcp: Add callbacks for payload processing
    
    This patch adds the callbacks rtp_processing_cb and
    setup_rtp_processing_cb to mgcp_config to support arbitrary RTP
    payload processing.
    
    Sponsored-by: On-Waves ehf

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

Summary of changes:
 openbsc/include/openbsc/gprs_llc.h    |  41 ++++++
 openbsc/src/gprs/Makefile.am          |   2 +-
 openbsc/src/gprs/gprs_llc.c           | 236 ---------------------------------
 openbsc/src/gprs/gprs_llc_parse.c     | 243 ++++++++++++++++++++++++++++++++++
 openbsc/src/libmgcp/mgcp_protocol.c   |  20 ++-
 openbsc/tests/gbproxy/gbproxy_test.c  |   4 +-
 openbsc/tests/gbproxy/gbproxy_test.ok | 216 +++++++++++++++---------------
 7 files changed, 408 insertions(+), 354 deletions(-)
 create mode 100644 openbsc/src/gprs/gprs_llc_parse.c

hooks/post-receive
-- 
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)