On Friday 09 June 2006 12:51, Nick Rout wrote:
> That looks like standard vcard stuff. I would be surprised if there was
> not a perl or python library to access it.

Indeed it is, I should have mentioned I wanted to do it in bash.

> Or indeed that kde scripting thingy, the name of which bloody escapes
> me...

I thought of DCOP before I posted but I thought "There's probably no DCOP 
function for that."

Oh how wrong I was:

dcop kaddressbook KAddressBookIface getNameByPhone

Wow, exactly what I need. Thanks for the pointer.

If anyone is interested, what I am doing is using telnet to talk to the 
Asterisk manager interface and generate a call to my desk phone, when my desk 
phone is answered it then calls out to the number that was clicked on. All in 
a couple of lines of bash. Linux is cool.

hads

-- 
We don't know who it was that discovered water, but we're pretty sure
that it wasn't a fish.
        -- Marshall McLuhan

Reply via email to