If you need to integrate your SRST router with analog/T1 CAS link to Unity, then you nedd to adapt the configuration as follows:

!

call-manager-fallback

voicemail 12345

!

vm-integration

pattern direct * CGN

pattern ext-to-ext busy #FDN#2

pattern ext-to-ext no-answer #FDN#2

pattern trunk-to-ext busy #FDN#2

pattern trunk-to-ext no-answer #FDN#2

!

So you must use the configuration under the vm-integration command to enable voicemail integration with DTMF and analog mail systems. Here are a short explanation of all settings:

  • Pattern direct represents the fact that you press the message button
  • Pattern ext-to-ext is the forwarding to voicemail from an extension to another extension
  • Pattern trunk-to-ext represents the forwarding to voicemail from an external trunk to an extension

When configuring the pattern direct, pattern ext-to-ext and pattern trunk-to-ext, you must also specify combinations of alphanumeric strings (fewer than 4 digits in length) as well the calling number (CGN), called number (CDN) or forwarding number (FDN) to be sent to the voicemail system.

Then imagine the following scenario : Phone 1 ( DN 1001) is calling Phone 2 (DN 1002) which is set up to forward all busy and no-answer calls to the VM

We have then 1001 is the CGN, 1002 is the FDN and the voicemail system is the CDN. In other words, the calling number (CGN) is the number of the call originator, the frowarding number is the number of the extenson which is forwarding the call to the voicemail.So let’s take back our previous example and see what the configuration looks like:

!

pattern ext-to-ext busy #FDN#2

!

will represent to dial the number 123456789 (VM system) and send to the VM the following string in DTMF #1002#2 which must route the call correctly to the right user mailbox.