I'm running CUCM7.0 and on remote offices are Voicegateways (IOS 12.4(22)T) with SRST.
When WAN is down, the phones are working correctly in SRST mode, but when the WAN comes backup and the phones are registered back to CUCM. it isn't possible to call in. I'm hearing a busy tone. As it generates a dial-peer in SRST mode for the directory numbers, the auto-generated dial-peers has a higher match, than the dial-peer I configured. So I have to delete all the ephone-dn that it will be possible to call in. See below the relevant configuration.
dial-peer voice 10 voip
voice-class codec 10
voice-class h323 11
session target ipv4:10.21.1.2
srst mode auto-provision all
srst ephone template 1
srst dn line-mode dual
em logout 0:0 0:0 0:0
ip source-address 10.70.10.3 port 2000
system message NOTSZENARIO
cnf-file location flash:
dialplan-pattern 1 99426.. extension-length 4
dialplan-pattern 2 99427.. extension-length 4
dialplan-pattern 3 99428.. extension-length 4
dialplan-pattern 4 99429.. extension-length 4
max-conferences 8 gain -6
hunt-group logout HLog
multicast moh 220.127.116.11 port 2000
web admin system name admin password cisco
Is there a way or a command that it will put the automatic generated dial-peer as second preference?