[OpenSIPS-Devel] [OpenSIPS/opensips] 209419: Added new function move_branch_to_ruri().

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Jun 28 13:23:53 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 209419a21dfc432b6f4bdcb653e6abc57626cd0b
      https://github.com/OpenSIPS/opensips/commit/209419a21dfc432b6f4bdcb653e6abc57626cd0b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-06-28 (Thu, 28 Jun 2018)

  Changed paths:
    M dset.c
    M dset.h

  Log Message:
  -----------
  Added new function move_branch_to_ruri().

This move a branch (give by index) from the dset into the RURI & co.

This is part of the larger work to add support for dynamic following of the 3xx replies during a parallel forking attempt. Instead of waiting for the whole transaction to end (all branches), if a branch gets a 3xx reply, the redirect contact will be followed on spot by dynamically creating new branch (even if the transaction is not yet completed).

This is work sponsored by the Harris Corporation (https://www.harris.com)


  Commit: a9f467137b31840c0c1c8199cb6e81bfbb210ab9
      https://github.com/OpenSIPS/opensips/commit/a9f467137b31840c0c1c8199cb6e81bfbb210ab9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-06-28 (Thu, 28 Jun 2018)

  Changed paths:
    M lib/reg/config.h
    M modules/registrar/lookup.c
    M modules/registrar/reg_mod.c

  Log Message:
  -----------
  Added the "B" option to the lookup() function.

The B flag will prevent the lookup to upload any contact to RURI. All the found contacts will be uploaded as branches (in the dset).

This is part of the larger work to add support for dynamic following of the 3xx replies during a parallel forking attempt. Instead of waiting for the whole transaction to end (all branches), if a branch gets a 3xx reply, the redirect contact will be followed on spot by dynamically creating new branch (even if the transaction is not yet completed).

This is work sponsored by the Harris Corporation (https://www.harris.com)


  Commit: 5f98936581366cc701f9d84216db15e781132757
      https://github.com/OpenSIPS/opensips/commit/5f98936581366cc701f9d84216db15e781132757
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-06-28 (Thu, 28 Jun 2018)

  Changed paths:
    M pvar.c

  Log Message:
  -----------
  Allow $branch() to be read from the context of a reply.

Even if a reply has no RURI, a SIP reply may have dset (additional branches).

This is part of the larger work to add support for dynamic following of the 3xx replies during a parallel forking attempt. Instead of waiting for the whole transaction to end (all branches), if a branch gets a 3xx reply, the redirect contact will be followed on spot by dynamically creating new branch (even if the transaction is not yet completed).

This is work sponsored by the Harris Corporation (https://www.harris.com)


  Commit: 00526d005ad79dea54cf7ff998c76803481f9e89
      https://github.com/OpenSIPS/opensips/commit/00526d005ad79dea54cf7ff998c76803481f9e89
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-06-28 (Thu, 28 Jun 2018)

  Changed paths:
    M modules/tm/t_fwd.c
    M modules/tm/tm.c

  Log Message:
  -----------
  Allow t_inject_branches("msg") to be used from onreply route.

In the context of the SIP reply, t_inject_branches() may be used to push as dynamic branches the destinations collected (via the dset) from the reply (like when the reply is a 3xx).

This is part of the larger work to add support for dynamic following of the 3xx replies during a parallel forking attempt. Instead of waiting for the whole transaction to end (all branches), if a branch gets a 3xx reply, the redirect contact will be followed on spot by dynamically creating new branch (even if the transaction is not yet completed).

This is work sponsored by the Harris Corporation (https://www.harris.com)


  Commit: e24b04447a4abaed3c5780f42e38cbecc29f20d7
      https://github.com/OpenSIPS/opensips/commit/e24b04447a4abaed3c5780f42e38cbecc29f20d7
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-06-28 (Thu, 28 Jun 2018)

  Changed paths:
    M modules/registrar/README
    M modules/registrar/doc/registrar_admin.xml

  Log Message:
  -----------
  Document the 'B' option for lookup()


Compare: https://github.com/OpenSIPS/opensips/compare/9cc75c0ac315...e24b04447a4a
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Devel mailing list