cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
975
Views
0
Helpful
2
Replies

[JTAPI] Disable Caller and Callee Ringer

mencarnacion
Level 1
Level 1

Hi Everyone,

I was wondering if any of you have been able to implement disabling ringers for called and calling phones?
I have a client requirement which needs me to disable the ringer of the phone being called whenever a specific logic applies.
I know that this could be achieved by updating some columns in AXL but I don't want to do that because it poses problems when the device is no longer connected to the application we're developing.

So the other option is to send out a command to the phone, through XML, that would tell the phone not to ring.

Of course, the call is still ACTIVE it's just that the ringer is muted.

Is this possible?

Please advise.

Cheers!

2 Replies 2

derrickgunter
Level 5
Level 5

If you are using JTAPI just call:

     CiscoAddress.setRingerStatus(CiscoAddress.RINGER_DISABLE).

Any of these values are ok (from CiscoAddress.java):

  public static final int RINGER_DEFAULT = 0;

  public static final int RINGER_DISABLE = 1;

  public static final int RINGER_ENABLE = 2;

Check out the CiscoAddress class in the JTAPI Developers Guide for more info.


Best,
Derrick

Hi Derrick,

I'll try this out today and let you know and confirm if correct.

Thanks for the help!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: