Well, I finally figured out how to configure this feature and thought I’d share it with you.
I used a file I obtained from Nerd Vittles at http://nerdvittles.com/trixbox123/Click2Dial.zip.
I modified this file so it would work with my egroupware and I have attached the modified file (click2dial1.php (4.48 KB)) for your convenience.
Place this file in in the /var/www/html directory.
I did a “chown asterisk:asterisk click2dial1.php” just in case.
You might need to edit this file if you have something other than a non stock trixbox installation.
In egroupware go to Admin–>Addressbook–>Site configuration.
In the Telephony intergration section,
The url field should have the following: http://the.ipaddress.to.asterisk/click2dial1.php?txtphonenumber=%1&txtname=%u&callernum=%t
The popup field should have the following: 400x300
Click Save at bottom of page.
In the addressbook, it is important that the contact information for the calling party properly reflect the correct number that will be dialed first. In my case the I have placed my sip extension number in the Business field in the Phone Numbers section of the contact window.
Then just go to your addressbook and you will see that telephone numbers are hyperlinked. When you click on the telephone number the calling party will be called first, when you answer the called number will be dialed.
That should do it!
PS. I know I hacked the click2dial1.php file and that it can be cleaned up, but I will leave that to someone other than me as I am not well versed in php.