Hello,
I am getting a lot of hits on port 5060. I would like all registered users to be sent to the correct location (currently working), but all unwanted users allow them to connect and any number they dial it will alway play a wav file.
Is this possible if so how would I implement this.
Thanks
On Tuesday 26 November 2013 15:58:58 Joli Martinez wrote:
I am getting a lot of hits on port 5060. I would like all registered users to be sent to the correct location (currently working), but all unwanted users allow them to connect and any number they dial it will alway play a wav file.
Why would you want to do this? It's not like somebody is using a device that actually does complete call setups, most likely it is a script using http://blog.sipvicious.org/ or sipsak. Answering call will most likely intensify the efforts to find a weakness in your system.
But my guess would be to use sql as location storage and check if there is an unexpired registration with a contact/received from that ip/port combo.
On Tue, Nov 26, 2013 at 7:58 AM, Joli Martinez mrjoli021@gmail.com wrote:
Hello,
I am getting a lot of hits on port 5060. I would like all registered users to be sent to the correct location (currently working), but all unwanted users allow them to connect and any number they dial it will alway play a wav file.
To play the wav file, you'd need a media server like Asterisk or Freeswitch. Seems like a bad idea though. I would just ignore them, or use the Pike module.
Corey