I am writing a UCCX script that pulls the calling and called numbers and does some other cool stuff to find an outcome and finally what to do with that specific call.
Everything is working except I am not getting the called number. The called number I am seeing is the CTI Route Point number that was called to get the call into UCCX rather than the PSTN number.
The setup is as follows:
PSTN ---> SIP ---> CUBE ---> CUCM ---> UCCX
I can see the called number in the SIP messages and of course call manager is routing based all the called number I have done everything I can think off but it is still not showing me the PSTN called number in UCCX.
I have attached a screen shot of the Get Call Contact Info step in UCCX scripting let me know if you need to see anything else related to the script.
If the DNIS supplied at ingress to CUCM does not match the CTI RP DN then either you have Significant Digits stripping the called number down on the SIP trunk or a translation pattern modifying the called number before it gets to the CTI RP. In either case, CCX can only work with what CUCM gives it over the CTI QBE channel. A translation pattern resets the calling/called number to whatever transform it is performing so "Original Called Number" won't work either.
Just mentally map the PSTN DNIS to the CTI RP DN and program the script to act accordingly based on the CTI RP DN.
These are the paths to get to each CCX logs through CLI. They may be helpful if you are having issues accessing RTMT or downloading logs through it.
If you want to download them you have to prefix "file get " and you can add one of the options (re...