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!

ccr 1

Status
Not open for further replies.

TAnselm

Vendor
Mar 10, 2006
791
US
Yes I know it's end of life, but it's still in use here. So where are the CCR Gurus. I'm trying to learn CCR scripting. I wrote this test script but on validation i'm told line "Line 0027:25,ERROR:ILLEGAL CHARACTER"

That character is the "t" in test_music. Yes the varible is defined in the varible table.

So here is the test script... Can someone tell me what the hell is wrong with it?

/*This is a test script for training purposes
Involving cdn 8666 and acd 3666. ACD's 6001
and 6031 were deleted and converted into
phantom dn's going to voicemail to free up
2 available ACDs*/


GOTO NIGHTS if NIGHT SERVICE test_queue

QUEUE TO test_queue
GIVE RAN test_hold
GIVE MUSIC test_music
GOTO WAITING

SECTION WAITING
GOTO NIGHTS if NIGHT SERVICE test_queue
WAIT 30
GIVE RAN test_hold
GIVE MUSIC test_music <--error here "t"
GOTO WAITING

SECTION NIGHTS
GIVE RAN test_closed
WAIT 10
FORCE DISCONNECT



 
You already have a line GIVE MUSIC test_music.
You don't need to repeat that command. The script "remembers" the music treatment that is first applied to the call.
 
didn't know ss was that old, just use give music.. that killed us that were caught trying to have a second mus for the same script.. i heard that later rls's you could do that.. in other words if you have a varaible test2_music, later rls's that would work.. haven't thought about ccr in over a decade.. wouldn't have gotten that one right, ss jared the brain...

john poole
bellsouth business
columbia,sc
 
Nope did not work. This is frickin wierd...

please look above at the script...

When I comment out that whole line about GIVE MUSIC and try again to validate, I get a illegal character error pointing to the 't' in test_hold on the line above.

When I comment out that whole line, I get a illegal character error pointing to the '3' in 30 on the line above.

When I comment out that whole line, I get a illegal character error pointing to the 't' in test_queue on the line above.

When I comment out that whole line, I get a illegal character error pointing to the 'W' in WAITING on the line above.

Of course if I comment out that whole WAITING loop and the line above that says GOTO WAITING, the script validates fine.

Anyone else wanna jump in on this??? I am confused.
 
Your script validates without any problem on my CCR all I did was change the variable name to similar ones on mine.
Your original post says
i'm told line "Line 0027:25,ERROR:ILLEGAL CHARACTER"
But the script as posted has only 25 lines.
Are you sure you are looking at the correct line?

Only other thing I can think of is that there is some hidden character in those lines. You could try retyping them.
 
Big Star to Stanley...
You were right. Don't know what was wrong with it, but I deleted my script and retyped it and it validated just fine. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top