cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
515
Views
2
Helpful
5
Replies

JTAPI: Detect Phone Mute/Unmute

Bliss
Level 1
Level 1

Hello!

I can alternate a Cisco device's mute state (on/off) by using the CiscoTerminal.sendData method.

But:

  1. How can I get device's current mute status?
  2. More importantly: Is there a JTAPI event notifying that phone-user has muted or unmuted the device?
    (or even more generally - that phone has been muted/unmuted, either physically or by software)

Thanks much.

1 Accepted Solution

Accepted Solutions

dstaudt
Cisco Employee
Cisco Employee

Unfortunately there is no JTAPI event available for this, and I'm not aware of any other reasonable way to get it
AFAIK it's a purely local functionality that turns the output on/off at a fairly low level, and is never indicated to CUCM.

View solution in original post

5 Replies 5

dstaudt
Cisco Employee
Cisco Employee

Unfortunately there is no JTAPI event available for this, and I'm not aware of any other reasonable way to get it
AFAIK it's a purely local functionality that turns the output on/off at a fairly low level, and is never indicated to CUCM.

Bliss
Level 1
Level 1

Thanks, @dstaudt, for your important input. Much obliged.

Is there a (simple) way for disabling device's output-audio, so that the other call-party won't hear a thing, even if device has been unmuted?
Specifically, is this possible by a sendData command? (i.e. stopping device output RTP stream, etc.)

Bliss
Level 1
Level 1

Hello, @dstaudt and friends.

Re-asking: In a regular 2-party call, is there a way to disable a Cisco IP-Phone's output-audio, so that the other party does not hear it? (i.e. stopping device's RTP Tx stream)

Note that using an XSI Key:Mute command is not a valid solution, as it would actually un-mute the device if it's already muted.

I've tried the XSI RTPTx:Stop command, but apparently - it does not stop a Tx stream started upon a normal peer-to-peer call, although no error is returned in response.

AFAIK it is just not do-able in a deterministic fashion.
IIRC they did not want applications to have the ability to disable mute without user knowledge - control over audio transmission is strictly user-controlled for privacy reasons.
It might be interesting (but probably problematic/non-deterministics with various corner cases) to retrieve the /StreamingStatisticsX page from the phone's onboard webserver.  If  you're getting all zeros on the output stream channel (model-specific) that might be an indirect indication the phone is muted.

Bliss
Level 1
Level 1

Thanks, David, for your input.

I've tested it.
Unfortunately, even when device is muted, both SenderPackets and RcvrPackets counters are (still) being increased.
I would have expected at least the SenderPackets counter to stall.

B.T.W, does this mean that the (muted) device is transmitting silence (0's) on its Tx stream?

If any additional suggestion comes to mind - I'd be happy to hear/read it.