[Spce-user] Rewrite rule problem

Daniel Grotti dgrotti at sipwise.com
Thu Jun 12 13:38:01 EDT 2014


Hi,
the peer is chosen using the callee prefix.
So if you do not set callee prefix, probably the call goes out via another peer.

Also, from the handbook:

"The selection of peering servers for outbound calls is done in the following order: 
1. whether caller or callee pattern matched. 
2. length of the callee prefix. 
3. priority of the peering group. 
4. weight of the peering servers in the selected peering group. 

After one or more peering group(s) is matched for an outbound call, all servers in this group are tried, according to their weight (lower weight has more precedence). If a peering server replies with SIP codes 408, 500 or 503, or if a peering server doesn’t respond at all, the next peering server in the current peering group is used as a fallback, one after the other until the call succeeds. If no more servers are left in the current peering group, the next group which matches the peering rules is going to be used."


Cheers,
Daniel




----- Original Message -----
From: "Jorge Fresneda - Ibersontel" <j.fresneda at ibersontel.com>
To: spce-user at lists.sipwise.com
Sent: Thursday, June 12, 2014 7:24:22 PM
Subject: [Spce-user] Rewrite rule  problem

Hello,

I have a problem in "rewrite rules" on Peer. When I add a "Peering 
rule", if I write 34 or another number in the "Callee prefix" field and 
also write in "Caller Pattern", the call goes through this Peer 
correctly, but if I put blank "Callee prefix" field and write in "Caller 
Pattern" only, the call is not sent by this peer. What do I do wrong?

Thank you,
regards
Jorge

_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com
http://lists.sipwise.com/listinfo/spce-user




More information about the Spce-user mailing list