[OpenSER-Devel] [ openser-Bugs-1986176 ] cr_route does not accept any pseudo-variable

SourceForge.net noreply at sourceforge.net
Fri Jun 6 11:03:08 CEST 2008


Bugs item #1986176, was opened at 2008-06-06 09:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1986176&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: ver devel
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Carsten Bock (carstenbock)
Assigned to: Nobody/Anonymous (nobody)
Summary: cr_route does not accept any pseudo-variable

Initial Comment:
Hi,

According to the documentation, cr_route should accept any pseudo-variable as parameter as carrier.

"carrier - The routing tree to be used. Additional to a string any pseudo-variable could be used as input."
(http://openser.org/docs/modules/devel/carrierroute.html#id2533392)

However, the function currently only accepts AVP's and not any PVar (we have only tested the "$hdr(X-Carrier)"). As soon as we do

$avp(i:100) = $hdr(X-Carrier);

and then

cr_route("$avp(i:100)", ...

it works, but not using directly

cr_route("$hdr(X-Carrier)", ...

Carsten

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1986176&group_id=139143



More information about the Devel mailing list