CUE Script question

Answered Question
Oct 25th, 2010
User Badges:

Hello,


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



ContactApplicationTrigger[time=1287895074745,contact=SIPCallContact[id=

3749,type=Cisco SIP Call,[email protected],ac

tive=true,state=CALL_RECEIVED,inbound=true,handled=false,locale=en_US,aborting=f

alse,app=App[name=pub_safety_aa,type=Cisco Script Application,id=7,desc=pub_safe

ty_aa,enabled=true,max=6,valid=true,optional=[script=pub_safety_aa.aef,cfgVars=[

Lcom.cisco.wfapi.util.WFNameValuePair;@f3202f,privilegeType=1,last.modified=1287

636016736]],task=20000003217,session=Session[id=0x12a05fe93,parent=null,active=t

rue,state=SESSION_IN_USE,time=1287895074732],seqNum=0,time=1287895074728,cn=8004

,dn=null,cgn=5293053125,ani=null,dnis=null,clid=sip:[email protected],atype=D

IRECT,lrd=null,ocn=8004,odn=null,uui=null,aniii=null,ced=null,lrvmn=null,ocvmn=8

004,route=TR[num=8004],port=Port[type=Cisco SIP Channel,id=0,implId=16896,active

=true,state=IN_USE],aborting=false,transferring=false,disconnecting=false]]

   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 ?


thanks


Correct Answer by frlindse about 6 years 9 months ago

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
frlindse Mon, 10/25/2010 - 12:08
User Badges:
  • Cisco Employee,

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.

Actions

This Discussion