Blocking inbound SIP spam calls
ianobi:
rcmobi - welcome to the forum.
As often happens, things have moved on. See this post:
http://www.obitalk.com/forum/index.php?topic=5467.msg35387#msg35387
My preferred choice now is to use methods 2 and 4 in the above post.
YatLee:
Thanks. Did you mean to change X_UserAgentPort OR X_KeepAliveServerPort?
Quote from: ianobi on March 09, 2013, 09:39:44 am
Three actions can be taken:
1. Change:
Voice Services -> SP1 Service -> X_UserAgentPort : 5060
5060 is the most likely target as it’s a standard SIP “listening port”. I would change all the UserAgentPorts to some obscure range, maybe 5470, 5471 etc.
2. Set a good InboundCallRoute trap on each sp. Currently I’m using:
Voice Services > SP1 Service > X_InboundCallRoute:
{(?|@|@@|@@@|@@@@|@@@@@|@@@@@@):},{ph}
This stops calls with no CallerID and any CallerID with less than seven alphanumeric characters. CallerIDs such as 100, 1001, test1, admin etc are stopped.
3. Configure:
Service Providers -> ITSP Profile x -> SIP -> X_AccessList
Quote from RonR:
Quote
It's possible for calls to come directly into your OBi. The OBi accepts SIP URI calls addressed to <anything>@your_ipaddress:5060 if SP1 is configured for SIP and <anything>@your_ipaddress:5061 if SP2 is configured for SIP.
You can prevent unauthorized SIP activity by configuring:
Service Providers -> ITSP Profile x -> SIP -> X_AccessList
with a list of IP addresses authorized to communicate with that particular SPx Service.
Generally, this list contains your service provider's IP address and the IP addresses of anyone you expect to get SIP URI calls from.
I have found just using items 1 and 2 above was enough to stop all nuisance calls.
It is odd how the spam calls always come in the early hours of the morning, no matter what time zone you live in >:(
ianobi:
I definitely mean X_UserAgentPort. Each sp has its own ip address/port. The port for sp1 is 5060, which is used by most SIP providers / devices as the port to listen for incoming calls. That's why the SIP scanners target 5060 and others around the range 5060 - 5070.
If you change the X_UserAgentPort to an obscure number, then your OBi will update your voip service provider in its next "register message", so your voip provider knows where to send calls to.
Navigation
[0] Message Index
[*] Previous page