Rollback plan

hello friends,
I have a very rare request. here’s what I need to do.
I just finished setting up a new server just to handle the queue and all the outbound from the call center.
I need to comment or cancel a line of the dialplan, so if the new server goes down wn can still use the old system. I need to do it remotly. perhaps with a ext-did, but I need help with the coding.
i need to do something that “comments” the first line and change the priority of the second one. and then reload the config
can it be done? can you help me?

exten => 4001,1,Dial(SIP/co-do/4002)
exten => 4001,n,Macro(user-callerid,)
exten => 4001,n,Playback(custom/calidad)
exten => 4001,n,Answer
exten => 4001,n,MixMonitor(/var/spool/asterisk/grabaciones/${STRFTIME(${EPOCH},%Y-%m-%d-%H_%M_%S)}${CALLERID(number)}${UNIQUEID}.WAV|/b)
exten => 4001,n,Set(__BLKVM_OVERRIDE=BLKVM/${EXTEN}/${CHANNEL})
exten => 4001,n,Set(__BLKVM_BASE=${EXTEN})
exten => 4001,n,Set(DB(${BLKVM_OVERRIDE})=TRUE)
exten => 4001,n,ExecIf($["${REGEX("(M[(]auto-blkvm[)])" ${DIAL_OPTIONS})}" != “1”],Set,_DIAL_OPTIONS=${DIAL_OPTIONS}M(auto-blkvm))
exten => 4001,n,Set(__NODEST=${EXTEN})
exten => 4001,n,Queue(4000,t,900)
exten => 4001,n,dbDel(${BLKVM_OVERRIDE})
exten => 4001,n,Set(__NODEST=)
exten => 4001,n,Goto(ext-queues,4000,1)

lucas