Hello, Antonio.
I'm sorry to see you were not able to find the information or assistance you were looking for here in the Contact Center community forum.
You may be able to find more help through the Cisco Developer Network.
Also, you might want to consider engaging Cisco Advanced Services via your account team to assist with UCCX custom scripting.
Thank you, and good luck.
-Paulo