Re: CTI Integration
"Sebastian Reitenbach" <[email protected]> Wed, 28 Mar 2007 07:11:41 +0200
| Newsgroups | gmane.comp.cms.opengroupware.discuss.general |
|---|---|
| Organization | L00 bugdead prods. |
| Message-ID | <[email protected]> |
Hi, > > > yeah, it did not ;) > > If you have multiple dialers installed, you need to select the one > > you want using the "CTIDialer" default. Otherwise it will select the > > first one it finds. > > in SkyDialNumber.m, in (NSString *)activeCTITelephone, a Default CTIRemoteHostToDevice is checked, to map the client hosts with telephone device. This is fine with "older" telephone systems, but not really useful in a modern world, where the telephones are more or less mobile, e.g. I log in from any host, and my telephone number is still the same, because I use a softphone. This check seems to be also useless, if there are proxies used to access ogo, or if users work with thin clients from a terminal server. So all the users will access ogo from the same IP address. I'd like to propose the use of a telephone field, e.g. 04_tel_ext, that stores an internal telephone system extension of accounts. When the account log in, then this number is used to determine the telephone of the user. I use it that way with SkyDialLink, and an external php script. > > You already found the relevant code section. I am not sure about that. Also in SkyDialNumber.m, in - (id)dialer, it tries to create a dialer: dialer = [[WOApplication application] createCTIDialer]; but whatever I do, the dialer is always nil. some lines above I found this: @interface WOApplication(CTI) - (id)createCTIDialer; @end and in OpenGroupware+CTI.m, I found an implementation of createCTIDialer, but when I add a NSLog() line there, it is never called. Anybody could explain me, how the createCTIDialer is intended to work? kind regards Sebastian -- OpenGroupware.org Discussion [email protected] http://mail.opengroupware.org/mailman/listinfo/discuss