Thanks Duane,
That was going to be my last resort solution. I hoped there might be a
built-in function I had missed in one of the modules.
The fields in the location table do not lend themselves to this type of
search, especially as "received" is left empty whenever it would be
identical to "contact". Received is the one that contains the relevant IP
address, except when it is empty.
John

 From: [email protected] [mailto:[email protected]] 
 Sent: 23 April 2012 16:14
 To: [email protected]; OpenSIPS users mailling list
 Subject: Re: [OpenSIPS-Users] Checking registered IP

 Not sure if there is another way but you could use this if you are using a
database for your Location Table

 http://www.opensips.org/html/docs/modules/1.8.x/avpops.html#id292750

 On , John Quick <[email protected]> wrote:
> Is there a simple way to check the source IP address of a new SIP request
> against the location table?
> 
> I am looking for a way to filter OPTIONS requests so they are accepted
when
> they come from a registered device, even if the AOR/username does not
match.
> 
> Thanks.
> John Quick
> 
> Smartvox Limited
> Web: www.smartvox.co.uk
> 
> _______________________________________________
> 
> Users mailing list
> 
> [email protected]
> 
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to