Announcement

Collapse
No announcement yet.

Number Block Mask Issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Number Block Mask Issue

    I was able to implement every features in the plugin and everything is working great. I would like to implement the latest most important feature, the number block mask. I found this topic in the forum attached below but no matter what I do I get the call to go thru. Do I need to run an event based on the call or the number block mask alone should work? I tested with my cellular number by itself as well and still not working. Any suggestion is very much appreciated since I'm getting lot of telemarketing calls lately.

    By the way, in the log this is what I see: I have masked the name

    12/7/2022 11:48:45 AM
    UltraCID3
    Informational
    Incoming call from XXXXX,XXXX (326) 678-0029

    12/7/2022 11:48:44 AM
    UltraCID3
    Informational
    New incoming call detected ...





    HTML Code:
    My caller Id Number Block Mask regular expression looks like this:
    
    ^8(00|88|77|66)
    
    It blocks any incoming call that starts with 800, 888, 877 or 866. If you wanted to block callers from 123-456-0000 though 123-456-9999, then modify it as follows:
    
    ^(?:8(00|88|77|66)|123456\d{4})
    
    If you only want to block incoming calls from specific area code and exchange, then use:
    
    ^(?:123456|456789)\d{4}
    
    *Note: The above regex blocks calls from 123-456-0000 though 123-456-9999 and 456-789-0000 through 456-789-9999
    
    Put the regular expressions into https://regex101.com/ if you want to test them (and get an explanation on what they are doing).
    
    I hope this helps.
    ​
    Attached Files

    #2
    I use the plug-in to run events for certain caller ID's for quite some time and works with no issues. I use a USB modem and its T-Tapped on the phone line-in so it monitors or dials out only so it would be impossible for me to block my phone(s) from ringing with my hardware.

    I assume you use a telephone/fax modem with a line-in and a handset port-out and you are trying to capture telemarketer numbers and block your handset from ringing when the PI captures the caller ID?

    If you need me to help test anything for you to compare let me know?

    Comment


      #3
      That is very nice of you, thank you
      Right now everything is working great in regards to drop calls after that I mark them in the call logs menu. My issue is with dropping calls using the mask under options. As you can see from the screen, I would like to block an entire area code but it seems that that feature is not working. Do you use that feature?

      Sent from my SM-S906U using Tapatalk

      Comment


        #4
        Ok good to know you can have certain marked calls not ringing your handset so your hardware is receiving the AT 'drop caller' commands and working correctly by not ringing your handset(s).

        I don't use that feature, nor do I have the hardware to prevent a call from ringing though, but I will play with it today and see if I can get my caller log to at least report a blocked caller based on an area code I have google phone numbers from.

        I never thought to try blocking calls using the plug-in as my provider (Comcast) has a web interface where I put in numbers or ranges of numbers to block and they are blocked back at the source so I do not see them at all.

        I will see what I can come up with and let you know.

        Comment


          #5
          Thank you. I have Verizon, I didn't think about looking into that feature to block ranges of area codes, that will also eliminate my problem. Thank you again

          Sent from my SM-S906U using Tapatalk

          Comment


            #6
            FYI, no luck with Verizon, they don't have that feature.

            Sent from my SM-S906U using Tapatalk

            Comment


              #7
              Ha, I would have never known this would work for me! I tried changing the attributes of my alternate phone number in the caller log and chose to block that number. It rang through once and dropped the call right away. Tried again and it dropped the call so fast it never rang the handset. I will mess with the area code later today and see if I can make it do the same.

              Comment


                #8
                Don't know if this discussion will help.

                https://forums.homeseer.com/forum/te...of-phone-nmbrs

                It's working for me with two modems.

                Comment


                  #9
                  I see what you mean now. That Use Number Block Mask states it will change the callers attribute to block. I tried a few different regex on that line but doesn't seem to do what it is supposed too. I will keep chipping away at it

                  Comment


                    #10
                    Originally posted by prsmith777 View Post
                    Don't know if this discussion will help.

                    https://forums.homeseer.com/forum/te...of-phone-nmbrs

                    It's working for me with two modems.
                    thanks looks promising

                    Comment


                      #11
                      thank you for sharing it, alghouth I read that post a million of times and also used the web site regex without success. I'm sure I'm doing something wrong but I tried a single phone number (mine) area code and etc with no results 😂

                      Sent from my SM-S906U using Tapatalk

                      Comment


                        #12
                        I agree with Alpha. I have tried every valid regex I can come up with for my mobile's area code, area and exchange, heck even the first digit of my cell number to add a block attribute. I ran out of gas.

                        Doesn't work for me either sorry, I tried

                        Comment


                          #13
                          And I very much appreciated it, thank you.

                          Sent from my SM-S906U using Tapatalk

                          Comment


                            #14
                            What's not working? Examples?
                            Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

                            Comment


                              #15
                              UltraJones thanks for your help. I can give you lot of examples, followed your instructions and several of your posts, I think it would be easy if I tell you the different scenarios and you let me know how I would do it. I would like to block the entire area code 617 and 781. I also tried with a single number 6176552358. Few posts back in the same treat and you will see few examples. With that said if you like I can give you a print screen of what I have right now, either way will work. I also set the debug log mode but I do not see anything informational in it.



                              Sent from my SM-S906U using Tapatalk

                              Comment

                              Working...
                              X