UAC (User Agent Client) module provides some basic UAC functionalities like FROM header manipulation (anonymization) or client authentication.
Known limitations in this version:
authentication does not support qop
The UAC module requires additional functionality in TM module for implementing full FROM restoring. If you use from_restore_mode 1 or 2, you will need to apply the patch replace_from.patch located in the "doc" directory of UAC module.
Name of FROM header parameter that will be used to store (encoded) the original FROM URI.
This parameter is optional, it's default value being "vsf".
There are 3 mode of restoring the original FROM URI:
0 - NO RESTORE - no information about original URI is stored.
1 - AUTO RESTORE - all sequential request will be automatically updated based on stored original URI.
2 - MANUAL RESTORE - all sequential requests/replies must be manually updated based on original URI.
This parameter is optional, it's default value being 0.
Replace in FROM header the display name and the URI part.
Example 4. uac_replace_from
usage
... uac_replace_from("batman","sip:batman@gotham.org"); uac_replace_from("","sip:robin@gotham.org"); uac_replace_from("batman",""); ...
Replace in FROM header the URI part without altering the display name.
This function will check if the FROM URI was modified and will use the information stored in header parameter to restore the original FROM URI value.