[OpenSIPS-Devel] [OpenSIPS/opensips] e7f039: drouting: allow do_routing to set an empty user

Razvan Crainea razvan at opensips.org
Wed Feb 8 06:39:05 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e7f0396d0ebf3debc155e276ca9f0505138cb4d2
      https://github.com/OpenSIPS/opensips/commit/e7f0396d0ebf3debc155e276ca9f0505138cb4d2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-02-08 (Wed, 08 Feb 2017)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  drouting: allow do_routing to set an empty user

Before this fix, if the strip was larger than the username, do_routing
function would return negative. This commit fixes this and strips the
username entirely.

Closes #1044




More information about the Devel mailing list