3/23/2010
The following IOS code will create a dial feature for four digit dialed numbers to be forwarded right to voicemail when the number starts with a * digit. The number is then forwarded to 6900 that is once again forwarded to the SIP trunk (Exchange UM). You will need to adjust the code for your environment.
If you run CUCM please take a look at TransferCallToVM. This CTI application helps with transferring calls to Exchange UM without losing the SIP dialog.
voice translation-rule 4 rule 1 /^\*/ // ! ! voice translation-profile vmbox translate redirect-called 4 ! dial-peer voice 6900 voip translation-profile outgoing vmbox destination-pattern 6900 voice-class codec 1 session protocol sipv2 session target ipv4:192.168.1.4:5060 session transport tcp dtmf-relay rtp-nte no vad ! ephone-dn 20 number *.... call-forward all 6900 !
Aaron Software takes no responsibility for the implementation of this shared code.