Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
JTAPI (JTAPI) Developer Center
Overview
Documentation
Community
Wiki
Testing
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to Cisco JTAPI Questions
get active calles
Threads [
Previous
|
Next
]
Haim Noyman
Posts:
17
Join Date:
5/13/12
Recent Posts
get active calles
Answer
8/22/12 11:00 AM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi,
i want to get active calls by providing an address.
i tried to track this events:
CallCtlTermConnTalkingEv and CallCtlConnDisconnectedEv,
when i get CallCtlTermConnTalkingEv i add that call to a collection of CiscoCall
and when i get CallCtlConnDisconnectedEv i delete that call from the collection.
when client ask for calles in each line i search the colllection.
my problem is that with internals calls everything works fine but when i'm calling from ip phone to external phone somthing strange,
i get CallCtlTermConnTalkingEv even the external party answer the call.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Sergei Gorbunov
Posts:
47
Join Date:
7/19/10
Recent Posts
RE: get active calles
Answer
8/22/12 12:03 PM as a reply to Haim Noyman.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Umm, do not understand why you do not expecting CallCtlTermConnTalkingEv while external party answer the call?
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Haim Noyman
Posts:
17
Join Date:
5/13/12
Recent Posts
RE: get active calles
Answer
8/22/12 12:06 PM as a reply to Sergei Gorbunov.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
this is my problem.
when i call to external phone i get CallCtlTermConnTalkingEv as soon as the phone ringing.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Haim Noyman
Posts:
17
Join Date:
5/13/12
Recent Posts
RE: get active calles
Answer
8/22/12 1:07 PM as a reply to Haim Noyman.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
actually i saw that even i make internal call i get CallCtlTermConnTalkingEv when the phone ringing even the called party did'nt answer.
why?
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Abhishek Malhotra
Posts:
119
Join Date:
10/28/10
Recent Posts
RE: get active calles
Answer
8/22/12 1:36 PM as a reply to Haim Noyman.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
CallCtlTermConnTalkingEv for calling side doesnt indicate that the far-end(called party) has answered the call.
Pleae look at Connection and TerminalConnection state diagrams in javadocs.
TerminalConnection for calling side will go to Talking state as soon as call is initiated.
The far-end(Called party) answering the call would trigger called party connection state to be changed to Established. This is where you get ConnEstablishedEv for Called side. If the called side is internal and observed, you would also get TermConnTalkingEv for called side TerminalConnection here.
For Media handling you should rely on ConnEstablishedEv for called side along with media events (RTP Input/Output Started Ev). These RTP events would actually indicate if media stream is up or not.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Haim Noyman
Posts:
17
Join Date:
5/13/12
Recent Posts
RE: get active calles
Answer
8/22/12 1:50 PM as a reply to Abhishek Malhotra.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
you are the best.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Overview
Documentation
Community
Wiki
Testing