Number Manipulations
With the exception of the Route & Translation Pattern Call Party Transformation, these transformations do not effect the dialled number or call routing.
SIP uses the Remote-Party-ID, From and Contact fields for caller numbers.
Directory Number Line Appearance External Phone Number Mask
Device Pool Call Routing Information
For H.323 & MCGP controlled gateways; SIP trunks do not carry number type info; but the Unknown option will work for all SIP calls.
Device Pool Calling Party Transformation CSS
Device Pool Connected Party Transformation CSS
Device Pool Redirecting Party Transformation CSS
Translation Pattern Calling Party Transformations
Translation Pattern Connected Party Transformations
Translation Pattern Called Party Transformations
As expected; this modifies the actual called number.
Route Pattern Calling Party Transformations
Route Pattern Connected Party Transformations
Route Pattern Called Party Transformations
As expected; this modifies the actual called number.
Device Number Presentation Transformation
(unsure – need to research if this is just mobility or not)
IOS Translation Rules – Calling Number (Outbound Call)
So take last 4 digits of the calling number and prefix with E.164
voice translation-rule 2
rule 1 /.*(….)$/ /441245001/ type any international
!
voice translation-profile PSTN-OUT
translate calling 2
!
!
voice-port 0/2/0:15
translation-profile outgoing PSTN-OUT
!
! or could be applied to serial or outgoing dial peer.
Same process applies to inbound and outbound for calling and called numbers
Calling Number
|
Called Number
|
|
Inbound Call
(Into GW From PSTN)
|
!
voice translation-rule 1
rule 1 /(.*)/ /+1/ type international international
!
voice translation-profile PSTN-IN
translate calling 1
!
voice-port 0/2/0:15
translation-profile incoming PSTN-IN
!
|
!
voice translation-rule 2
rule 1 /96679(….$)/ /3001/
!
!
voice translation-profile PSTN-IN
translate called 2
!
voice-port 0/2/0:15
translation-profile incoming PSTN-IN
!
|
Outbound Call
(From GW into PSTN)
|
!
voice translation-rule 2 rule 1 /.*(….)$/ /441245001/ type any international
! voice translation-profile PSTN-OUT translate calling 2 ! voice-port 0/2/0:15 translation-profile outgoing PSTN-OUT ! |