Caller variables

The caller profile id is initialized with the calling number, if available. The profile information is brought in when an assignment is made to SV20. These variables can be initialized by assigning an application profile ID to SV20. For example, SV20=SV22.

Note: For a numeric list of System Variables, see Table 1.

You can update the Read Only Caller variables in a state table, which also changes the information stored in the application profile database, by updating the application profile using the UpdateProfile state table action.

Caller - Profile : Digit name (SV146)
This variable is a digit representation of the name assigned to the current application profile. The digit for each letter in the name identifies the key on the telephone keypad to which the letter is mapped, according to the configuration defined by the parameters in the Key Signals parameter group. For example, if the characters A, B, and C are mapped to the 2 key, the digit name for a profile named ABC is 222. If these letters are mapped to the 6 key, the digit name for the same profile is 666.
Caller - Profile : Greeting ID (SV108)
This variable indicates which greeting is active for the current application profile. A profile can include up to 255 greetings, but only one can be active.
Caller - Profile : Language (SV147)
This variable contains the code for the language defined for the current application profile. The codes for each language are listed in the Blueworx Voice Response Languages window. It is also set when the GetFindName state table action is used to retrieve an application profile. GetFindName loads all Caller system variables with the values for the retrieved application profile.
Caller - Profile : Number of mailboxes (SV148)
This variable contains the number of mailboxes assigned to the current application profile.
Caller - Profile ID (RW) (SV20)
This variable identifies the calling number, if available. If calling number information is not available, a question mark (?) is assigned to this variable.

This variable can also be set by any of the following state table actions:

  • GetFindName
  • GetData
  • ReceiveData
  • AssignData

When a state table uses one of these actions to write to this variable, Blueworx Voice Response looks for a matching application profile. If no matching profile is found, the action fails, but no alarm is logged. For AssignData and ReceiveData actions, the value of SV20 is set as requested but no other variables related to the profile are set.

The only way to retrieve an application profile from the database is to write to this variable. Even if your system is configured to receive ANI information so that Blueworx Voice Response automatically loads this variable, the application profile is not automatically retrieved. To retrieve the application profile in this case, you can use the AssignData state table action to effectively write to this variable by assigning it to itself (SV20 = SV20).

If the ID is valid, the Caller : Mailbox - ID variable is reset to -1 to indicate that the mailbox information is no longer valid. To access the mailbox information for the new profile, you must reset the Caller : Mailbox - ID variable.