our uccx script is triggered via REST API and gets some info then it automatically generates a call to the first person on their cellphone and redirects this call to second person's cellphone.
after both parties are connected the script is ended. at this stage we need to provide these requirements via JTAPI or any other way :
the requirements of this project are:
- disconnect an outgoing call to PSTN after a certain amount of time from cucm or gateway side via TCL scripting (its a outgoing call between two cellphones and this is not for every call)
- play a warning prompt 1min before disconnecting a call
- get some information from this call like who disconnected it or duration of call , etc
In Addition, in this project we have:
Cisco Router 2921
CUCM
UCCX