powered by Jive Software

Problem with client api

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

read from other forum…

solve…