[asterisk-users] POSSA CID Superfecta to query a CardDAV server ?

Marie Fischer marie at vtl.ee
Mon Sep 1 06:05:46 CDT 2014

On 01.09.2014, at 11:42, Lukasz Sokol <el.es.cr at gmail.com> wrote:

> On 31/08/14 17:40, Marie Fischer wrote:
>>> Le 29 août 2014 14:30, "Marie Fischer" <marie at vtl.ee> a écrit :
>>>> we use OSX CardDAV server and its response is very slow, so we
>>>> ended up syncing all the CardDAV contacts to MySQL via cron.
>>>> Asterisk dialplan then runs a query defined in func_odbc.conf.
> I have an EGroupware server (egroupware.org), CardDAV is 'built in' there.
> What timing is the CID Superfecta / Asterisk expecting ?
> (I do not need to run CardDAV sync between servers, supposedly this should be
> much faster)

Well, you made me curious - wrote up a little perl script to do a filtered report by phone number. It takes 2-3 seconds to get a response from OSX server (Mavericks). Which sure is shorter then doing a full sync, but still longish. Would be interesting to know how long other servers take.

Now, for CID you would want this to run in your dial plan after the call comes in and before you Dial() your local extension. One ringtone is 5 seconds (1 sec tone, 4 sec silence), so it's actually not too bad (remember those analog caller ID boxes which got the caller ID between first and second ringtone?). Maybe you'd need to send Progress() or Ringing() back to the calling party.



More information about the asterisk-users mailing list