Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

The IVR Tcl is broken

I have tried these lines in several AS-5300

combinations of IOS and VCWare:

if { "6111111111" == "6333333333" } {

puts "\n\nboth numbers are equal\n"

} else {

puts "\n\nthe numbers are not equal\n"

}

and I always get the result: "both numbers are

equal".

The string comparisons for numbers with more

than 9 digits (such as 10-digits ANIs) only

check:

- The length of the 2 strings

- The first character

If the two above are equal, the strings are considered equal.

Could you folks out there please verify the

above test in your routers and post your results?

Thanks,

-Ramon F. Herrera

1 REPLY
New Member

Re: The IVR Tcl is broken

this problem already reported in TAC

you can use "c$ani1" == "c$ani2" for compare long integer

Nikola

126
Views
0
Helpful
1
Replies
CreatePlease login to create content