Re: Help

Jesús Martínez Martínez <[email protected]> Fri, 2 Jun 2006 11:40:41 +0200
Newsgroups gmane.comp.java.sun.jtapi
Message-ID <[email protected]>
Hello Nikhil,

You can start with specifications examples. JTAPI 1.4 contains some file
.java, for example, inCall.java. This is good example for start with
JTAPI. For me, the most important is know peer and provider.
If you used Cisco provider, the code is like:

        String ctiServer = "<ip_your_server>";
        String appId = "<user_id>";
        String appPassword = "<password>";
        try {
         System.out.println("Initializing Jtapi");
         JtapiPeer peer = JtapiPeerFactory.getJtapiPeer(null);
         String providerString
ctiServer+";login="+appId+";passwd="+appPassword;
         System.out.println("Opening JTAPI provider connection to " +
ctiServer + "...");
         provider = peer.getProvider(providerString);
         provider.addObserver(this);
         conditionInService.waitTrue();
        ...

Bye.

--
***********************************************************
Jesús Martínez Martínez
INOVE Information Technology inc.
http://www.inove.es
IP Telephony departament
Despacho B1.2.004
30420 Calasparra. Murcia (Spain)
E-mail: [email protected]
Tfno: 34 700 754 652

nikhil subhedar escribió:
>> Hello everybody  ,
>> I Nikhil from India very much intrested in jtapi i have sdk such as
>> jdk1.3
>> and j2se also i downloaded the specifications of jtapi from java's
>> site but
>> i don't know from where i have to start this and how to use these
>> specifications with these sdk's so please  help me
>> Thanks with regards
>> Nikhil
>>
>> ===========================================================================
>>
>> To unsubscribe, send email to [email protected] and include in
>> the body
>> of the message "signoff JTAPI-INTEREST".  For general help, send
>> email to
>> [email protected] and include in the body of the message "help".
>
> ===========================================================================
>
> To unsubscribe, send email to [email protected] and include in the
> body
> of the message "signoff JTAPI-INTEREST".  For general help, send email to
> [email protected] and include in the body of the message "help".
>
>

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JTAPI-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".