[OGo-Discuss] CTI Integration

Helge Hess discuss@opengroupware.org
Wed, 28 Mar 2007 11:07:59 +0200


On Mar 28, 2007, at 07:11, Sebastian Reitenbach wrote:
> 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,

Only that the far majority of the modern world still uses phones  
attached to a specific place, even if its VoIP one ;-)

> 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.

Yes, some people do that :-)

> 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.

Yes. Its for inhouse operation.

> 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.

I'm not sure why you need a separate number for that? Sounds to me  
like it would be any of the regular numbers which is then matched  
against the phone prefix pattern of the PBX?

> 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.

Start in GDB, set a breakpoint, see what it does.

> Anybody could explain me, how the createCTIDialer is intended to work?

Could you ask the question in a more specific way? I think the  
sourcecode is rather obvious.

Helge
-- 
Helge Hess
http://www.helgehess.eu/