Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logging DNIS to call variable / event log.

Status
Not open for further replies.

rwylie81

Technical User
Jul 25, 2005
81
GB
Hi

I want to log to the event log the DNIS of a call I am tracing.

For example, I am trying to:
Code:
ASSIGN DNIS to abc_cv
LOG abc_cv



abc_cv is a STRING call variable and default value is test. The logging of abc_cv works, it's the ASSIGN DNIS to abc_cv that doesn't work.

Says it is of incompatable type.
 
I will go try it, I thought that it had to be type STRING in order to be written to the event viwer
 
Didn't work,

The LOG command is expecting a STRING, not DN or DNIS

 
Are you using many DNIS?

A workaround could be a construction like this:

Where DNIS Equals
Value 1234: LOG "DNIS = 1234 + comment"
Value 1235: LOG "DNIS = 1235 + comment"
Value 1236: LOG "DNIS = 1236 + comment"
Default: LOG "DNIS = Other + comment"
End Where
 
Yup, that's what I ended up doing

300 lines of code later...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top