[Spce-user] rewrite rule

Tóth Csaba tsabi at tsabi.hu
Tue Nov 25 08:30:29 EST 2014


Hi,

i have a problem with rewrite-rules.

I setted up three different rules sets: Rule3 to the subscriber, Rule2
to the domain and Rule1 to the peer.

Setted a ^88 match to every slot of the rules, but with different output:

Rule1 In Callee match:^88 to:_11
Rule1 In Caller match:^88 to:_12
Rule1 Out Callee match:^88 to:_13
Rule1 Out Caller match:^88 to:_14

Rule2 In Callee match:^88 to:_15
Rule2 In Caller match:^88 to:_16
Rule2 Out Callee match:^88 to:_17
Rule2 Out Caller match:^88 to:_18

Rule3 In Callee match:^88 to:_19
Rule3 In Caller match:^88 to:_20
Rule3 Out Callee match:^88 to:_21
Rule3 Out Caller match:^88 to:_22


And when i place a call to 88, it is converted just to _13 at peer. This is
the log: http://pastebin.com/Nk9yyrqy

Why is that? None of the subscriber and the domain catches the 88?

I believe this work like this:
if the call comes in, either the domain or the subscriber rewrite rule
evaluated (if one is setted up in the subscriber, domain priority
order), than when the call goes out at peer it again evaluated by the
peer's rewrite rule set.

I use the latest 3.4.2 version.

Thanks in advance,
Csaba



More information about the Spce-user mailing list