Feature #265

SPAM Text

Added by hat about 2 years ago. Updated over 1 year ago.

Status:Closed Start:12/21/2009
Priority:Normal Due date:01/30/2010
Assigned to:tshif % Done:

100%

Category:-
Target version:Caller ID Superfecta v 2.2.4 Maintenance Release

Description

Any way to have an option to just use what we enter in the spam text box with out prefixing it to the lookup result? What I want to do is use one of the FreePBX approved words (Anonymous, Restricted, etc)in the CID box of an incoming route and use that same word in the CID Superfecta spam text box. Then, when an incoming spam/telemarketer call returns a positive result via the lookup source(s), the only thing that would would be returned is the spam text (no number or lookup result). Basically, this feature would strip any number and name on a matching whocalled.us or phone spam lookup. The thought is to use this method to route telemarketers to the appropriate destination (hangup) without having it ring any phones.

History

Updated by tshif about 2 years ago

  • Status changed from New to Feedback

Could the same thing not be done with the code as it is?
I would like to understand better how stripping the returned data and leaving only the SPAM signifier word makes it easier to do what you want to do (route telemarketers to the appropriate destination (hangup)) -

I too have wanted more than just a prepended SPAM notification out of the spam rejection scoring - Id really like to know what your thinking.

Updated by hat about 2 years ago

For incoming routes, FreePBX only allows the following keywords (blocked, anonymous, restricted, unknown, unavailable, private) in the CID box. Superfecta prefixes spam/telemarketer calls with whatever we want.

If Superfecta could label a spam/telemarketer call with just what we place in the SPAM Text box (any matching FreePBX CID keyword) and not just prefix it to the delivered number and looked-up name result. We could, in theory, route the call to hangup.

How I think it works is as follows:
Call comes in.
CID Superfecta processes the CID, positive spam call, strips the number and just sends a FreePBX CID keyword.
Inbound route is selected based on the DID and/or CID setting in FreePBX (CID the important variable).
Inbound route sees call with matching keyword and processes it accordingly (hangup).

If there is another way to do this with Superfecta in its current release, I apologize for the noise.

Updated by tshif about 2 years ago

HAT - thanks for the great complete response. You always help so much when we ask for clarification and feedback.

Would a check mark box option in the SPAM scoring sources like "Strip/Substitute" enable/disable be good enough?
If this can be done in the data source alone - it might not be too tuff. But SPAM scoring is also sort of integrated globally in the module - this could be harder as we don't have any core module updates planned at this time.

Developers - can you envision a way to deploy HATs suggestion? I think it would add a lot to the value.

Updated by hat about 2 years ago

Thanks Tony. A strip/substitute check box would be perfect.

Updated by tshif about 2 years ago

  • Priority changed from Low to Normal

Updated by hat about 2 years ago

I do not know/fully understand how the inner workings of Superfecta operate. So..fwiw, I would guess that this feature would not be about spam scoring as much as it would be about what to do after a positive spam score is returned.

As far as core updates go, this feature could wait. It is more of a "nice to have."

Updated by tshif about 2 years ago

  • Tracker changed from Support to Feature

Updated by jacobsj about 2 years ago

  • % Done changed from 0 to 60

I went ahead and implemented the requested feature, but I'm not sure you'll be able to accomplish selecting an inbound route based on the CID because I believe that CID Superfecta is run by the inbound route after it has already been selected.

Never the less, the feature has been implemented and needs to be tested.

Updated by jacobsj about 2 years ago

  • Status changed from Feedback to QA Testing

Updated by hat about 2 years ago

Well, the new feature works, i.e. CIDname is completely replaced with the chosen keyword and no log errors. However, the CIDnumber still passes through. Can this feature be tweaked to delete the incoming number as well and just send the chosen keyword in place of the number? Considering what Jeremy said about the incoming call process this may not work at all like I had hoped. Hmmm, methinks I may need to spend some time on the freepbx site to get a better handle on incoming call handling.

Updated by bsau about 2 years ago

  • Due date set to 01/30/2010
  • Assigned to set to tshif
  • % Done changed from 60 to 80

QS: Pass, although it does not do what the requestor desired - due to FreePBX call flow. I suggest this feature be left available - although Im not personally sure what people will do with it.

Updated by tshif over 1 year ago

  • Status changed from QA Testing to Closed
  • Target version set to Caller ID Superfecta - Future Versions
  • % Done changed from 80 to 100

Updated by tshif over 1 year ago

  • Target version changed from Caller ID Superfecta - Future Versions to Caller ID Superfecta v 2.2.4 Maintenance Release

scheduled for build 2.2.4

Also available in: Atom PDF