[OGo-Discuss] CTI Integration

Sebastian Reitenbach discuss@opengroupware.org
Mon, 26 Mar 2007 17:04:43 +0200


Hi all,

I took a quick look at the following page: 
http://www.opengroupware.org/en/users/docs/snippets/CTI/ and at the  
STLIDialer. At least for me it looks fairly easy to add a Dialer for 
Asterisk, the same way the one for the STLI protocol is working.

If I am correct, I only need to implement these two methods:
- (BOOL)canDialNumber:(NSString *)_number;
- (BOOL)dialNumber:(NSString *)_number fromDevice:(NSString *)_device;
that should not be a problem. 

At the end of the page, I read:

A lot of the relevant source code is in OpenGroupware+CTI.m 
(WebUI/OpenGroupware.org/). In short you need to write a plugin which 
declares CTIDialers in the bundle-info.plist.

below my bundle-info.plist file:

{
  requires = {
    bundleManagerVersion = 1;
    classes = (
      { name = NSObject;    }
    );
  };

  provides = {
    CTIDialers = (
        { name = AsteriskDialer;     }
    );
    classes    = (
        { name = AsteriskDialer;     },
        { name = AsteriskConnection; }
    );
  };
}


But still, with starting ogo, I do not have any CTI-Dialer listed at 
startup, neither the STLI Dialer, nor the Asterisk Dialer.

Do I need to set a Default to enable a given dialer?

At least, I did a make install for both diallers, and got no error message, 
so I assume this must have worked, any hint why not all 


kind regards
Sebastian