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.
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.
This variable can also be set by any of the following state table actions:
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.