07-26-2023 03:12 AM
Hi everybody,
There is not decline option in Cisco Finesse Dialog API Documentation(Take Action on Participant section : https://developer.cisco.com/docs/finesse/#!dialog%e2%80%94take-action-on-participant/dialogtake-action-on-participant). How can I handle decling incoming calls using API?
Thanks in advance!
Solved! Go to Solution.
07-26-2023 04:53 AM
Agents are by design not allowed to reject incoming calls / tasks - so I think its unlikely that the API has this ability.
Move the agent into Not Ready if you don't want to receive incoming calls / tasks.
08-01-2023 07:40 AM
You can make just allowable actions on participant. You can see it in dialog api which action is allowable. So if there is incoming call, the agent is allowed just to ANSWER the call as you can see below
ex.
<Participant>
<actions>
<action>ANSWER</action>
</actions>
<mediaAddress>123456</mediaAddress>
<mediaAddressType>AGENT_DEVICE</mediaAddressType>
<startTime>2023-08-01T14:37:39.411Z</startTime>
<state>ALERTING</state>
<stateCause/>
<stateChangeTime>2023-08-01T14:37:39.411Z</stateChangeTime>
</Participant>
07-26-2023 04:53 AM
Agents are by design not allowed to reject incoming calls / tasks - so I think its unlikely that the API has this ability.
Move the agent into Not Ready if you don't want to receive incoming calls / tasks.
07-26-2023 05:05 AM
Thanks Garry! What about jtapi ? Does jtapi provide a method to decline incoming call ?
09-11-2023 10:35 AM
I believe jtapi has / should have a method to reject/decline an incoming call - some SIP phones show a button to do that as well. Not sure what happens to the declined call though
10-26-2023 01:32 PM
I found out the call goes to voice mail if VM is setup - otherwise the caller gets a busy or NU tone.
07-26-2023 05:03 AM - edited 07-26-2023 05:05 AM
Does jtapi provide a method to decline incoming call ?
10-26-2023 01:30 PM
found a way that works (for reasons David explained) - see my other question on this topic (below):
where i mentioned ".....I am inclined to use the sendData to execute CiscoIPPhone with the payload for Decline soft key over JTAPI connection"
08-01-2023 07:40 AM
You can make just allowable actions on participant. You can see it in dialog api which action is allowable. So if there is incoming call, the agent is allowed just to ANSWER the call as you can see below
ex.
<Participant>
<actions>
<action>ANSWER</action>
</actions>
<mediaAddress>123456</mediaAddress>
<mediaAddressType>AGENT_DEVICE</mediaAddressType>
<startTime>2023-08-01T14:37:39.411Z</startTime>
<state>ALERTING</state>
<stateCause/>
<stateChangeTime>2023-08-01T14:37:39.411Z</stateChangeTime>
</Participant>
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide