[OGo-Users] Re: click-to-dial & Asterisk

Sebastian Reitenbach users@opengroupware.org
Sat, 15 Dec 2007 08:46:22 +0100


users@opengroupware.org wrote: 
> Following up the mail I just sent,  strace /usr/sbin/ogo-webui-1.1 > 
> output.txt 2>&1
> gives the file output.txt, which I've attached to this email.
You only traced the main process/thread, which is the watchdog. 

You have to run strace -fF /usr/sbin/ogo-webui-1.1
to see the interesting stuff. 

I just reinstalled the AsteriskDialer.cti on my box, and figured out, it is 
not working out of the box :(
On OpenBSD the equivalent to strace is ktrace, and I figured out, that ogo 
tries to open a .../AsteriskDialer.cti/bundle-info.plist file.
This one did not got installed, but there is 
a .../AsteriskDialer.cti/Resources/bundle-info.plist installed.

I fixed my installation after I cd into AsteriskDialer.cti directory and did 
a ln -s Resources/bundle-info.plist bundle-info.plist

and restarting ogo.

Then the line:
Dec 15 08:32:07 ogo-webui-1.1 [29412]: |ogo-webui-1.1| CTI Dialers:
changed to:
Dec 15 08:32:07 ogo-webui-1.1 [29412]: |ogo-webui-1.1| CTI Dialers: 
AsteriskDialer

does that work for you too?

If not, then the AsteriskDialer.cti directory is still in the wrong 
location, but with tracing the child processes too, you should be able to 
spot the place where ogo searches for it.

Sebastian