[Devel] [ openser-Feature Requests-1661323 ] "Allow AVP in
t_relay()"
SourceForge.net
noreply at sourceforge.net
Fri Feb 16 16:01:15 CET 2007
Feature Requests item #1661323, was opened at 2007-02-16 10:46
Message generated for change (Settings changed) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1661323&group_id=139143
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: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Victor Gamov (vitspec)
Assigned to: Nobody/Anonymous (nobody)
Summary: "Allow AVP in t_relay()"
Initial Comment:
Using AVP and Psevdo-variables in t_relay() may be useful in some situations. For example:
We trying to use OpenSER in customer VoIP-enabled network
with static routing. This routing info getted from RADIUS during INVITE authentication. Then we need to send request using something like t_relay($avp(s:redirect-ip))
without rewriting R-URI
Next situation discribed in my letter to "users @ openser.org" list with subject "Openser and NATed users"
Thanks!
----------------------------------------------------------------------
Comment By: Victor Gamov (vitspec)
Date: 2007-02-16 16:58
Message:
Logged In: YES
user_id=1625470
Originator: YES
Thanks! it can really help me.
may be documentation on t_relay() must have mention of $du ?
----------------------------------------------------------------------
Comment By: Bogdan (bogdan_iancu)
Date: 2007-02-16 11:12
Message:
Logged In: YES
user_id=1275325
Originator: NO
with 1.2.0, you can even do:
......
$du = $avp(s:redirect-ip);
t_relay();
.......
regards,
bogdan
----------------------------------------------------------------------
Comment By: Andreas Granig (agranig)
Date: 2007-02-16 11:03
Message:
Logged In: YES
user_id=825350
Originator: NO
I'd rather set the dst-uri instead of passing a parameter to t_relay, so
what about avp_pushto("$du", "$avp(s:your_new_destination)") ?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1661323&group_id=139143
More information about the Devel
mailing list