Set the value of the Alert-Info header by ARS
Case 1.
Any string can be set at ARS Patterns – OUT.
Patterns OUT:
Matching Patterns: - Any patterns - Deploy Patterns: [Custom:] Alert-Info=<String>
Case 2.
The case that the values of the Alert-info should be changed based on the ARS-IN route which call went through.
At first, when PBX receives the INVITE messages from callers, with the following the route, the value is stored into “&caller.alert-info” parameter.
Patterns IN:
Matching Patterns: - Any patterns - Deploy Patterns: [Custom:] &caller.alert-info=<String>
Then, when PBX sends the INVITE messages to the callees, the stored value is set into the Alert-Info header.
Patterns OUT:
Matching Patterns: - Any patterns - Deploy Patterns: [Custom:] Alert-Info=&caller.alert-info