[OpenSIPS-Devel] [ opensips-Patches-3520528 ] B2B_LOGIC - choose method how to generate To: header

SourceForge.net noreply at sourceforge.net
Tue Sep 18 06:12:20 CEST 2012


Patches item #3520528, was opened at 2012-04-23 00:56
Message generated for change (Settings changed) made by nikbyte
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3520528&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Nick Altmann (nikbyte)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: B2B_LOGIC - choose method how to generate To: header

Initial Comment:
It depends on #3516387 patch, that provides b2b_logic per session flags.

It adds new flag "t". When it enabled, To: header generates from To: header of source INVITE, when it disabled To header generates from request uri (old behavior).

I need it for balance b2b sessions to multidomain proxy, when To: header should not be changed.


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

>Comment By: Nick Altmann (nikbyte)
Date: 2012-09-17 21:12

Message:
As Anca Vamanu has written to the opensips mailing list, this behavior can
be achieved with this script:

$var(orig-to) = $hdr(To);
b2b_init_request("top hiding");

In local route:
remove_hf("To");
append_hf("To: $var(orig-to)\r\n", "From");


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

Comment By: Nick Altmann (nikbyte)
Date: 2012-09-03 22:06

Message:
needs rewrite (I'll do it later)

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3520528&group_id=232389



More information about the Devel mailing list