[Serusers] IP compare between clients

Jan Janak jan at iptel.org
Mon Jul 26 19:31:00 CEST 2004


You can do it only if the request is forwarded to the URI in the
Request-URI and if the Request-URI contains an IP address in hostname
part. In this case you can use something like:

if (uri =~ "^sip:.*@192\.")

 Jan.

On 25-07 13:13, Shi Hoch wrote:
> I want to compare between clients IP's (in order to decide whether to
> use a RTP proxy on this call or not).
> 
> I thought of marking with flags different IP classes (192, 168, etc.)
> 
> But still I don't know how to get the flag/IP of the contacted side.
> 
>  
> 
> Any ideas?
> 
> Shi Hoch
> 

> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list