AnsweredAssumed Answered

problem with client api

Question asked by ashlyjay on Jun 15, 2009
Latest reply on Jun 18, 2009 by ashlyjay

guys, iam confused right now..this is with regards the asterisk-im.jar

 

Client API

The client API first requires that the Asterisk-IM server plugin is installed. To initialize the      client do the following:

XMPPConnection conn = new XMPPConnection("myserver.foo.com", "user", "password");
PhoneClient client = new PhoneClient(conn);

Note that the XMPPConnection passed in must be authenticated. If an unauthenticated connection is passed in an      exception will be thrown.

 

where can i add the 2 following lines???

Outcomes