When a customer dials 888-343-FOOD that goes to a DID 506-343-FOOD, how does that translate or point to a trigger to call an application in UCCX? Don't scream Cisco community but in Avaya everything points to something, eg VDN (a direct dial number) points to a Vector (steps to process a call). I'm unsure about how that is supposed to work from CUCM over to UCCX.
In Cisco depending on how many digits are sent from provider to voice gateway and then how many digits are looked by CUCM there are few different ways to route the call. The call may be hitting translation pattern that translates the called number to number that is defined as CTI route point which correlates to JTAPI trigger on UCCX side, which then points to application --> script.
HTH,
Chris