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
missed calls
Threads [
Previous
|
Next
]
missed calls
Haim Noyman
7/5/12 12:37 PM
Haim Noyman
Posts:
17
Join Date:
5/13/12
Recent Posts
missed calls
Answer
7/5/12 12:37 PM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi,
i wrot an application that suppose to recognize missed calls for several addresses in a provider.
what i did is:
when i get CallCtlConnEstablishedEv i enter the call to a list and start a thred that sleep for a 30 sec.
if CallCtlTermConnTalkingEv arrived then nean that the call was wnswered so i remove that call from the list.
after 30 sec the thread wake up and if the call stiil on the list i'm doing what i need.
the problem is that sometimes i got answered calls as missed calls and i have now idea why,
does the problem in the events that based on them i decide if call is missed call or not or that is a threads problem.
Thanks for any help.
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: missed calls
Answer
7/5/12 12:43 PM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
is that message designate for me?
if yes i didn't undestand.
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: missed calls
Answer
7/20/12 10:09 AM as a reply to Haim Noyman.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
1. TermConnCreated - put info about conn to some list.
2. TermConnTalking - call has been answered, mark it.
3. TermConnDropped - call finished (answered or not) - check is call has been answered and do what you need.
And why you need a Thread.sleep? Please, do not use it never. This must be a multithread app.
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: missed calls
Answer
8/22/12 9:28 AM as a reply to Sergei Gorbunov.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
i can't find TermConnTalking.
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: missed calls
Answer
8/22/12 11:58 AM as a reply to Haim Noyman.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
CallCtlTermConnTalkingEv
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Overview
Documentation
Community
Wiki
Testing