05-06-2015 07:31 PM
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!
05-14-2015 10:45 AM
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
05-17-2015 07:17 PM
Hi Derrick,
I'll try this out today and let you know and confirm if correct.
Thanks for the help! ![]()
エキスパートの回答、ステップバイステップガイド、最新のトピックなどお気に入りのアイデアを見つけたら、あとで参照できるように保存しましょう。
コミュニティは初めてですか?これらのヒントを活用してスタートしましょう。 コミュニティの活用方法 新メンバーガイド