User`s guide
Dialogic
®
1000 and 2000 Media Gateway Series User’s Guide 205
Routing Table
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