[OpenSIPS-Users] drouting is_from_gw prepending with pri_prefix

Brett Nemeroff brett at nemeroff.com
Mon Jul 13 17:25:08 CEST 2009


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 <lasse at 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 at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090713/7aeb8944/attachment.htm 


More information about the Users mailing list