Re: PSTN call

"Potluri, Mohan" <[email protected]> Wed, 30 Mar 2005 10:20:35 -0800
Newsgroups gmane.comp.java.sun.jtapi
Message-ID <6677B3346233B94EBB11C060935101200A6CDF28@vtg-um-e2k1.sj21ad.cisco.com>
To make a call, the calling party should be in the control list. 

Please take a look at the 'makecall' sample application. Though makecall
expects both source and destination to be in control list it not
necessary.

-----Original Message-----
From: Discussion list for Java Telephony API
[mailto:[email protected]] On Behalf Of Anton from Neosvit
Sent: Tuesday, March 29, 2005 11:25 PM
To: [email protected]
Subject: [JTAPI] PSTN call

Hello,

I want to implement PSTN calls using JTAPI.

PSTN gateway is successfuly setted up and I can make calls from Cisco IP
phones to PSTN numbers without any problems. But how can I implement it
in
JTAPI?

If I try to use the following construction (in order to get terminal by
address and add observers / catch events later):
  provider.getAddress(PSTNPhoneNumber)

I get the following exception:

com.cisco.jtapi.InvalidArgumentExceptionImpl: Address 9XXXXXXX is not in
provider's domain.

I think that there should be some class/interface in JTAPI for PSTN
calls
that acts as a usual terminal (but in fact it is only a wrapper). But I
failed to find it.

Any advices or code samples are welcome.
Thank you,
Anton.

========================================================================
===
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".