Block calls by CNAM (CallerID Name) on OBI200?

<< < (2/6) > >>

Darv:
I will look into that, but it might also block (for example) the reminders from my dentist, or frustrate other legitimate calls that I haven't pre-"whitelisted".    

I am used to the system I have (specifically blocking numbers and names) but it resulted in a long list that the Obi can't seem to support.

I am looking at sip proxy scripts to see if they can be used in the middle as a call blocker, but they all seem to be quite complicated.

azrobert:
Another option is SipSorcery. It would be a relative easy setup, just a dial plan. SipSorcery uses Ruby programming language for their dial plans and I could help. You would be able to block by CallerID number and name. The only problem is the cost, $69/year.

https://www.sipsorcery.com/mainsite/Home/Pricing

Darv:
Interesting service but probably overkill.  I'm looking for a simple & free solution to block calls.  Call blocking is just string matching (on the number or name) and rejecting calls, so I was hoping it would be easy.

Darv:
I am hoping someone with SIP experience can tell me if this would be on the right track:

If I locally use a "SIP Redirect server" that "SIP Registers" with my VOIP.MS account, it will receive all the incoming call INVITE notifications.  It would be a simple script, like the PJSIP Python "call" and "register" scripts.

This script will check the CallerID # and Name, and if they are not blacklisted it will send a "302 Redirect" to tell VOIP.MS to "SIP Contact" the OBI200's IP/Port.  
references: Wikipedia SIP Response Codes , PJSIP Redirect

If it is blacklisted I guess it sends a 486 busy or some other response code.

I then set the "ProxyServer" on the Obi200 to VOIP.MS as usual, but I should set the "RegistrarServer" to be  the SIP Redirect server (or is there a way to turn off RegistrarServer?) so the Obi doesn't receive calls directly from voip.ms and therefore won't ring if the number is blocked. I'm not sure if I would also need to set the "OutboundProxy" to VOIP.MS.

I hope authentication with VOIP.MS would still work for all incoming and outgoing calls on the OBI connected phones.

Does that sound reasonable?

azrobert:
You could use Yate PBX. I know you didn't want to use a PBX, but Yate installs in a few minutes and you only need 1 config file when routing calls by IP address. Yate runs on different platforms, but I only used the Windows version. It took me about 15 minutes to code and test blocking by CallerID and Cnam. I already had Yate installed.

http://docs.yate.ro/wiki/Download

Click on "Yate 6.1.0-1" to install.

Navigation

[0] Message Index

[#] Next page

[*] Previous page