For example: Assume the following incoming REGISTER message is received and that
you want to register in the SAS database the UA's full number as well as the last four digits
from the right of the SIP URI user part:
REGISTER sip:10.33.38.2 SIP/2.0
Via: SIP/2.0/UDP 10.33.4.226:5050;branch=z9hG4bKac10827
Max-Forwards: 70
From: <sip: 976653434@10.33.4.226>;tag=1c30219
To: <sip: 976653434@10.33.4.226>
Call-ID: 16844@10.33.4.226
CSeq: 1 REGISTER
Contact: <sip: 976653434@10.10.10.10:5050>;expires=180
Allow:
REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUB
SCRIBE,UPDATE
Expires: 180
User-Agent: Audiocodes-Sip-Gateway-/v.
Content-Length: 0
After manipulation, SAS registers the user in its database as follows:
Associated AOR: 3434@10.33.4.226 (after manipulation, in which only the four digits
from the right of the URI user part are retained)
Contact: 976653434@10.10.10.10
The procedure below describes how to configure the above manipulation example.
To manipulate incoming Request-URI user part of REGISTER message:
1. Open the SAS Configuration page (Configuration tab > VoIP menu > SAS > Stand
Alone Survivability).
2. Under the SAS Registration Manipulation group, in the 'Leave From Right' field,
enter the number of digits (e.g., "4") to leave from the right side of the user part. This
field defines the number of digits to retain from the right side of the user part; all other
digits in the user part are removed.
Figure 27-8: Manipulating User Part in Incoming REGISTER
3. Click Submit.