Avestan - 2013-02-10

Hello everyone,

I am using the OpenSIPS as a load_balancer.  I have my DIDs pointing to the OpenSIPS which distributes the calls amount a farm of Asterisk Boxes.

I am getting invite requests from the OpenSIPS on my asterisk boxes which are not from a legitimate source (Not my DID providers).  Here is the example of what I am getting on one of Asterisk Boxes.

[Feb  9 14:29:10] NOTICE[18412]: chan_sip.c:14627 handle_request_invite: Call from 'opensips2' to extension '90000442033552673' rejected because extension not found.
[Feb  9 14:29:13] NOTICE[18412]: chan_sip.c:14627 handle_request_invite: Call from 'opensips2' to extension '9009442033552819' rejected because extension not found.
[Feb  9 14:29:16] NOTICE[18412]: chan_sip.c:14627 handle_request_invite: Call from 'opensips2' to extension '+9009442033552777' rejected because extension not found.
[Feb  9 14:29:19] NOTICE[18412]: chan_sip.c:14627 handle_request_invite: Call from 'opensips2' to extension '9011442033552673' rejected because extension not found.
[Feb  9 14:29:22] NOTICE[18412]: chan_sip.c:14627 handle_request_invite: Call from 'opensips2' to extension '+9011442033552819' rejected because extension not found.

If there anyway I add the list of legitimate DIDs to the OpenSIPS, so before the OpenSIPS uses the load_balancer module it can run check the authenticity of the extensions?

I thought of using an IF statement to check the "rU" of the invite and then drop the unwanted invites.  But the list of the DIDs is long and I was hopping for something nicer and more of a database look up like.

Thanks,