I was doing some scripting for an AA and i wanted to route the calls based on the DNIS, however on the CUE script editor I couldn't actually debug the script and since my script wasn't properly working
i enabled some debugging on the CUE and realized that my script will never work because the DNIS is always null no matter what.
I have a PRI connected to a 2811 running CME.
this is the output of my debug
3749,type=Cisco SIP Call,[email protected],ac
alse,app=App[name=pub_safety_aa,type=Cisco Script Application,id=7,desc=pub_safe
004,route=TR[num=8004],port=Port[type=Cisco SIP Channel,id=0,implId=16896,active
An object of com.cisco.wfframework.engine.core.WFEngineWorkflowDebugTask
as you can see from the log, the DNIS parameter is always null
is there a setting that we need to change on CUE or perhaps CME or perhaps on the Dial-peer pointing to CUE ?
THe reason the DNIS is null is that it would only
contain the pilot number for CUE. Look for the redirecting number, that is t
he number that sent the call to CUE, which shoul
d ber the original called number/extension.