63.2. CTIVM - CTI Voice Mail

Voice mail is a centralized system of stored telephone messages which are sent via email by Abilis. The voice mail can be managed both via the web interface and CP.

The Abilis provides a system message set for voice mail, but every user can customize its own messages.

The CTIVM resource requires the SOFT-PBX licence.

63.2.1. Activating the CTIVM resource

Add the resource to the Abilis system with the following command.

[09:08:14] ABILIS_CPX:a res:ctivm

COMMAND EXECUTED

The CTIVM resource may already exist in the system, but may not yet be active. Set it active with the command:

[09:10:00] ABILIS_CPX:s act res:ctivm

COMMAND EXECUTED
[Caution]Caution

You must restart the Abilis to make the resource running (use the command warm start to reboot the Abilis) after adding or setting the CTIVM active.

[Tip]Tip

If the CTIVM resource is activated and the CTIAS resource isn't, Abilis automatically adds the CTIAS resource:

[12:11:11] ABILIS_CPX:a res:ctivm

COMMAND EXECUTED (ADDED ALSO RES:CtiAs)
[12:15:48] ABILIS_CPX:s p ctivm act:yes

COMMAND EXECUTED

[12:15:56] ABILIS_CPX:d p ctivm

RES:CtiVm - Not Saved (SAVE CONF), Not Refreshed (INIT) -----------------------
       ------------------------------------------------------------------------
Run    DESCR:CTI_Voice_Mail_service
       LOG:NO        ACT:YES    sesnum:5    TC-SESNUM:1    BUSY-NOCHAN:YES
       CONN-DELAY:0             MSGLEN:90
       MAIL-TO:
       MAIL-TO-LIST:#
       OGM-MSG:default                      END-MSG:default
       wdir:C:\APP\VM\

[12:16:00] ABILIS_CPX:save conf

VALIDATION IN PROGRESS ...
VALIDATION SUCCESSFULLY EXECUTED

SAVE EXECUTED

[12:16:13] ABILIS_CPX:init res:ctivm

COMMAND EXECUTED
[Caution]Caution

Execute the initialization command init res:ctivm to activate the changes made on the upper case parameters; use save conf and warm start commands to set active the changes made on the lowercase parameters.

63.2.2. CTIVM resource parameters

Use the command below to display the parameters of the resource; the d p ctivm ? command shows the meaning of parameters.

[14:08:12] ABILIS_CPX:d p ctivm

RES:CtiVm ---------------------------------------------------------------------
Run    DESCR:CTI_Voice_Mail_service
       LOG:NO        ACT:YES    sesnum:5    TC-SESNUM:1    BUSY-NOCHAN:YES
       CONN-DELAY:0             MSGLEN:90
       MAIL-TO:
       MAIL-TO-LIST:#
       OGM-MSG:default                      END-MSG:default
       wdir:C:\APP\VM\

Meaning of the most important parameters:

DESCR

Resource description. From 0 up to 79 Alphanumeric extended characters. Spaces are not allowed. Case is preserved.Strings holding spaces must be written between quotation marks (E.g.: "str1 str2")

LOG

State changes log and alarm generation [NO, D, S, A, L, T, ALL] [+E] (D: Debug Log; S: System Log; A: Alarm view; L: Local audible alarm; T: SNMP traps; +E: Extended Log of state changes, see ref. manual)

ACT

Runtime CTIVM activation/deactivation.

sesnum

Number of sessions that the VM plugin can support at once [1..255]. Default is 5.

TC-SESNUM

Number of on-the-fly simultaneous transcoding sessions allowed for VM plugin [0..255]. Default is 1.

BUSY-NOCHAN

Return BUSY cause instead of NOCHAN [NO, YES]. Default is YES.

CONN-DELAY

Connection delay [0..60 sec.]. Default is 0.

MSGLEN

Maximal length of stored message [10..180 sec.]. Default is 90.

MAIL-TO

