Permalink
Commits on Apr 27, 2010
  1. Clean up test case of loop detection with spiraling requests.

    The last commit message shows my own confusion. The bug is not in
    the loop detection code, but in code preparing requests to be sent
    (sippipe and sipproxy). Another test case is always valuable though.
    Fredrik Thulin committed Apr 27, 2010
  2. Add test case not yet successfully demonstrating an alleged bug in

    the loop detection code.
    
    The bug is supposed to be causing a valid spiraling request to be
    mistaken for a loop, but this test case is unable to make that
    happen.
    Fredrik Thulin committed Apr 27, 2010
  3. Correct documented type of ViaParameters.

    Fredrik Thulin committed Apr 27, 2010
  4. Avoid crashing 'logger' process during unit tests.

    Logging invalid iolists crashes the logger process, and our unit
    tests violated the type declaration for the recv record when there
    was not a valid string in origin_str.
    Fredrik Thulin committed Apr 27, 2010
  5. Add test case for regexp based routing.

    Fredrik Thulin committed Apr 27, 2010
  6. Minor function documentation improvements.

    Fredrik Thulin committed Apr 27, 2010
  7. Detect crashing 'logger'.

    Start our fake 'logger' and 'event_mgr' with a watching process
    that outputs an error message if they crash.
    Fredrik Thulin committed Apr 27, 2010
Commits on Apr 23, 2010
  1. Set up fake event_mgr process for unit tests.

    New incomingproxy tests cause calls to event_handler, so we must
    have a process receiving those events to avoid crashes. Made
    fake_logger_loop/1 more generic to facilitate code reuse for such
    processes.
    Fredrik Thulin committed Apr 23, 2010
Commits on Apr 11, 2010
  1. Rename application config default macros

    Rename ?PSTNPROXY_DEFAULTS to ?PSTNPROXY_CONFIG_DEFAULTS etc.
    Mikael Magnusson committed Apr 11, 2010
Commits on Apr 10, 2010
  1. Customizable application config defaults

    Add config_defaults/0 to the YXA application behaviour, returning
    the application config defaults as a list of #cfg_entry{}.
    
    It allows setting application defaults in an (external) YXA application
    without changing core files in the yxa application and rebuilding YXA.
    For example when making an application which uses the presence_package
    module and therefore needs the presence_default_publish_time and
    other config variables.
    Mikael Magnusson committed Apr 10, 2010
  2. Fix typo

    Mikael Magnusson committed Apr 9, 2010
Commits on Apr 8, 2010
  1. Fix unused variable.

    Fredrik Thulin committed Apr 8, 2010
  2. Merge branch 'fix/compiler_warnings'

    Fredrik Thulin committed Apr 8, 2010
  3. Make adding a DB replica more robust.

    Show errors clearer, do not wait for tables recently added in case
    we are transitioning etc.
    Fredrik Thulin committed Apr 8, 2010
Commits on Apr 7, 2010
  1. Wait for mnesia tables when bootstrapping

    Mikael Magnusson committed Apr 3, 2010
  2. @x0id

    bug fix: tab character in the quoted display name; test case added

    this bug resulted in 1st quote caracter lost from display name when parsing the packet,
    that further caused crash in contact:parse.
    x0id committed Apr 7, 2010
Commits on Apr 6, 2010
  1. Merge commit 'mikma/timestamp'

    Fredrik Thulin committed Apr 6, 2010
Commits on Apr 5, 2010
  1. Mend make target 'make xreftest'.

    Fix a compiler warning, guessing original authors intent (AddOptions).
    Updating path to compiled modules (../ebin/).
    Filter out warnings about undefined functions in local_su_se too.
    Fredrik Thulin committed Apr 5, 2010
  2. Use public_key:pkix_decode_cert/2 instead of deprecated ssl_pkix:deco…

    …de_cert/2.
    Fredrik Thulin committed Apr 5, 2010
  3. Fix all compiler warnings (gcc 4.4.1).

    Change my buffers/pointers from unsigned char to char.
    Fredrik Thulin committed Apr 5, 2010
  4. Fix compiler warnings about unused types from opaque declarations.

    The fix used was to write a spec declaration for the first exported
    function using the opaque types. I'm still waiting until edoc and
    dialyzer get a common spec format before specifying all functions.
    Fredrik Thulin committed Apr 5, 2010
  5. Replace regexp:match/2 with re:run/3.

    Fredrik Thulin committed Apr 5, 2010
Commits on Apr 4, 2010
  1. Use os:timestamp/0 in logs and timestamps

    Use os:timestamp/0 from R13B-1 returning the wall clock instead of
    erlang:now/0 which will lag behind the wall clock if the machine has
    been suspended.
    Mikael Magnusson committed Apr 4, 2010
  2. edoc fixes.

    Fredrik Thulin committed Apr 4, 2010
  3. Try to be less special in format_number_for_remote_party_id.

    Only rewrite number to SU internal numbering plan for gateways
    ending in .su.se. This makes a test case in pstnproxy work even
    when using local_su_se as local-module.
    Fredrik Thulin committed Apr 4, 2010
Commits on Apr 3, 2010
  1. handle new way of accepting ssl connections too. not really tested yet.

    git-svn-id: svn://anonsvn.it.su.se/yxa/branches/SU-trunk@1723 e454d3dc-12ff-0310-9b8b-94264392205f
    Fredrik Thulin committed Nov 13, 2009
Commits on Mar 31, 2010
  1. Move sipserver:origin2str/1 to transportlayer:origin2str/1.

    Fredrik Thulin committed Mar 31, 2010
  2. Move safe_* utility functions from 'sipserver' and 'util' into new mo…

    …dule 'yxa_proc'.
    Fredrik Thulin committed Mar 31, 2010
Commits on Mar 30, 2010
  1. comments and indentation only

    Fredrik Thulin committed Mar 30, 2010
  2. Fix test cases by leap of faith.

    Should be OK since they all checked that the result was NOT something
    specific, and that is still true.
    Fredrik Thulin committed Mar 30, 2010
  3. use proper is_ guards

    Fredrik Thulin committed Mar 30, 2010
  4. fix typo

    Fredrik Thulin committed Mar 30, 2010
  5. Remove finally unused group_regexp.erl.

    Fredrik Thulin committed Mar 30, 2010