[asterisk-users] OT - How to query vcard-like data for CTI app

Klaus Darilion klaus.mailinglists at pernau.at
Tue Jun 1 09:17:03 CDT 2010


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
>



More information about the asterisk-users mailing list