tSIP softphone: freecnam.org plugin
This plugin uses https://freecnam.org/ to fetch description/name of the phone number. Fetched text is displayed on the button specified in plugin settings (cfg file), button #15 by default. Fetched texts are cached in RAM if reply is HTTP/200.
Plugin configuration includes minimum and maximum number of digits for which name is fetched. By default this is 10 and 10 as freecnam.org is US-centric and only accepts this length.
One big issue of freecnam.org is that very often it returns "Error: ratelimit or other issue" - so often that it might not be practical to use at all. This plugin might serve though as an example of using HTTPS as a data source (with help of naett/winhttp).
Source + binary: tSIP-plugin-g729-FreecnamOrg.zip.
Built with Code::Blocks 25 + MinGW 32-bit (codeblocks-25.03mingw-32bit-nosetup.zip).
Github: https://github.com/tomek-o/tSIP-plugin-FreecnamOrg.
Back to tSIP.