User`s guide

212 Dialogic
®
1000 and 2000 Media Gateway Series User’s Guide
Routing Table
Figure 34 is a screen shot of the CPID Manipulation configuration Web page:
Figure 34. CPID Manipulation Configuration Web Page
Calling Party Number - The formula as specified in the section above that determines the calling
number of the outgoing call.
Calling Party Name- The formula as specified in the section above that determines the calling
name of the outgoing call.
Name Manipulation
Rule Syntax Description Example Example Result
S Source (calling) number S Amanda
D Destination (called) number D Sydney
R Redirection number R Dave
S# Source (calling) number S# 7168675309
D# Destination (called) number D# 5551212
R# Redirection number R# 4815162342
S@ Source (calling) name S@ Amanda
D@ Destination (called) name D@ Sydney
R@ Redirection name R@ Dave
“ ” Takes what’s in quotes as
literal
“353” 353
+ Concatenate “800” + D 800Sydney
lext(str, n) Extract n characters from left
of str
lext(S, 3) Ama
rext(str, n) Extract n characters from right
of str
rext(S@, 4) anda
lrem(str, n) Remove n characters from left
of str
lrem(S#, 3) 8675309
rrem(str, n) Remove n characters from
right of str
rrem(D#, 4) 555
mext(str, pos, n) Extract n characters from str
starting pos digits from left
mext(S, 1, 3) man
repl(str, old, new) Find 1st occurrence of old in
str and replace with new
repl(D, “ydne”, “all”) Sally
Mix multiple rules S@ + “-at-” + rext(S#,3) Amanda-at-309