Block calls by CNAM (CallerID Name) on OBI200?
azrobert:
How about the following? The OBi200 forks all calls to the phone port and Yate. If Yate gets a reject match, it answers the call with a SIT tone and the OBi200 phone doesn't ring. You can probably send the call to another service that will produce an error message. If no reject match, Yate produces an authorization error for the call from the OBi200 and the inbound call rings the OBi200 phone. If Yate is down, all calls will ring the OBi200 phone.
drgeoff:
Quote from: Darv on October 19, 2019, 12:56:09 pm
But is there any way to turn off SIP Registration on the Obi200?
X_RegisterEnable tick box under the relevant Voice Services, SPx.
Darv:
Quote from: drgeoff on October 19, 2019, 01:40:24 pm
X_RegisterEnable tick box under the relevant Voice Services, SPx.
Thank you!
Quote from: azrobert on October 19, 2019, 01:35:36 pm
How about the following? The OBi200 forks all calls to the phone port and Yate. If Yate gets a reject match, it answers the call with a SIT tone and the OBi200 phone doesn't ring. You can probably send the call to another service that will produce an error message. If no reject match, Yate produces an authorization error for the call from the OBi200 and the inbound call rings the OBi200 phone. If Yate is down, all calls will ring the OBi200 phone.
Interesting, but is there a guarantee that the phone doesn't ring, or is it just a race and hope that it doesn't?
Also, I don't want another call service, I'm trying to keep it simple and local. If Yate answers and can send the tone itself that would be better, but isn't answering the phone theoretically more expensive than sending a busy (or other) response code?
I don't know how to configure that type of setup in Obi and Yate, but these links make it seem complicated link1 link2. I'll have to read more about Yate.
azrobert:
It is a race, but I tried it several times and my phone didn't ring. If you do have a problem, you can change the OBi200 ring pattern to have 1 or 2 seconds of silence at the beginning.
Yate can answer the call with a SIT tone. Yate must answer the call to stop the phone ringing. When one leg of a forked call fails the other leg continues to ring.
azrobert:
Download Yate install for Windows:
http://voip.null.ro/tarballs/yate6/yate-6.1.0-1-setup.exe
Select Run
I think you take all the defaults (it's been a long time since my last install).
Yate files are stored at "Program Files (x86)/Yate"
Again, I think you only need 1 config file.
regexroute.conf
Code:
[default]
;
; Lines beginning with ";" are comments
;
; Repeat the following as needed
${caller}^8005551212$= goto RejCall
${callername}^unknown$= goto RejCall
.*$=-;error=noauth
; This produces an authorization error and the call processing ends.
; The call leg to the OBI200 phone is not affected.
[RejCall]
.*$=tone/info
; This answers the call with a SIT tone.
Copy the above code into Notepad. Save it as "regexroute.conf".
Do NOT save it as a text file.
Select "All Files" as the type.
Copy the conf file to "Program Files (x86)/Yate/conf.d"
Yate is installed as a Service.
Start Yate by searching for "services app" and click on it.
The Service name is "Yet Another Telephony Engine".
Right click on it and select Start.
If you want to start Yate on boot, right click and select Properties.
Change Startup Type to "Automatic".
Stop and Start Yate after any config changes.
You can also start Yate as an application.
The app is found here "Program Files (x86)/Yate/yate-console"
Double click to start it.
You can create a desktop shortcut.
The advantage of the app is that error messages are displayed in the app window.
Stop the app by closing the window.
Edit:
I forgot the OBi200 mods.
Voice Services -> SPx Service -> X_InboundCallRoute:
ph,sp4(100@xx.xx.xx.xx)
Change xx.xx.xx.xx to the IP address of the computer running Yate.
Service Providers -> ITSP Profile D -> SIP -> ProxyServer: 127.0.0.1
Service Providers -> ITSP Profile D -> SIP -> X_SpoofCallerID: Checked
Voice Services -> SP4 Service -> AuthUserName: anything
Voice Services -> SP4 Service -> X_RegisterEnable: unchecked
Voice Services -> SP4 Service -> X_ServProvProfile: D
If you have a non-GV trunk, you can use it instead of a dummy trunk defined on SP4. X_SpoofCallerID must be checked.
Navigation
[0] Message Index
[#] Next page
[*] Previous page