[Spce-user] Peering Rules

Daniel Grotti dgrotti at sipwise.com
Sun Dec 15 06:44:17 EST 2013


Hi,
just lo let you know an example of negative match:

^((?!^sip:\+43).)*$

 
Daniel


On Sunday, December 15, 2013 10:16 CET, "Carriba UG - sip:wise" <sipwise at carriba.org> wrote: 
 
> Hello,
> 
> I have a question about the peering rules.
> 
> I have two peering servers now:
> 
> 1. Priority 1
> Callee Prefix: -
> Callee Pattern: ^sip:+43
> Caller Pattern: -
> 
> Callee Prefix: -
> Callee Pattern: !^sip:+4366411111
> Caller Pattern: -
> 
> 2. Priority 2
> Callee Prefix: -
> Callee Pattern: ^sip:+4366411111
> Caller Pattern: -
> Callee Prefix: -
> Callee Pattern: !^sip:+43
> Caller Pattern: -
> 
> Now, if I add a wild card rule to the 2. all calls will be routet over 
> them including the +43.
> 
> Can you please explain that.
 
 
 
 





More information about the Spce-user mailing list