Manipulate Diverted-to number 8002 (the new called number or destination) to 8005
The configuration in the Redirect Number Tel -> IP manipulation table is as follows:
Redirect Number Configuration Example
Parameter Rule 1 Rule 2
Destination Prefix
RN DN
Redirect Prefix
6 8
Stripped Digits From Right
1 1
Suffix to Add
5 5
Number of Digits to Leave
5 -
After the above manipulation is done, the device sends the following outgoing SIP 302
response:
SIP/2.0 302 Moved Temporarily
Via: SIP/2.0/TLS 10.33.45.68;branch=z9hG4bKac54132643;alias
From: "MP118 1" <sip:8001@10.33.45.68>;tag=1c54119560
To: <sip:6001@10.33.45.69;user=phone>;tag=1c664560944
Call-ID: 541189832710201115142@10.33.45.68
CSeq: 1 INVITE
Contact: <sip:8005@10.33.45.68;user=phone>
Supported: em,timer,replaces,path,early-session,resource-priority
Allow:
REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUB
SCRIBE,UPDATE
Diversion: <tel:6005>;reason=unknown;counter=1
Server: Audiocodes-Sip-Gateway-IPmedia 260_UN/v.6.20A.043.001
Reason: SIP ;cause=302 ;text="302 Moved Temporarily"
Content-Length: 0
25.7 Mapping NPI/TON to SIP Phone-Context
The Phone-Context table page allows you to map Numbering Plan Indication (NPI) and
Type of Number (TON) to the SIP 'phone-context' parameter. The 'phone-context'
parameter appears in the standard SIP headers where a phone number is used (i.e.,
Request-URI, To, From, and Diversion). When a call is received from the ISDN/Tel side,
the NPI and TON are compared against the table and the matching 'phone-context' value is
used in the outgoing SIP INVITE message. The same mapping occurs when an INVITE
with a 'phone-context' parameter is received.