Dear Experts,
I would like your assistance in updating a script in UCCX. Currently, the script is configured as follows:
If (ClientPhoneNumber.startsWith("9")) Then
Set ClientPhoneNumber = "9" + ClientPhoneNumber
End IfHowever, we now have multiple teams using different prefixes—some use "9" while others use "6". this prefix configured in CUCM for national or international call. I would like to update the script to accommodate both cases. My proposed logic is as follows:
If ClientPhoneNumber.startsWith("9") Then
Set ClientPhoneNumber = "9" + ClientPhoneNumber
ElseIf ClientPhoneNumber.startsWith("6") Then
Set ClientPhoneNumber = "6" + ClientPhoneNumber
End IfAdditionally, the script includes logic to limit the number of calls, and if the user exceeds the maximum allowed, an audio prompt is played to notify them. with 9 its working fine and i can see this in database. but 6 is not there. how to add 6 in the script.
i dont know how to do this in uccx. kindly support please.