Feature #449

NEW User Provided data source source-Telepest_UK.php

Added by tshif over 1 year ago. Updated over 1 year ago.

Status:QA Testing Start:12/28/2010
Priority:Normal Due date:
Assigned to:ukstevef % Done:

60%

Category:Development
Target version:Caller ID Superfecta v 2.2.5 Maintenance Release

Description

ukstevef @ PBXIAF posted this data source.

It in r406 awaiting testing.

source-Telepest_UK.php (12 KB) ukstevef, 12/29/2010 01:24 pm


Related issues

related to Caller ID Superfecta - Bug #453: data source PhoneSpamFilter_UK needs report back function QA Testing 12/29/2010
related to Caller ID Superfecta - Feature #450: New data source source-Telepest_US.php Feedback 12/29/2010
related to Caller ID Superfecta - Bug #452: data source PhoneSpamFilter needs report back function Reviewed 12/29/2010
related to Caller ID Superfecta - Feature #406: Feature request: Add spam scoring to who_called lookup source QA Testing 12/19/2010
duplicates Caller ID Superfecta - Support #447: Lookup source Telepest_UK Closed 12/28/2010

History

Updated by tshif over 1 year ago

  • Status changed from New to QA Testing

Updated by tshif over 1 year ago

  • Status changed from QA Testing to Reviewed

This data source doesn't enable report back - which is what community supported sources like this one live on.

It's a SHAME to keep releasing new data sources that should be report-back option enabled, but aren't. Perhaps ukstevef would look at the who called us source and take a stab at deploying this source completely - by including the report-back option.

Updated by tshif over 1 year ago

  • % Done changed from 0 to 20

QS: Basic Pass. This data source is zero emission. Nice job so far.

Being held from live update pending the report back option being added to this data source.

Updated by tshif over 1 year ago

r408 adds report back to the interface - but line 235 could use a programmers attention - I think its all that stands between the data source and release.

It would be nice if this data source could have an option as to weather nor not to report back the SPAM flag (if it has been set by the acquiring data source) as well as the CNAM. Currently, the code only goes so far as to report back CNAM.

Updated by tshif over 1 year ago

  • Category set to Development

Updated by tshif over 1 year ago

Ok - In fact, having read their terms and conditions, they only want to have calls that ARE SPAM reported, unless you are the owner trying to get delisted.

Thats would mean for report back to be enabled for this source, we would have to figure out how report back the SPAM flag(if set by the successful data source), trigger report back (if enabled) ONLY if the CNAM collected is marked as SPAM.

Its sort of something we said we wanted to address - maybe now is the time.

Updated by tshif over 1 year ago

This site is really set up to be more of a SPAM recognition tool than a CNAM source. Your far more likely to get a positive it for a SPAM source than for a non SPAM source.

The data source doesn't seem to set the SPAM flag available to data sources - unless I'm missing something. When it scores the call as SPAM - it sets CallerID = 'Telepest' - and then ends.

I think correct behavior is that it should check number, collect CNAM and SPAM status. If SPAM, it should set the SPAM flag and return the CNAM data it gets from telepest.

Feedback please - I could be seeing this all wrong.

Updated by tshif over 1 year ago

This data source does not return the phrase "not found" when run in debug and the data source returns a negative response.

Updated by tshif over 1 year ago

Additional activity related to this case in PBXIAF forum

Updated by lgaetz over 1 year ago

Looks like the OP (ukstevef) was not aware of the $spam variable and used $caller_id to report back the telepest status. Ukstevef has uploaded a revised version to PIAF forum here: [[http://pbxinaflash.com/forum/showpost.php?p=56705&postcount=668]] This new version sets the $spam variable and it also sets $caller_id = "telepest" when more detailed CNAM is not available and in the comments asks if that is correct. It is not, $caller_id should be left alone if no CNAM is available IMO.

Also I believe this source needs toggles for user to allow this source to get spam status or CNAM or both.

I was tempted to try to combine the two efforts ukstevef's revision and tshif's revision but too many cooks...

Updated by ukstevef over 1 year ago

I have merged the changes, not sure how to proceed from here.
The feedback resides in a hidden div, and requires a name, email, comment, and spam score - these will have to be stored as config items I assume.

Updated by tshif over 1 year ago

Excellent Steve and thanks. Ill look at the new commit asap and see if I can help out,

Updated by tshif over 1 year ago

  • Assigned to set to ukstevef

Updated by tshif over 1 year ago

Steve - I misunderstood - thought you had committed your changes.
You can either add them to the SVN, or attach your updated code to this ticket and ask for us to review.
For info on SVN policies - check the wiki

Particularly the first two links on that page.

Updated by ukstevef over 1 year ago

Thanks for the direction, I will check the wiki for further details on how to behave myself here :-)

Can you review the code that I attached in #12. I am not sure how to send the form data though.

Updated by tshif over 1 year ago

  • Target version changed from Caller ID Superfecta Source Files to Caller ID Superfecta v 2.2.5 Maintenance Release

Updated by tshif over 1 year ago

  • Status changed from Reviewed to QA Testing
  • % Done changed from 20 to 60

r418 has the report back feature disabled.
This data source is ready for QS.

Updated by tshif over 1 year ago

  • Subject changed from User Provided data source source-Telepest_UK.php to NEW User Provided data source source-Telepest_UK.php

Also available in: Atom PDF