Hello,

I have been experimenting with getting Tiny integrated with my various other 
systems.

I am using the c2c ldap updater to get tiny partner info into my ldap 
directory, and I have put together a script that asterisk can use to lookup 
caller ID information from ldap based on the incoming number.  Also, my email 
client can read email addresses etc from the ldap directory.

I have also written an app that sits in my tray and pops up the callerid and 
name for any incoming calls (and will mute the sound on my PC once I get the 
sound drivers fixed).

I have updated this script so that it will establish an outbound call from my 
extension if passed a phone number.  I am using KDE and have added a protocol 
handler for callto: so that my script is called if any callto: links are 
clicked.

I have also used a greasemonkey script to add callto: links to any phone 
numbers firefox sees and the firefox callto: handler passes them to my script.

So all this is good stuff.

But now I am circling back to tiny - I want to be able to click to dial parter 
numbers.  The tiny client understands a callto widget, like it does a url or 
mailto widget.  So in the partner contact form xml I have added the "callto" 
widget to all the phone number fields.  Now if I click any of the callto 
widgets, it causes my browser to start with the url field populated with the 
tinyerp-script.py and phone number instead of calling the OS URI...

Ah.  As I was typing all this, it occured to me that I may have used a "url" 
widget on one of the fields - and so I did.  But I had written all this and 
thought people may be interested.  If you want more detail about any of this 
stuff let me know.

In any case - the client appears to call the browser anyway, which then 
receives a "callto" and passes it to the callto handler.  I imagine this is the 
easiest way to do this stuff cross platform...

Paul

------------------------
ServWise Advanced Web Hosting - Better, Faster, Smarter 
(http://www.servwise.com)




_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to