[OpenSIPS-Devel] [ opensips-Bugs-2865413 ] failure route is not executed with b2bua

SourceForge.net noreply at sourceforge.net
Fri Sep 25 10:49:05 CEST 2009


Bugs item #2865413, was opened at 2009-09-24 03:51
Message generated for change (Settings changed) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2865413&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: Invalid
Priority: 5
Private: No
Submitted By: Sergey Okhapkin (sokhapkin)
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: failure route is not executed with b2bua

Initial Comment:
t_on_failure("1");
b2b_init_request("top hiding");

Failure route is not executed when b2bua client gets negative response like SIP 503.

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

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-09-25 11:49

Message:
Hi Sergey,

I had a similar discussion cu Ovidiu Sas on this topic. 

It is impossible to have a t_on_failure() mechanism  (which is transaction
specific) on a B2BUA scenario (where you have multiple dialogs, with
multiple transactions) - for complex scenarios, with multiple dialogs, you
cannot say for which transaction to trigger the failure route for.....the
"topo hiding" scenario is a very simple B2BUA scenario, but you cannot have
a general "on_failure" concept for all b2bua scenarios.

How I see this solved, is very simple: consider that b2bua is a separate
instance (logically speaking) which selects types/classes of destinations.
A proxy instance will responsible for routing inside the class of
destinations.

For ex: in a scenario we can sent in the first place the call to Media
Server for some announcement and later to PSTN GW. In a first step, the
b2bua scenario will sent to proxy the call with RURI pointing to "a class"
of media servers - the proxy will select the proper media server and do the
failover between the media servers, totally transparent for the b2bua. In a
similar way, on the second step, the b2bua scenario will indicate to proxy
that it wants to have the call to be sent to PSTN GW (as type of
destination) - the proxy will do lcr, drouting, failover between the GW.

Hope all this story will help you :)

Regards,
Bogdan

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

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



More information about the Devel mailing list