[OpenSIPS-Users] drouting is_from_gw prepending with pri_prefix

Lasse Johnsen lasse at freebsdcluster.org
Mon Jul 13 02:40:27 CEST 2009


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



More information about the Users mailing list