#611 b2b_logic: $du and $ru

trunk
closed-invalid
modules (454)
5
2013-02-26
2013-02-11
No

b2b_logic should respect $du and $ru in scripting mode like it respects $du and $ru in topology hiding mode.

Discussion

  • Bogdan-Andrei Iancu

    Hi Nick,

    First I do not agree in preserving the $ru - this must be taken from the scenario, IMO.

    Now, about the $du, according to you patch, this should be followed only for the "init" clients; it should not be used for further client nodes, right ?

    Regards,
    Bogdan

     
  • Bogdan-Andrei Iancu

    • assigned_to: nobody --> bogdan_iancu
     
  • Nick Altmann

    Nick Altmann - 2013-02-15

    $ru may be changed before b2b_init_request. topology hiding takes it like this way.
    For example, I use drouting before b2b_init_request. Without this patch topology hiding works, but scenarios don't.
    $du is only for init.

     
  • Bogdan-Andrei Iancu

    Nick, I agree that topo hiding has to read the $ru to know where to send the call (as topp hiding has no scenario).

    But if this case, you have a scenario and the destination is controlled by the xml scenario (client nodes have the <destination> node to tell the new RURI on the outbound part) and not by the received RURI.

    Regards,
    Bogdan

     
  • Nick Altmann

    Nick Altmann - 2013-02-18

    My opinion is script should get $ru and $du for init, like topo hiding.
    You may just change topo hiding to script and everything should works.
    But it's no problem because script can use params. So, if you don't agree, this case may be closed. Thanks.

     
  • Bogdan-Andrei Iancu

    Hi Nick,

    Well, it is NOT the same as topo hiding - in topo hiding scenario, the call is sent out to the destination received in RURI - and in this case, it should follow the RURI + DURI.

    When using a B2BUA scenario script, it is not a simple pass through, but what is the destination is controlled via script - and in the XML script, you say where the call is to be sent. In this case, what was the received RURI is completely irrelevant, IMHO.

    Regards,
    Bogdan

     
  • Bogdan-Andrei Iancu

    • status: open --> closed-invalid
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks