Olivier
2010-May-22 07:30 UTC
[asterisk-users] OT - How to query vcard-like data for CTI app
Hi, While this question does not directly concern Asterisk, it certainly relates to CTI applications. When building CTI application, you can meet 3 data types : - LDAP data, for employee data, - SQL data, for customer or structured data, - vCards-like, for various contacts mostly stored in Email's address books. It is very common to deal with LDAP or SQL databases, from a program. I would be very curious for learning purpose, to write a (Java, PHP, or other) program able to query a vCards-like data source to find caller's name, from caller id. I looked at http://carddav.calconnect.org/implementations.html. What would you suggest to use as : - query language and library - vCards server Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100522/640faa97/attachment.htm
Klaus Darilion
2010-Jun-01 14:17 UTC
[asterisk-users] OT - How to query vcard-like data for CTI app
Hi Olivier! There is a php AGI script available at http://www.enum.at/index.php?id=522 that 1. performs ENUM lookup for CLI and looks for vcard service 2. fetch vcard from URI 3. fetch name from vcard and set the callerid-name. maybe this helps you to start with vcard parsing regards klaus Am 22.05.2010 09:30, schrieb Olivier:> Hi, > > While this question does not directly concern Asterisk, it certainly > relates to CTI applications. > > When building CTI application, you can meet 3 data types : > - LDAP data, for employee data, > - SQL data, for customer or structured data, > - vCards-like, for various contacts mostly stored in Email's address books. > > It is very common to deal with LDAP or SQL databases, from a program. > > I would be very curious for learning purpose, to write a (Java, PHP, or > other) program able to query a vCards-like data source to find caller's > name, from caller id. > > I looked at http://carddav.calconnect.org/implementations.html. > What would you suggest to use as : > - query language and library > - vCards server > > Regards >