txs Daniel, but unfortunately upgrading to the new version is not an option at this
time.
I am kind of confused now with trying to use Dispatcher or LCR to filter the inbound
request, although they provide with functions to check the origination IPI thought that
their use was mainly to know where to route the calls to.
For LCR module, how would it work for filtering by IP? I thought that the GWs on the GW
table are used to send calls to.
Can you please provide more info on this?
jp
________________________________
From: Daniel-Constantin Mierla <miconda(a)gmail.com>
To: Juan Perez <jperezsip2008(a)yahoo.com>
Cc: users(a)lists.kamailio.org
Sent: Friday, March 6, 2009 4:58:00 AM
Subject: Re: [Kamailio-Users] controlling inbound calls
On 03/05/2009 11:35 PM, Juan Perez wrote:
hello guys
I need to control by IP,port,R-URI who can send calls to our proxy. Looking thru the doc
I saw only 1 module that I can use, PERMISSIONS with either
permissions allow you to
filter by ip and port. For R-URI limitations you can use avps (see avpops).
There are other module that can check the source address, like lcr, dispatcher. Also
userblacklist module might be helpful here.
Trusted Requests or Address Permissions modes enabled..
Is this the only method or am I missing something?
this is for kamailio 1.4.3_no_tls
With 1.5.o which was just released:
http://www.kamailio.org/mos/view/Kamailio-OpenSER-v1.5.0-Release-Notes
you can build won logic using htable and/or sqlops modules.
http://kamailio.org/docs/modules/1.5.x/
Cheers,
Daniel
-- Daniel-Constantin Mierla
http://www.asipto.com