Blogs

Showing 1 - 5 of 30 results.
Items per Page 5
of 6

Forums

Combination View Flat View Tree View
Threads [ Previous | Next ]
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.

is that message designate for me?
if yes i didn't undestand.

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.

RE: missed calls
Answer
8/22/12 9:28 AM as a reply to Sergei Gorbunov.
i can't find TermConnTalking.

CallCtlTermConnTalkingEv

Collateral


No files available