[OpenSIPS-Devel] [ opensips-Patches-2111024 ] New pseudo variable for route_params

SourceForge.net noreply at sourceforge.net
Mon Sep 15 11:21:02 CEST 2008


Patches item #2111024, was opened at 2008-09-14 22:45
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2111024&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: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: New pseudo variable for route_params

Initial Comment:
To my big surprise, OpenSIPS is not transparent in regards with route parameters. In route scripts, there is no easy way to copy all the route params from the incoming message into the outgoing ones.

I extended the RR modules in order to give access to rr params in a pseudo variable named $rr_params

So copying route params becomes easy

if (loose_route() )
{
    record_route( $rr_params );
    ...
    t_relay();
}

Examining and modifying route params beforehand in script variables or AVPs is also vastly simplified.

Emmanuel BUU
http://www.ives.fr/
http://www.telephone-video.fr/

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

Comment By: Nobody/Anonymous (nobody)
Date: 2008-09-15 09:21

Message:
FYI: Adding Record-Route header to in-dialog requests is useless, as the
route set is built from the initial request and MUST NOT be changed during
the dialog. If a client interprets Record-route headers of in-dialog
requests than the client is buggy.

klaus

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

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



More information about the Devel mailing list