Defult Voice Mail recipient(s). From 0 up to 128 ASCII printable characters (used when a call isn't for a user). Spaces are not allowed. Case is preserved. Default is empty.

MAIL-TO-LIST

IN2T list used to select Voice Mail recipient(s) on the base of called numbers [#, ListName]. Default is #.

OGM-MSG

Name of the file holding the Outgoing Message. From 1 up to 20 characters. Names holding spaces must be written between quotation marks (E.g.: "Dft out message"). Default is default.

END-MSG

Name of the file holding the End Message. From 1 up to 20 characters. Names holding spaces must be written between quotation marks (E.g.: "Sys end message"). Default is default.

wdir

Directory where message files are located. It cannot be empty. Physical full path in DOS notation, i.e. starting with a drive letter in the range ['A'..'Z'] and ending with the '\' character. Max. 128 characters. Case is preserved. Spaces are allowed. Strings holding spaces must be written between quotation marks (E.g.: "C:\My dir\"). Default is C:\APP\VM\.

The following command allows the administrator to change the configuration of the resource:

s p ctivm parameter:value...

[Caution]Caution

Execute the initialization command init res:ctivm to activate the changes made on the upper case parameters; use save conf and warm start commands to set active the changes made on the lowercase parameters.

63.2.3. CTIVM diagnostic, statistics and debug

63.2.3.1. CTIVM diagnostic

The following command is used to display the diagnostics of the CTIVM resource:

d d ctivm

It shows the state of the resource sorted by session (sesnum parameter).

[10:52:40] ABILIS_CPX:d d ctivm


RES:CtiVm ---------------------------------------------------------------------
       CTI_Voice_Mail_service                                                  
       STATE:ACTIVE    MAILER-STATE:WAITING     TC-STATE:WAITING
       ------------------------------------------------------------------------
       SES: VM-State           User
            Q931-State         CG                   CD
       ------------------------------------------------------------------------
       0    OGM                test
            10-CONNECTED       333                  444                  
       ------------------------------------------------------------------------
       1    READY              
            00-DISCONNECTED                                              
       ------------------------------------------------------------------------
       2    READY              
            00-DISCONNECTED                                              
       ------------------------------------------------------------------------
       3    READY              
            00-DISCONNECTED                                              
       ------------------------------------------------------------------------
       4    READY              
            00-DISCONNECTED                                              
       ------------------------------------------------------------------------

The meaning:

STATE

CTIVM driver state:

  • INACTIVE - POP3 is not ready to receive connections.

  • ACTIVE - POP3 fully active.

MAILER-STATE

CTIVM sender state.

  • WAITING - sender is waiting for new mail to be sent;

  • SEARCHING - sender is searching on disk for new mail to be sent;

  • CHECKING - Sender is checking metadata file;

  • SENDING - Sender is sending the mail;

  • DELETING - Sender is deleting metadata file and WAV file.

TC-STATE

CTIVM transcoder state

  • WAITING - Transcoder is waiting for new CPM to be transcoded;

  • SEARCHING - Sender is searching on disk for new CPM to be transcoded;

  • CHECKING - Sender is checking metadata file;

  • TRANSCODING - Transcoder is transcoding CPM to WAV;

  • DELETING - Transcoder is deleting metadata file and CPM file.

SES

CTIVM session number.

VM-State

CTIVM session state.

  • READY - Session is READY for incoming call;

  • OGM - Session is playing OGM message;

  • OGM-BEEP - Session is playing BEEP pattern after having played OGM message;

  • RECORDING - Session is recording to WAV or to CPM;

  • END-BEEP - Session is playing BEEP pattern prior to play END message;

  • END - Session is playing END message.

User

CTIVM session current user name.

Q931-state

CTIVM session Q931 state.

  • DISCONNECTED - session is disconnected;

  • 04-REM-ALERT - session received a call from CTIR and is alerting;

  • 10-CONNECTED - session is connected.

CG

CTIVM session current calling number.

CD

CTIVM session current called number.

63.2.3.2. CTIVM statistics

The following command is used to display the statistics of the CTIVM resource:

d s ctivm

It shows the statistics of the CTIVM resource such as the total number of successfully sent mails (SENT), the total number of successfully transcoded CPM files (TRANSCODED).

[11:59:31] ABILIS_CPX:d s ctivm

RES:CtiVm ---------------------------------------------------------------------
       CTI_Voice_Mail_service                                                  
       --- Cleared 2 days 22:12:11 ago, on 05/06/2015 at 14:04:01 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       SENT       |           |          0|TRANSCODED |           |          0|
       ------------------------------------------------------------------------

With reference to the shown interval of time («Cleared 3 days 08:11:59 ago») these counters show the number of:

SENTSuccessfully sent mails
TRANSCODEDSuccessfully transcoded CPM files.

63.2.3.3. CTIVM debug

Type the following command to view allowed commands:

[16:30:09] ABILIS_CPX:debug res:ctivm

RES:CtiVm ---------------------------------------------------------------------
       CTI_Voice_Mail_service                                                  
       BufferLength:64512  Date/Time:16/09/2020 16:30:17 TraceTime:459859827

Usage:

   LSN:0            - This help
   LSN:3            - Show log
   LSN:3 CMD:CLR    - Clear log
   LSN:4            - Resume suspended mails

Type the following command to view the CTIVM session log:

[17:32:41] ABILIS_CPX:debug res:ctivm lsn:3

RES:CtiVm ---------------------------------------------------------------------
       CTI_Voice_Mail_service                                                  
       BufferLength:64512  Date/Time:16/09/2020 17:32:51 TraceTime:106788651

-------------------|-----------------------------------------------------------

63.2.4. CTIVM configuration through CP

VM can be configured using the users' CTI preferences or the CTI advanced preferences.

[Tip]Tip

Interesting chapter: Section 72.13, “Voice Mail”.

63.2.4.1. VM parameters - CTI preferences

Each interface has its own VM parameters.

[09:31:49] ABILIS_CPX:d pref user:test2

- Not Saved (SAVE CONF) -------------------------------------------------------
Parameter:          | Value:
--------------------+----------------------------------------------------------
USER:                 test2
ID:                   12                                            <Read Only>
LAST-CHANGE:          24/10/2015 09:56:19 CET                       <Read Only>
PWD:                  ***
--------------------
CTIP-CLIP:            TRANSP
CTIP-ACTION:          ADVANCED (No rules)
CTIP-CF-RULE:         ALWAYS
CTIP-CF-TOUT:         15
CTIP-CF-DLY:          10
CTIP-CF-FORK-TYPE:    STD
CTIP-CF-CDO:          #
CTIP-CF-CGO:          *
CTIP-VM:              NO
CTIP-VM-RULE:         NOANS,OTHERS
CTIP-VM-TOUT:         15
CTIP-PC-OFFER:        4
CTIP-PC-ACCEPT:       4
CTIP-CALL-WAITING:    NO
CTIP-MAIL-FAIL:       NO
CTIP-MAIL-FWD:        NO
CTIP-MAIL-SEIZED:     NO
--------------------
CLUS-CLIP:            TRANSP
CLUS-ACTION:          ADVANCED (No rules)
CLUS-CF-RULE:         ALWAYS
CLUS-CF-TOUT:         15
CLUS-CF-DLY:          10
CLUS-CF-FORK-TYPE:    STD
CLUS-CF-CDO:          #
CLUS-CF-CGO:          *
CLUS-VM:              NO
CLUS-VM-RULE:         NOANS,OTHERS
CLUS-VM-TOUT:         15
CLUS-MAIL-FAIL:       NO
CLUS-MAIL-FWD:        NO
CLUS-MAIL-SEIZED:     NO
--------------------
IAX-CLIP:             TRANSP
IAX-ACTION:           ADVANCED (No rules)
IAX-CF-RULE:          ALWAYS
IAX-CF-TOUT:          15
IAX-CF-DLY:           10
IAX-CF-FORK-TYPE:     STD
IAX-CF-CDO:           #
IAX-CF-CGO:           *
IAX-VM:               NO
IAX-VM-RULE:          NOANS,OTHERS
IAX-VM-TOUT:          15
IAX-PC-OFFER:         4
IAX-MAIL-FAIL:        NO
IAX-MAIL-FWD:         NO
IAX-MAIL-SEIZED:      NO
--------------------
SIP-CLIP:             TRANSP
SIP-ACTION:           ADVANCED (No rules)
SIP-CF-RULE:          ALWAYS
SIP-CF-TOUT:          15
SIP-CF-DLY:           10
SIP-CF-FORK-TYPE:     STD
SIP-CF-CDO:           #
SIP-CF-CGO:           *
SIP-VM:               NO
SIP-VM-RULE:          NOANS,OTHERS
SIP-VM-TOUT:          15
SIP-PC-OFFER:         4
SIP-MAIL-FAIL:        NO
SIP-MAIL-FWD:         NO
SIP-MAIL-SEIZED:      NO
--------------------
VO-CLIP:              TRANSP
VO-ACTION:            ADVANCED (No rules)
VO-CF-RULE:           ALWAYS
VO-CF-TOUT:           15
VO-CF-DLY:            10
VO-CF-FORK-TYPE:      STD
VO-CF-CDO:            #
VO-CF-CGO:            *
VO-VM:                NO
VO-VM-RULE:           NOANS,OTHERS
VO-VM-TOUT:           15
VO-PC-OFFER:          4
VO-PC-ACCEPT:         4
VO-CALL-WAITING:      NO
VO-CUR-NET-NUM:       
VO-CUR-USER-NUM:      
VO-CONTACT:           CUR
VO-CONTACT-NUM1:      
VO-CONTACT-NUM2:      
VO-CONTACT-NUM3:      
VO-CONTACT-SEQ-TOUT:  30
VO-CONTACT-FORK-TOUT: 6
VO-TRACKING:          YES
VO-AP-VOIP:           YES
VO-AP-VOIP-CONTACT:   NO
VO-AP-VOIP-CODERS:    SYS
VO-AP-CELL:           YES
VO-AP-PS:             YES
VO-AP-PS-SHORT:       YES
VO-AP-PS-DATA:        YES
VO-AP-CB:             NO
VO-AP-CB-BLIND:       YES
VO-AP-DATA-MOBILE:    YES
VO-AP-WIFI:           YES
VO-AP-SOS-CALLS:      NO
VO-AP-CHAT:           NO
VO-AP-CHAT-TLS:       SYS
VO-AP-CHAT-ROSTER:    ALL
VO-AP-CHAT-CHECK:     SYS
VO-AP-BOOT:           YES
VO-AP-CALL-MODE:      AUTO
VO-AP-ADDRBOOK-SRC:   CTISYS
VO-AP-ENC:            NO
VO-MAIL-FAIL:         NO
VO-MAIL-FWD:          NO
VO-MAIL-SEIZED:       NO
--------------------
VM-MAIL-TO-LIST:      #
VM-MAIL-TO:              test@antek.it
VM-OGM-MSG:           Message1
VM-END-MSG:           SYS
--------------------
MAIL-BODY:            SYS
MAIL-TO-LIST:         #
MAIL-TO-DFT:        
--------------------
CTI-CALLS-LOG:        YES
CTI-CALLS-LOG-IN:     200
CTI-CALLS-LOG-OUT:    200
--------------------
CTI-TRFA:             NO
--------------------
CALLTRY-TOUT:         SYS
CALLTRY-NRTY:         SYS
--------------------
TON-TO-PREFIX:        SYS
--------------------
ON-DEMAND-VR:         NO
ON-DEMAND-VR-MAIL-TO:    
--------------------
OPC-MAIN-INTERFACE:   VO
-------------------------------------------------------------------------------

Meaning of the most important parameters:

CTIP-VM

Voice mail activation/deactivation [NO, YES]. Default is NO.

CTIP-VM-RULE

Voice mail rule [ALWAYS, BUSY, NOANS, OTHERS]. Values [BUSY, NOANS, OTHERS] can be joined using ',' character. Default is NOANS,OTHERS.

CTIP-VM-TOUT

Voice mail: Time-out for the 'NOANS' rule [5..180 sec.]. Default is 15.

CLUS-VM

Voice mail activation/deactivation [NO, YES]. Default is NO.

CLUS-VM-RULE

Voice mail rule [ALWAYS, BUSY, NOANS, OTHERS]. Values [BUSY, NOANS, OTHERS] can be joined using ',' character. Default is NOANS,OTHERS.

CLUS-VM-TOUT

Voice mail: Time-out for the 'NOANS' rule [5..180 sec.]. Default is 15.

IAX-VM

Voice mail activation/deactivation [NO, YES]. Default is NO.

IAX-VM-RULE

Voice mail rule [ALWAYS, BUSY, NOANS, OTHERS]. Values [BUSY, NOANS, OTHERS] can be joined using ',' character. Default is NOANS,OTHERS.

IAX-VM-TOUT

Voice mail: Time-out for the 'NOANS' rule [5..180 sec.]. Default is 15.

SIP-VM

Voice mail activation/deactivation [NO, YES]. Default is NO.

SIP-VM-RULE

Voice mail rule [ALWAYS, BUSY, NOANS, OTHERS]. Values [BUSY, NOANS, OTHERS] can be joined using ',' character. Default is NOANS,OTHERS.

SIP-VM-TOUT

Voice mail: Time-out for the 'NOANS' rule [5..180 sec.]. Default is 15.

VO-VM

VO interface, voice mail activation/deactivation [NO, YES].

VO-VM-RULE

VO interface, voice mail rule [ALWAYS, BUSY, NOANS, OTHERS]. Values [BUSY, NOANS, OTHERS] can be joined using ',' character.

VO-VM-TOUT

VO interface, voice mail time-out for the 'NOANS' rule [5..180 sec.]. Default is 15.

VM-MAIL-TO-LIST

IN2T list used to select Voice Mail recipient(s) on the base of called numbers [#, ListName].

VM-MAIL-TO

Defult Voice Mail recipient(s). From 0 up to 128 ASCII printable characters. Spaces are not allowed. Case is preserved.

VM-OGM-MSG

Name of the file holding the Outgoing Message. "SYS" or from 1 up to 20 characters. Names holding spaces must be written between quotation marks (E.g.: "My message"). Default is SYS.

VM-END-MSG

Name of the file holding the End Message. "SYS" or from 1 up to 20 characters. Names holding spaces must be written between quotation marks (E.g.: "My message"). Default is SYS.

63.2.4.2. VM parameters - CTI advanced preferences

VM can be configured through CTI advanced preferences.

Type the command below to add a rule to CTI advanced preferences.

[15:37:57] ABILIS_CPX:a cf user:test2 pr:1 enabled:yes in-use:yes if:any action:vm rule:noans,others tout:15

COMMAND EXECUTED 

Type the command below to view the CTI advanced preferences rules.

[09:55:44] ABILIS_CPX:d cf user:test2

USER:test2                               (Last change: 24/09/2015 15:38:14 CET)
 ------------------------------------------------------------------------------
 PR   |ENABLED|IN-USE|IF                                |ACTION
 ADMIN|CGI                     |CDI                     |RULE
      |CGO                     |CDO                     |TOUT   |DLY |FORK-TYPE
      |TI1 .. TI5
 ------------------------------------------------------------------------------
 1     YES     YES    ANY                                VM
 NO    *                        *                        NOANS,OTHERS
                                                         15      
 ------------------------------------------------------------------------------

VM can be activated setting the ACTION parameter to VM.

In the previous example, VM is activated (ACTION:VM) for every interface (IF:ANY), at any time (TI:ALL,00:00-23:59), if user test2 doesn't answer, or for any other cause, (RULE:NOANS,OTHERS) after 15 seconds (TOUT:15).

63.2.4.3. Example - how to configure CTIVM through CP

Assume to have two sip users: test2 (with sip number 11) and test3 (with sip number 12).

[16:26:28] ABILIS_CPX:d user

------------------------+-------------+----------------------------------------
USER             PWD ACT|CTIP CLUS    |CHAT LDAP PPP FTP HTTP MAIL IAX SIP VO
------------------------+-------------+----------------------------------------
admin            *** YES #    #        NO   YES  YES YES YES  NO   NO  NO  NO
guest                NO  #    #        NO   NO   NO  NO  NO   NO   NO  NO  NO
test2            *** YES #    #        NO   NO   NO  NO  NO   NO   NO  YES NO
test3            *** YES #    #        NO   NO   NO  NO  NO   NO   NO  YES NO

The voice mail settings are stored in users' preferences. Type the following command to show the settings for test2 user:

[16:31:35] ABILIS_CPX:d pref user:test2

- Not Saved (SAVE CONF) -------------------------------------------------------
Parameter:          | Value:
--------------------+----------------------------------------------------------
USER:                 test2
ID:                   5                                             <Read Only>
LAST-CHANGE:          21/05/2015 16:31:26 CET                       <Read Only>
PWD:                  ***
...
--------------------
SIP-CLIP:             SYS
SIP-ACTION:           ADVANCED
SIP-CF-RULE:          ALWAYS
SIP-CF-TOUT:          5
SIP-CF-DLY:           10
SIP-CF-CDO:           ux12
SIP-CF-CGO:           *
SIP-VM:               NO
SIP-VM-RULE:          NOANS,OTHERS
SIP-VM-TOUT:          15
SIP-PC-OFFER:         4
SIP-MAIL-FAIL:        NO
SIP-MAIL-FWD:         NO
SIP-MAIL-SEIZED:      NO
--------------------
VM-MAIL-TO-LIST:      #
VM-MAIL-TO:              
VM-OGM-MSG:           SYS
VM-END-MSG:           SYS
--------------------
...

These settings show that the voice mail service isn't activated because SIP-VM parameter is set to NO. Change the parameters values in the following way:

[16:38:13] ABILIS_CPX:s pref user:test2 sip-vm:yes vm-mail-to:test@antek.it

COMMAND EXECUTED 

[16:39:14] ABILIS_CPX:d pref user:test2                                   

- Not Saved (SAVE CONF) -------------------------------------------------------
Parameter:          | Value:
--------------------+----------------------------------------------------------
USER:                 test2
ID:                   5                                             <Read Only>
LAST-CHANGE:          21/05/2015 16:39:14 CET                       <Read Only>
PWD:                  ***
...
--------------------
SIP-CLIP:             SYSV
SIP-ACTION:           ADVANCED
SIP-CF-RULE:          ALWAYS
SIP-CF-TOUT:          5
SIP-CF-DLY:           10
SIP-CF-CDO:           ux12
SIP-CF-CGO:           *
SIP-VM:               YES
SIP-VM-RULE:          NOANS,OTHERS
SIP-VM-TOUT:          15
SIP-PC-OFFER:         4
SIP-MAIL-FAIL:        NO
SIP-MAIL-FWD:         NO
SIP-MAIL-SEIZED:      NO
--------------------
VM-MAIL-TO-LIST:      #
VM-MAIL-TO:           test@antek.it
VM-OGM-MSG:           SYS
VM-END-MSG:           SYS
--------------------

...

The call is passed to the voice mail after 15 seconds (SIP-VM-TOUT) if test2 doesn't answer.

[16:47:09] ABILIS_CPX:start ldme

Current Local Time: Thursday 21/05/2015 16:47:22 (UTC+2.00)

Start Debug Log content real-time logging (Type CTRL+C + ENTER to stop):

Date   Time   Resource   Ses   Event          Parameters
------ ------ ---------- ----- -------------- ---------------------------------
210515 164726 CtiSip         8 E-CallRx       CH:7 BC:Speech CD:ue11 CG:uxq10 
                                              USER:test3
210515 164726 CtiSip         8 E-Route Match  PR:9   TYPE:StoS
210515 164726 CtiSip         8 E-CallTx       BC:Speech TY:StoS CD:ue11 
                                              CG:uxq10
210515 164726 CtiSip         8 E-NumComplete  CDI:ue11 CDO:ue11
210515 164726 CtiSip         8 E-AlertRx      CH:8 USER:test2
210515 164726 CtiSip         8 E-AlertTx      CH:7
210515 164741 CtiSip         0 E-VoiceMail    RULE:NOANS USER:test2
210515 164741 CtiSip         9 E-CallRx       AS:CtiVm CH:9 BC:Speech CD:ue11 
                                              CG:uxq10 RG:uxay11 USER:test2
210515 164741 CtiSip         9 E-Route Match  PR:INT TYPE:*toA
210515 164741 CtiVm          9 E-CallTx       AS:CtiVm BC:Speech TY:StoA 
                                              CD:ue11 CG:uxq10 RG:uxay11
210515 164741 CtiSip         9 E-NumComplete  CDI:ue11 CDO:ue11
210515 164741 CtiSip        10 E-CallTransfer SES/ID-IN:9 SES/ID-OUT:8
210515 164741 CtiVm         10 E-ConnRx       CH:3 USER:test2
210515 164741 CtiSip        10 E-ConnTx       CH:7
210515 164832 CtiSip        10 E-DiscRx       CH:7 CAUSE:80 9F (U, Normal, 
                                              unspecified) USER:test3
210515 164832 CtiSip        10 E-DiscConfTx   CH:7
210515 164832 CtiVm         10 E-DiscTx       CH:3 CAUSE:80 9F (U, Normal, 
                                              unspecified) USER:test2

An e-mail (with the following text) is sent from Abilis to the recipient specified in the VM-MAIL-TO parameter. The e-mail has a wav file as attachment.

Figure 63.1. CTIVM email

CTIVM email

[Tip]Tip

Interesting chapter: Section 72.13, “Voice Mail”.

[Tip]Tip

Configure the SMTP resource to let Abilis send e-mails.

[Tip]Tip

The e-mails sender can be configured by MAIL-FROM parameter of CTISYS resource.

63.2.5. Appendix

63.2.5.1. Meaning of log

A new kind of routing is available (*toA) to manage calls toward Abilis advanced services. Two hidden rules are always inside the CTIR:

  • A rule to encode a call on-the-fly, so that the file is directly saved in WAV format (one DSP per call is used);

  • A rule to save the call in its original format (used if there's no free DSP); the file is encoded in the WAV format when a DSP is free.

These rules are called INT rules (INTernal).

[16:47:09] ABILIS_CPX:start ldme

Current Local Time: Thursday 21/05/2015 16:47:22 (UTC+2.00)

Start Debug Log content real-time logging (Type CTRL+C + ENTER to stop):

Date   Time   Resource   Ses   Event          Parameters
------ ------ ---------- ----- -------------- ---------------------------------
210515 164726 CtiSip         8 E-CallRx       CH:7 BC:Speech CD:ue11 CG:uxq10 
                                              USER:test3
210515 164726 CtiSip         8 E-Route Match  PR:9   TYPE:StoS
210515 164726 CtiSip         8 E-CallTx       BC:Speech TY:StoS CD:ue11 
                                              CG:uxq10
210515 164726 CtiSip         8 E-NumComplete  CDI:ue11 CDO:ue11
210515 164726 CtiSip         8 E-AlertRx      CH:8 USER:test2
210515 164726 CtiSip         8 E-AlertTx      CH:7
210515 164741 CtiSip         0 E-VoiceMail    RULE:NOANS USER:test2
210515 164741 CtiSip         9 E-CallRx       AS:CtiVm CH:9 BC:Speech CD:ue11 
                                              CG:uxq10 RG:uxay11 USER:test2
210515 164741 CtiSip         9 E-Route Match  PR:INT TYPE:*toA
210515 164741 CtiVm          9 E-CallTx       AS:CtiVm BC:Speech TY:StoA 
                                              CD:ue11 CG:uxq10 RG:uxay11
210515 164741 CtiSip         9 E-NumComplete  CDI:ue11 CDO:ue11
210515 164741 CtiSip        10 E-CallTransfer SES/ID-IN:9 SES/ID-OUT:8
210515 164741 CtiVm         10 E-ConnRx       CH:3 USER:test2
210515 164741 CtiSip        10 E-ConnTx       CH:7
210515 164832 CtiSip        10 E-DiscRx       CH:7 CAUSE:80 9F (U, Normal, 
                                              unspecified) USER:test3
210515 164832 CtiSip        10 E-DiscConfTx   CH:7
210515 164832 CtiVm         10 E-DiscTx       CH:3 CAUSE:80 9F (U, Normal, 
                                              unspecified) USER:test2

63.2.5.2. Working dir structure

The wdir parameter of CTIVM resource, specify which is the working directory on the CF. The default value is C:\APP\VM\.

Figure 63.2. Structure of CTIVM working folder

Structure of CTIVM working folder

A user can choose to use system default messages (stored in system folder) or customized messages (stored in USER folder).