cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
229
Views
0
Helpful
1
Replies

Stop Streaming when the phone rings

marwa_ads
Level 1
Level 1

Dear All,

I am streaming an audio file to an IP Phone, but i want to stop this streaming when this phone receives a call, how i can detect that a call is comming ,is it using JTAPI, and if yes how to start?

Thanks alot,

Marwa

1 Reply 1

stephan.steiner
Spotlight
Spotlight

Yes, JTAPI (or TAPI) is the way to go. I suggest you download the IP Phone Services SDK.. it contains the CallerInfo sample which does something close to what you want.. it monitors phones, and when there's a call coming to a phone, it looks up the information from the caller. You can take that principle but instead of looking up something when the phone rings, you'd tell your streaming application to stop streaming.