[OpenSIPS-Devel] [ opensips-Bugs-2172142 ] drouting: non-standard do_routing() parameter

SourceForge.net noreply at sourceforge.net
Fri Oct 17 10:29:03 CEST 2008


Bugs item #2172142, was opened at 2008-10-16 19:00
Message generated for change (Settings changed) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2172142&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: Open
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Norm Brandinger (norm_brandinger)
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: drouting: non-standard do_routing() parameter

Initial Comment:
Trying to set the group id as follows:

do_routing("$avp(s:GW_GROUP)") 

This fails with a syntax error. The current format is:

do_routing("s:GW_GROUP")

It would be a good idea to change do_routing to accept $avp(s:GW_GROUP) format.

In addition, it appears that string avp's are not supported.  The current method to make this work is to use something like the following:

$avp(i:32) = 0;
do_routing("i:32");

I would recommend that both of the above restrictions be lifted.




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

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



More information about the Devel mailing list