Subject: openbsc.git branch, daniel/wip-msc-local-call-routing2, created. 0.9.14-144-g228dd98
From: git repository hosting <[email-masked]>
To: [email-masked]
Date: Thu, 03 Nov 2011 20:47:43 +0100

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, daniel/wip-msc-local-call-routing2 has been created
        at  228dd98cb1e54a53d743c6191b3d639c340379aa (commit)

- Log -----------------------------------------------------------------
commit 228dd98cb1e54a53d743c6191b3d639c340379aa
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Thu Oct 20 11:06:31 2011 +0200

    bsc vty: Provide a show mscs command to show the state of each MSC

commit d2c70fb0682c06ef6eb2ba2781488b4a500deeea
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sun Oct 16 16:52:19 2011 +0200

    misc: Linking fixes for Ubuntu 11.10 Compiler
    
    Ubuntu 11.10 has changed some linker/compiler flags. Some fixes for this
    can be seen here[1]. In general the to be linked libs need to be moved into
    the LDADD section of parameters. This is with the old BFD linker (not gold).
    
    This is likely to end in some ping-pong with other versions of the linker.
    
    [1] https://bugs.launchpad.net/ubuntu/+source/nis/+bug/771034
    
    Errors:
    /usr/bin/ld.bfd.real: bsc_hack.o: undefined reference to symbol 'osmo_init_ignore_signals'
    /usr/bin/ld.bfd.real: note: 'osmo_init_ignore_signals' is defined in DSO /home/ich/install/openbsc/lib/libosmocore.so so try adding it to the linker command line
    /home/ich/install/openbsc/lib/libosmocore.so: could not read symbols: Invalid operation
    
    ...
    ../../src/libbsc/libbsc.a(rest_octets.o):/home/ich/source/gsm/openbsc/openbsc/src/libbsc/rest_octets.c:381: more undefined references to `bitvec_set_bit' follow
    ../../src/libbsc/libbsc.a(rest_octets.o): In function `rest_octets_si13':
    /home/ich/source/gsm/openbsc/openbsc/src/libbsc/rest_octets.c:382: undefined reference to `bitvec_set_uint'
    /home/ich/source/gsm/openbsc/openbsc/src/libbsc/rest_octets.c:383: undefined reference to `bitvec_set_uint'
    /home/ich/source/gsm/openbsc/openbsc/src/libbsc/rest_octets.c:385: undefined reference to `bitvec_set_bit'
    /home/ich/source/gsm/openbsc/openbsc/src/libbsc/rest_octets.c:402: undefined reference to `bitvec_set_bit'
    /home/ich/source/gsm/openbsc/openbsc/src/libbsc/rest_octets.c:403: undefined reference to `bitvec_set_uint'
    
    Conflicts:
    	No use of LIBOSMO_ABIS here
    
    	openbsc/src/ipaccess/Makefile.am
    	openbsc/src/osmo-bsc/Makefile.am
    	openbsc/src/osmo-bsc_nat/Makefile.am
    	openbsc/src/osmo-nitb/Makefile.am
    	openbsc/src/utils/Makefile.am

commit 645f41c83db830f7590d744a758ea3ee88207086
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Mon Oct 3 23:42:06 2011 +0200

    vty: Document more VTY parameters of a command
    
    The below is used to identify commands that need proper documentation
    
    diff --git a/src/vty/command.c b/src/vty/command.c
    index ab1eaca..bcf72d0 100644
    --- a/src/vty/command.c
    +++ b/src/vty/command.c
    @@ -426,6 +426,20 @@ void install_element(enum node_type ntype, struct cmd_element *cmd)
    
            cmd->strvec = cmd_make_descvec(cmd->string, cmd->doc);
            cmd->cmdsize = cmd_cmdsize(cmd->strvec);
    +
    +       printf("NODE: %d\n", ntype);
    +
    +       int j;
    +       for (j = 0; j < vector_count(cmd->strvec); ++j) {
    +               vector descvec = vector_slot(cmd->strvec, j);
    +               int i;
    +               for (i = 0; i < vector_active(descvec); i++) {
    +                       struct desc *desc = vector_slot(descvec, i);
    +                       if (desc == NULL)
    +                               continue;
    +                       printf(" %s %s\n", desc->cmd, desc->str);
    +               }
    +       }
     }

commit faab07f594c9249d62b5e352cea900a830209996
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Fri Sep 30 16:24:27 2011 +0200

    bsc: Blind fix to deal with phones sending a dialplan of 0

commit c39c7719a9f0965954874739c00cd77212940fb7
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sat May 21 00:05:09 2011 +0200

    bsc: Drop the BTS instead of exiting the application
    
    When the BTS reboots it might not want to accept our BTS Attr,
    do not leave the bsc_msc_ip/bsc_nitb but simply drop the BTS
    connection.
    
    Manually cherry-picked from: 54e6c8b3400b376ed36fe84f28f7930d2d9ff24b

commit e1d271f0f196484a4a180a900fb0f1fc5c9cf31d
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Tue Aug 30 19:07:58 2011 +0200

    bsc: Fix a crash in case we get a NACK from the BTS for a new channel
    
    In case of a nack the secondary_lchan will be NULLed but then the T10
    timeout will attempt to release the channel and we will try to release
    a NULL pointer.

commit 2665de56e482e11964faf93089f7cb4698255edf
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Mon Aug 29 15:06:00 2011 +0200

    misc: Include the control_cmd.h to fix make distcheck

commit 329bc758c992bee84062351efd3aef25fafedadc
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Thu Aug 25 09:15:40 2011 +0200

    bsc: Do not re-start the grace timer when we are in the grace period

commit 1e7c847858638a6fe1d7180005acdb667e442fa4
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Mon Aug 22 23:29:00 2011 +0200

    bsc: Simplify the trap sending by using the location state method

commit 6ee8d5bf637873eef91fe95c276545928e80ef7a
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Tue Aug 16 20:10:40 2011 +0200

    bsc: Send a TRAP with the locations on a MSC connection
    
    Send the current position when the MSC connection is established.

commit 2515b0ff9b04807c28f3d619cc979946b17d867c
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Wed Aug 17 17:37:16 2011 +0200

    bsc: Introduce an authenticated signal for the MSC connection
    
    Send the signal whenever a MSC appears to be authenticated.

commit 7a41f61e8438a45be31ff3b86b7cce6c740a6efa
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Tue Aug 16 19:47:39 2011 +0200

    bsc: Auto RF Off in case of missing MSC connection
    
    For short IP failures we want the RF to stay up and wait for
    the re-connect but in case the A-link is gone too long it is
    good to switch off the RF and wait for commands to enable it
    again.

commit 1e12862275585b73a092a4a466825f389d6fb13d
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Tue Aug 16 14:29:53 2011 +0200

    bsc: Use the BSC RF CTRL to change the RF state of the TRXs
    
    Use the delayed scheduling feature of the osmo_bsc_rf class to
    avoid crashing the site controller of the nanoBTS.

commit c81490313150b4e70b0ce5fe61d047be01d8d44b
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sat Aug 13 22:45:40 2011 +0200

    bsc: Crash fix for the osmo-nitb/MNCC code
    
    It is possible that MNCC sends a MNCC_LCHAN_MODIFY and
    wants a channel mode that is not possible on the current
    lchan, in that case a new channel is assigned. We now crash
    as the osmo-nitb is not having an assignment complete handler,
    add a NULL check.

commit 96cdaa64efef2b118e8ce099f41065d152f4bf0a
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sat Aug 6 14:52:56 2011 +0200

    bsc: Fix crash that can occur on RF Failure
    
    When we got a clear request we did not clear the internal
    association between the gsm_subscriber_connection and the SCCP
    part. When we got a DTAP message before the CLEAR COMMAND we
    will end up in a crash as the ->bts pointer of the connection
    has been cleared.
    
     #0  bsc_scan_msc_msg (conn=0xde178, msg=<value optimized out>) at osmo_bsc_filter.c:258
     #1  0x000112c8 in bsc_handle_dt1 (conn=0xdebd8, msg=0xd1f58, len=<value optimized out>) at osmo_bsc_bssap.c:507
     #2  0x00010208 in msc_outgoing_sccp_data (conn=<value optimized out>, msg=0xdfacc, len=858696) at osmo_bsc_sccp.c:73
     #3  0x0003c110 in sccp_system_incoming (msgb=0xd1f58) at sccp.c:1064

commit d34686bb7fccb1673aada3c811451b8171c99deb
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sat Aug 6 08:31:51 2011 +0200

    audio: Make AMR multirate configurable for the osmo-bsc
    
    Provide VTY options to allow/forbid the usage of a
    specific multirate option.

commit 2da1037c3c65f48fa3ea356d338801bbd69f5bb2
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sat Aug 6 07:00:52 2011 +0200

    audio: Make the BSC handle the new mr_config request of the BSC API
    
    Handle the mr_config request and set the AMR multirate config for
    the given MSC. Initialize the mr_config with the AMR5.9 default we
    have been using until now.

commit 6974f3cd21822bb91d5a06b4d926717ef6d3253d
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sat Aug 6 06:42:00 2011 +0200

    audio: Move the setting of MultiRateConfig to one place
    
    Move it to one place so it is more easy to make changes to
    that.

commit ca91f752e0922ceb92fffcee6dee75466a3cfdfd
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Thu Jul 21 10:24:46 2011 +0200

    audio: From RTP point of view we can use one payload for HR/FR AMR
    
    Remove the separation of half-rate and full-rate AMR. The used rate
    can be found inside the AMR payload. The signalling of what kind of
    traffic channel is used can be done with the GSM 08.08 Chosen
    Channel IE in the Assignment Complete message.
    
    This way I can use a fixed payload type in the MGCP GateWay but
    have a mixed TCH/F and TCH/H config. E.g. use TCH/F FR3 for some
    subscribers when connected to MSC A but use AMR5.9 on a TCH/F for
    MSC B when all TCH/Hs are gone.

commit 51d962552bda39b72d928b65ae46e028cdf1c697
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Wed Jul 20 23:14:09 2011 +0200

    audio: Remove the hardcoding of the RTP Payload
    
    The MGCP config must be correct and use 99 for RTP AMR.

commit aaf8f1abdb07af853203e5a42ec304cf458c7329
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Wed Jul 20 20:44:54 2011 +0200

    mgcp: Make CRCX deal better with UDP retransmissions
    
    When the CRCX 200 is lost on the way to the CallAgent we will
    get another CRCX (retransmission) which was answered with a 400.
    
    Change the code to extract the CallID, Mode and the optional
    LocalOptions first. Then check if the endp is allocated with the
    same call identifier, in that case return the current session
    information.

commit ef0d4383ae4e53296405d79ca147f4d645fec1ec
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Wed Jul 20 20:43:15 2011 +0200

    mgcp: FreeSWITCH requiresn us to provide the o= and t= param
    
    The SDP file for FreeSWITCH should contain o= (Origin) and the
    t= (Timing) for the session. The data of the Origin should be
    globally unique but this is not the case yet. We will need to
    store the (NTP) time of the creation of the endpoint.

commit ecf42c9a049c387e8134883808fdd8cfe1c59d5f
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Wed Jul 20 14:30:28 2011 +0200

    bsc: Put the full stop before the \n in the log message

commit ce2e97f855e8def59fcaa1f236fa4e08ae1decc8
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Mon Jun 27 21:29:03 2011 +0200

    bsc: Fix crash when the new route is not available
    
    When we are asked to route calls on a local link and
    the link is not available we would crash when trying
    to send a packet over a deadline. When we have decided
    to move a connection it is guranteed that the current
    SCCP connection will vanish, we either migrate to another
    MSC or the RSL/subscriber connection will be closed.

commit e7d1adba6fd6944c6ddcce2c1102d9a5976fab2a
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Mon Jun 27 21:02:44 2011 +0200

    bsc: Add new SCCP connections to the tail

commit c1e6759b1bccb12950509fdae86ff1a9e6fc62df
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sat Jun 25 14:47:57 2011 +0200

    msc: Only kill connections belonging to the given MSC
    
    When a MSC connection drops, only kill the connections that
    belong to the given MSC and not all other connections.

commit 04a41e49a1c08416afbfe2217cb37488afbac326
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Thu Jun 9 21:54:08 2011 +0200

    bsc: Add VTY code for the local area prefix

commit cb06091ca6b9949b81443b05aa76cc85f9765556
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Wed Jun 8 19:27:15 2011 +0200

    bsc: Add vty code for allowing emergency

commit f2fe0591c65971012ddfa14a5731fd96c2934394
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Wed Jun 8 16:28:04 2011 +0200

    bsc: Add vty function for the MSC type

commit 2f296096ed80686f31f45c8a65e395a759ee66c7
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Thu Jun 9 17:37:04 2011 +0200

    bsc: Inspect a CC Setup message and attempt to reroute the traffic
    
    Inspect the CC Setup messages and if the dialed number is matching
    the regexp of the local MSC the connection will be rerouted. The
    original MSC will get a GSM0808 CLEAR REQUEST, a new connection with
    a CC Setup message will be opened.

commit 247481f1f948486ad1616ab43df31ab420debf14
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Wed Jun 8 19:25:38 2011 +0200

    bsc: Look for CM Service Requests with emergency cause
    
    Look for emergency calls and send them to a MSC that can
    handle them properly.

commit 4c08b908db08bef088cbf6fa6de4b21476e5b64a
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Tue Jun 7 20:56:18 2011 +0200

    bsc: Introduce a local MSC type and forbid it from being selected

commit 77a72e8547ad0fa2c64a088939718a03ad29b0e2
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Tue Jun 7 20:12:33 2011 +0200

    bsc: Attempt to respond to paging to the MSC that paged
    
    Inspect the message and see if it is a paging response,
    then try to find the MSC that has paged this subscriber
    and select this as the target MSC, also move the MSC to
    the back of the list for 'load balancing'.

commit e903a3cfeb7cafbcf7b1a6ee733ce610a0856067
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Wed Jun 8 15:52:07 2011 +0200

    bsc: Hand the msc_connection to the UDT handling, pass it to paging
    
    Pass the osmo_msc_data to the paging sub system, change the code
    to pass the osmo_msc_data instead of network + bsc_msc_conn.

commit b2160cfd5185ef8c4f5961b506fef6de57e3d3ba
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Tue Jun 7 19:57:02 2011 +0200

    bsc: Move the finding of a MSC into the filter code
    
    For responding to paging on the right link we will need to
    figure out if the msg is a paging response.

commit 6fb983fb5c91c57067705f49247b28d7ffa362e4
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Tue Jun 7 11:40:20 2011 +0200

    bsc: Select a MSC in a round-robin fashion
    
    Select a MSC, add it to the back of the list after we have
    selected it.

commit 63cc33e95d386f4168dd4cdc31adcc2d8515ea22
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sat Jun 4 20:22:49 2011 +0200

    bsc: Allow to configure more than one MSC in the VTY

commit f0e91bfea9fb7ccf9fa3d2435b153cf2bb530642
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sat Jun 4 19:58:26 2011 +0200

    bsc: Prepare to have multiple MSC connections
    
    We now have a list of MSCs but in the code we will
    try to access the MSC with the nr 0.

commit adcd49f80cae2a4ca10b63f1404786b69861b1d6
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sat Jun 4 17:34:02 2011 +0200

    bsc: Use the right connection for outgoing packets
    
    This is needed for simple UDT messages where we do not have
    a SCCP connection.

commit 96153072f7eb5199575557f4103107514e203a62
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sat Jun 4 15:34:37 2011 +0200

    bsc: Move more things to use osmo_msc_data* directly

commit 4bcaf23df85b9d1ca9f46b048efbb897380fe4d9
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sat Jun 4 15:12:57 2011 +0200

    bsc: Move the bsc_filter to use the osmo_bsc_sccp_con

commit b581711a79891f3cec9e8347ffb3c5fd691e3c35
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sat Jun 4 14:51:51 2011 +0200

    bsc: Move away from ->bsc.msc to use the selected MSC
    
    For multiple MSCs we should only have one place where the MSC
    is selected and the rest will extract it from somewhere.

commit c59c28b5091cc2b257af73fe5cd5ca71276c76d6
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sat Jun 4 13:20:04 2011 +0200

    bsc: Stop using net->bsc->msc and get the right msc from somewhere else

commit 45ad8ae9f9a253503ad9cce15498accfd09fd86c
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Mon Aug 15 15:53:00 2011 +0200

    bsc: Create a osmo_bsc_data and embed osmo_msc_data
    
    We want to have multiple MSCs but we also have some data
    that is only present on a per BSC basis. Right now the
    MSC data is not allocated with talloc, so we have some
    change in the talloc contexts.

commit b10cb73b9f69f27abf55d246de5e9f621e1326e3
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Thu Jun 9 21:48:49 2011 +0200

    misc: Move the bsc_parse_reg to libcommom and name it gsm_parse_reg
    
    Move the regexp parsing code from the NAT to libcommon as it will
    be used by the NAT and BSC code. This also adds the #include <regex.h>
    include to gsm_data. This header should be split up.

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

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