How can I mute the phono ringtone when more calls phone calls are placed ?

I'm using  the kitchen script [1] as bolierplate for a call center application. How can I mute the ringtone when the agent is answering the call? Currently if more clients are calling the same agent the ringtone keeps playing even if the agent is on a call which makes it impossible to a conversation.  

[1] http://s.phono.com/releases/1.1/samples/kitchen-sink/www/index.html


Please sign in to leave a comment.