[sr-dev] git:sr_3.0: tm: fix/support changing r-uris and path in branch routes

Andrei Pelinescu-Onciul andrei at iptel.org
Wed Oct 28 16:11:42 CET 2009


Module: sip-router
Branch: sr_3.0
Commit: 610cb930bee937c744468c6781aeed8b17b4b7d0
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=610cb930bee937c744468c6781aeed8b17b4b7d0

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Wed Oct 28 15:50:45 2009 +0100

tm: fix/support changing r-uris and path in branch routes

- changing the r-uri in a branch route is now safe and the change
  will propagate to branches created due to dns failover.
- changing path in a branch route is now allowed and it will
  propagate to possible dns failover branches.
- optimize the no branch route & no callback case.
- build the branch buffer directly into shm mem.
- s/prepare_uac_request/prepare_new_uac/
- prepare_new_uac() takes care now also of setting the branch
  retr. buffer, uri and path (functionality moved from add_uac())

---

 modules/tm/t_fwd.c |  417 +++++++++++++++++++++++++++++++---------------------
 1 files changed, 247 insertions(+), 170 deletions(-)

Diff:   http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=610cb930bee937c744468c6781aeed8b17b4b7d0



More information about the sr-dev mailing list