Ticket #946 (closed Module Submissions: fixed)

Opened 2 years ago

Last modified 2 years ago

Caller Name Lookup

Reported by: webrainstorm Assigned to:
Priority: 9 Milestone:
Component: Phonebook Directory Version: 2.1
Keywords: callerid, caller id, lookup, caller name Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

Hi all, here is a new module that can lookup associated names from numeric caller IDs against different sources.

With this module you can integrate with your CRM and getting caller names displayed on your phones and saved in your CDR. You can easily retrieve names from internal astDB (see ticket #893), ENUM, HTTP server, MySQL database; also sugarCRM will be supported in the near future.

This release of the module still have many TODOs and many point to discuss, but I hope it will be a good starting point for everybody asking for this feature.

Hope it helps

Waiting for feedbacks ;)

Attachments

cidlookup-1.0.tgz (6.5 kB) - added by webrainstorm on 06/12/06 11:07:50.
extensions.class.php (17.4 kB) - added by webrainstorm on 06/12/06 11:17:28.
extensions.class.2.php (17.7 kB) - added by webrainstorm on 06/25/06 09:15:12.
Latest version (for 1.0.1)
cidlookup-1.0.1.tgz (10.0 kB) - added by webrainstorm on 06/25/06 10:02:36.

Change History

06/12/06 11:07:50 changed by webrainstorm

  • attachment cidlookup-1.0.tgz added.

06/12/06 11:17:09 changed by webrainstorm

Forgot to say, you need to use the extension.class.php attachet to this ticket (hope it will be included in the trunk)

It simply adds the following functions: - Gosub
- GosubIf?
- Return
- TXTCIDName
- LookupCIDName
- MYSQL(*

06/12/06 11:17:28 changed by webrainstorm

  • attachment extensions.class.php added.

06/12/06 16:09:03 changed by p_lindheimer

webrainstorm: are you doing any reverse phone lookups form websites? That would be a concern if you are since at least some claim they don't allow it and they do tend to change their format on occaision. (I do such reverse lookups - I'd just be hesitant to publicly distribute such. Let me know so we can collectively decide if this presents a problem or not).

p

06/12/06 23:49:07 changed by webrainstorm

p_lindheimer: not at the moment, HTTP is meant just for integrating with your own CRM as the module doesn't offer a way to parse the resulting HTML, it simply reads and use the whole content of the reply.

I don't like reverse lookup from websites very much as they may change (as you said) and may slow your system down, so I didn't implement it at them moment.

Anyway, is very easy to implement other sources in this module, even adding a local cache, maybe on astDB, will be useful. Maybe you can move the discussion on a dedicated Wiki Page to discuss with other developers and users ?

06/25/06 09:14:17 changed by webrainstorm

Here is version 1.0.1

It's now possibile to cache lookups in astDB, you can then edit them with the Asterisk phonebook module mentioned above

Still have to add the possibility to lookup the cache before querying external sources

Please also download the new extensions.class.php, I added support for the DB put function

Have fun ;)

06/25/06 09:15:12 changed by webrainstorm

  • attachment extensions.class.2.php added.

Latest version (for 1.0.1)

06/25/06 10:02:06 changed by webrainstorm

Sorry, version 1.0.1 (updated now) does a lookup in the cache before querying external sources.

Cache support is now complete in 1.0.1

06/25/06 10:02:36 changed by webrainstorm

  • attachment cidlookup-1.0.1.tgz added.

07/01/06 20:29:24 changed by webhoster

is there a way to test that this is working without making a telephone call. I have it set up and it looks just what i want if can get the select statement right but when i make a call only number is displayed and i don't know if that is because something is not right or i havevn't done something - i don;t see the box hitting the firewall of the mysql server.

Gavin

07/04/06 16:16:13 changed by RobThomas

  • status changed from new to closed.
  • resolution set to fixed.

Committed to 2.2! Thanks!

07/05/06 21:28:36 changed by gregmac

  • component changed from Core to Phonebook Module.

01/08/07 11:46:44 changed by

  • milestone deleted.

Milestone 2.2 deleted

01/18/07 00:37:18 changed by vgster

  • engine_version changed.
  • svn_rev changed.

#1683 is a bug that got reported for this mod. I've closed the bug but the link should still remain.

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads