That should be done automatically by the do_routing function, unless of
course you are writing the output of that function to an AVP instead of a
RURI. Where it'll end up in the AVP.
-Brett


On Sun, Jul 12, 2009 at 7:40 PM, Lasse Johnsen <la...@freebsdcluster.org>wrote:

> Hi,
>
> I use the is_from_gw function in drouting to authenticate what
> gateways are allowed to talk to my OpenSIPS server.
>
> I understand that I can strip something from the R-URI using this
> function. Is there anyway I can add the gateway db entry's pri_prefix
> in the same fashion.
>
> I essentially want to prepend the r-uri based on the originating
> gateway. What is the best way of doing this.
>
>
> /Lasse
>
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to