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
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers