Subject: openbsc.git branch jerlbeck/features/rtp-header-patching created. 0.13.0-208-gf6ec0e9
From: [email-masked]
To: [email-masked]
Date: Tue, 10 Dec 2013 10:27:54 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/rtp-header-patching has been created
        at  f6ec0e9fc4261d2173286e9b23fd19060040d1d1 (commit)

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=f6ec0e9fc4261d2173286e9b23fd19060040d1d1

commit f6ec0e9fc4261d2173286e9b23fd19060040d1d1
Author: Jacob Erlbeck <[email-masked]>
Date:   Wed Dec 4 10:30:11 2013 +0100

    mgcp/rtp: Refactored packet_duration computation
    
    Since the packet duration is given in ms with the 'ptime' RTP media
    attribute and also with the 'p' MGCP local connection option, the
    computation is changed to use this value (if present). The
    computation assumes, that there are N complete frames in a packet and
    takes into account, that the ptime value possibly had been rounded
    towards the next ms value (which is never the case with a frame length
    of exact 20ms).
    
    Sponsored-by: On-Waves ehf

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

commit 58340e5b5bfa37b09a61d544904330c1932ccfec
Author: Jacob Erlbeck <[email-masked]>
Date:   Fri Nov 29 11:20:06 2013 +0100

    mgcp/rtp: Fix RTP timestamps if enabled
    
    This forces the output timing to fulfill
       dTS = dSegNo * fixedPacketDuration
    where dSegNo = seqNo - lastSeqNo.
    
    If timestamp patching is enabled, the output timestamp will be set
    to lastTimestamp + dTS. This kind of relative updating is used to
    handle seqNo- and timestamp-wraparounds properly.
    
    The updating of timestamp and SSRC has been separated and the patch
    field of mgcp_rtp_state has been renamed to patch_ssrc to reflect
    it's semantics more closely. The offset fields are now used always
    and will change the corresponding header field if they are != 0.
    
    Ticket: OW#1065
    Sponsored-by: On-Waves ehf

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

commit e2292f3aa1e9ae1faf5521a9cb108775f1ac0540
Author: Jacob Erlbeck <[email-masked]>
Date:   Tue Dec 3 15:13:12 2013 +0100

    mgcp/rtp: Only patch SSRC once after MDCX if enabled
    
    Currently the output SSRC is always forced to be the same if SSRC
    patching is enabled.
    
    This patch modifies this to optionally restrict the number of SSRC
    changes that will be corrected.
    
    Note that the configuration only allows for the 'once' mode and 'off'.
    
    Sponsored-by: On-Waves ehf

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

commit 3da9e4e441ff7b6fb1996f775b39d7c3432ad652
Author: Jacob Erlbeck <[email-masked]>
Date:   Tue Dec 3 15:47:04 2013 +0100

    mgcp/rtp: Use SSRC in proper byte ordering
    
    The ssrc has been used without respect to proper byte ordering in
    mgcp_patch_and_count(). This only affected log messages.
    
    This patch introduces a new variable 'ssrc' that takes the value of
    the SSRC in proper byte order.
    
    Sponsored-by: On-Waves ehf

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

commit 30ce42250f56c930872228604edd7dd0836ec77a
Author: Jacob Erlbeck <[email-masked]>
Date:   Thu Dec 5 12:02:15 2013 +0100

    mgcp/rtp: Compute default packet duration at state initialisiation
    
    This patch adds a packet_duration field to mgcp_rtp_state which
    contains the RTP packet's duration in RTP timestamp units or 0, when
    the duration is unknown or not fixed.
    
    Sponsored-by: On-Waves ehf

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

commit b35a77751b278c7c81e6cc012df2d113f10b3116
Author: Jacob Erlbeck <[email-masked]>
Date:   Thu Dec 5 11:33:20 2013 +0100

    mgcp/rtp: Only update RTP header field offsets if enabled
    
    Currently seq_offset and timestamp_offset are updated on each SSRC
    change even when SSRC patching is not allowed.
    
    This patch fixes this by changing mgcp_patch_and_count() to only
    update these fields when SSRC patching is allowed.
    
    Sponsored-by: On-Waves ehf

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

commit 5e9549e6a968fa0b5ef313a3e5a2622ceff42839
Author: Jacob Erlbeck <[email-masked]>
Date:   Thu Dec 5 12:20:05 2013 +0100

    mgcp/rtp: Change the log message shown when the SSRC changes
    
    Show old and new SSRC. Move logging command upward to show the values
    immediately after the change has been detected and before any fixing
    attempt is made.
    
    Sponsored-by: On-Waves ehf

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

commit db2d431697609d473de433b7028f81ce499a02c0
Author: Jacob Erlbeck <[email-masked]>
Date:   Tue Dec 3 14:43:34 2013 +0100

    mgcp/rtp: Add RTP header patch mode configuration
    
    This adds datastructures and a VTY frontend to configure the
    different type of RTP header patching: SSRC and timestamp.
    
    Note that timestamp patching is not yet implemented.
    
    Sponsored-by: On-Waves ehf

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

commit 55ba140da126c78013fe1a6055d750ee10b60ecf
Author: Jacob Erlbeck <[email-masked]>
Date:   Fri Nov 29 11:16:07 2013 +0100

    mgcp/rtp: Fix output timing error counter
    
    The tsdelta computation and error detection didn't handle the
    intialisation phase properly.
    
    This patches fixes this by skipping the output timing validation
    when the SSRCs don't match.
    
    Sponsored-by: On-Waves ehf

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

commit 83c052373907c1cdaa134b5a7420eacabd893901
Author: Jacob Erlbeck <[email-masked]>
Date:   Tue Dec 3 12:48:07 2013 +0100

    mgcp/rtp: Add more test cases for RTP header patching
    
    This patch extends the existing RTP error check test by adding a
    check for timestamp errors after SSRC changes and a check for a
    segno delta of 2 (with a timestamp delta of 320).
    
    To test SSRC patching too, a corresponding line will be written on
    each SSRC change that has been detected in the output stream.
    
    In addition there is now support for selectively enabling/disabling
    SSRC and timestamp patching. The RTP test sequence is repeated for
    all combinations thereof.
    
    Sponsored-by: On-Waves ehf

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

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