FreePBX / superfecta

Provides simultaneous use of, and complete control over multiple caller id data sources.
http://www.freepbx.org
GNU General Public License v2.0
58 stars 93 forks source link

Lookup source request: CardDAV #64

Closed lgaetz closed 12 years ago

lgaetz commented 12 years ago

Requested here: http://pbxinaflash.com/forum/showthread.php?t=12513

Possible code here to reference: https://github.com/graviox/CardDAV-PHP/

lgaetz commented 12 years ago

I started a ticket on the graviox project here where I learned that there is no carddav query yet, the idea is to grab all the carddav records and search thru it for the desired CNAM. This makes it impractical in my opinion for Superfecta, so I shall not be pursuing it further. Until carrdav supports queries, it would be better to approach this problem by creating code independent of Superfecta and setting it to periodically sync the carddav records with the Superfecta cache.

Using the graviox code above I did manage to initiate a server connection to an OSX server with credentials provided by Womble1 from PIAF forum, but never did get the get() working, it errors out with this:

The PROPFIND method is not allowed for the requested URL.

I document my experience here for others who may want to proceed.