B2B as frontend to multi-domain proxy.

It changes from tag and breaks proxy session.

I worked around this problem this way:

route {
   append_hf("Orig-To: $hdr(To)\r\n");
   b2b_init_request("top hiding");
}

local_route {
   if (b2b_call) {
      remove_hf("To");
      append_hf("To: $hdr(Orig-To)\r\n", "From");
      remove_hf("Orig-To");
   }
}

But I think it's not good method and b2b should have flag or variable
or another method to enable/disable from mangling.

--
Nick


2012/4/18  <[email protected]>:
> I am not apart of the core team but could you explain the topology more and
> what parts you have control over?
>
> On , Nick Altmann <[email protected]> wrote:
>> Core team, where are you?
>>
>>
>>
>> --
>>
>> Nick
>>
>>
>>
>>
>>
>> 2012/4/13 Nick Altmann [email protected]>:
>>
>> > The problem that sometimes this behavior of b2b breaks call.
>>
>> >
>>
>> > Before b2b - From: [email protected]
>>
>> > After b2b - From: [email protected]
>>
>> >
>>
>> > But if destination is multidomain sip server that behavior breaks call.
>>
>> > Destination server doesn't understand where to route the call.
>>
>> >
>>
>> > --
>>
>> > Nick
>>
>> >
>>
>> >
>>
>> > 2012/4/13 Nick Altmann [email protected]>:
>>
>> >> How b2b_logic forms to-header in "top hiding" scenario?
>>
>> >>
>>
>> >> Is it possible to make flag or another method for b2b_init_request to
>>
>> >> not change to-header by b2b, just pass it through b2b?
>>
>> >>
>>
>> >> --
>>
>> >> Nick
>>
>>
>>
>> _______________________________________________
>>
>> Users mailing list
>>
>> [email protected]
>>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to