Re: pick up call on CTI routepoint

"Potluri, Mohan" <[email protected]>
Newsgroups gmane.comp.java.sun.jtapi
Message-ID <6677B3346233B94EBB11C0609351012009AF2FA4@vtg-um-e2k1.sj21ad.cisco.com>
Can you try the following code?

CiscoMediaCapability [] caps = new CiscoMediaCapability [1];
caps[0] = new CiscoG711MediaCapability ();

if ( terminal instanceof CiscoRouteTerminal ) {
        ((CiscoRouteTerminal)terminal).register ( caps,
CiscoRouteTerminal.DYNAMIC_MEDIA_REGISTRATION );
}                                                       	
	
	

-----Original Message-----
From: Discussion list for Java Telephony API
[mailto:[email protected]] On Behalf Of Stephan Steiner
Sent: Wednesday, February 09, 2005 11:15 PM
To: [email protected]
Subject: Re: [JTAPI] pick up call on CTI routepoint

>This is probably caused by the registration type used in register
>method. You may want to use DYNAMIC_MEDIA_REGISTRATION type if you want
>to answer the call. If DYNAMIC_MEDIA_REGISTRATION type is used you
>should set the RTP when media open logical channel event is received.

But the JTAPI Provider shouldn't throw undocumented errors, should it?

And if you read the end of my initial post, you'll see that I tried
changing
the registration type, and that I get an empty
CiscoRegistrationException
message when I try to register. So if you have a working example, I'd
very
much like to look at some code.

========================================================================
===
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".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.