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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

disable callwaiting on voicemail ports

Hi i tried to run a workaround to disable callwaiting on voicemail ports due to this bug CSCdz76351, i save this text as DisableCallWaitingforVM.bat on the callmanager server

@echo off

@if "%2x" == "x" goto Usage

echo USE %2 >temp.sql

echo -- disable callwaiting for numplan records assocaited

with voice mail ports >>temp.sql

echo Update NumPlan set tkStatus_CallWaitingEnable = 0

where pkid in >>temp.sql

echo (Select distinct M.fkNumPlan from DeviceNumPlanMap M,

Device D >>temp.sql

echo where M.fkDevice = D.pkid and D.tkModel=80) >>temp.sql

osql -S %1 -E -i temp.sql

del temp.sql

goto endd

:Usage

@echo Usage: DisableCallWaitingforVM "server" "database"

@echo Example: DisableCallWaitingforVM . CCM0300

:endd

but when i try to run this file send an error. is correct the text or something is missing?

thanks

2 REPLIES
Bronze

Re: disable callwaiting on voicemail ports

The "with voice mail ports >> temp.sql" should be on the same line as "echo -- disable callwaiting...."

What is the error you are seeing?

New Member

Re: disable callwaiting on voicemail ports

Make sure that CCM0300 is your active database. If you have upgraded or applied a CM service release the ccm0300 has likley been incremented . Youcan verify by going into SQL Manager on the publisher and seeing whatCCM03XX you are using. Hope this makes sense

95
Views
0
Helpful
2
Replies