<div dir="ltr"><div class="gmail_extra">
On 17 January 2018 at 14:16, Robert Cuaresma <span dir="ltr"><<a href="mailto:rcuaresma@telcon.es" target="_blank">rcuaresma@telcon.es</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<font size="-1"><font face="Calibri">Hi!<br>
<br>
Any idea about this?<br></font></font></div></blockquote><div><br></div><div>I think this will work to exclude your caller:<br></div><div><br></div><div>Caller Pattern: ^sip:(?!<a class="gmail-m_5645606053444725367moz-txt-link-freetext">931234567).*@mydomain\.es</a>$</div><div><br></div><div>The above will match any user at your <a href="http://domain.es">domain.es</a> apart from 931234567</div><div><br></div><div>Then in Peer 2 you could add a Caller Pattern of just ^sip:.*@mydomain\.es$</div><div><br></div><div><br></div><div>Hope this helps.</div><div><br></div><div>-Barry Flanagan</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><font size="-1"><font face="Calibri">
<br>
Thanks!<br>
Robert Cuaresma<br>
TELCON, S.A.<br>
</font></font>
<div class="gmail-m_5645606053444725367moz-signature">
</div>
<blockquote type="cite">
<table id="gmail-m_5645606053444725367msexchangesafetytips;18b133b3-e1e1-4b8d-af59-08d55930707e;R:es-ES" style="border-color:currentcolor;border-style:none;border-width:0px;display:table;width:100%;table-layout:fixed;float:none" cellspacing="0" cellpadding="0" border="0" width="100%" align="left">
<tbody>
<tr>
<td cellpadding="7px 2px 7px 2px" style="padding:7px 2px;background-color:rgb(145,10,25)" bgcolor="#910A19" width="1px" valign="middle"><br>
</td>
<td cellpadding="7px 5px 7px 15px" color="#212121" style="width:100%;background-color:rgb(253,242,244);padding:7px 5px 7px 15px;font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif;font-size:12px;font-weight:normal;color:rgb(33,33,33);text-align:left" bgcolor="#FDF2F4" width="100%" valign="middle"><br>
</td>
<td cellpadding="7px 5px 7px 5px" color="#212121" style="width:75px;background-color:rgb(253,242,244);padding:7px 5px;font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif;font-size:12px;font-weight:normal;color:rgb(33,33,33);text-align:left" bgcolor="#FDF2F4" width="75px" valign="middle" align="left"><br>
</td>
</tr>
</tbody>
</table>
Hi list!<br>
<div>
<br>
Is it possible to exclude a Caller Pattern from a Peering Rule?
I have two peering servers with priority 1 and priority 2
respectively. The peer with priority 1 have configured some
rules for determinate international and mobile prefix like this:<br>
<br>
Name: Peer 1 (Some destinations are routed through this peer)<br>
Priority: 1<br>
Rules:<br>
Callee prefix: 34902<br>
Callee pattern: <i>empty<br>
</i>Caller pattern: I try to put: !^<a class="gmail-m_5645606053444725367moz-txt-link-freetext">sip:931234567@mydomain\.es$</a>
(I use ! at the start of the line to try to invert the rule but
doesn't works)<br>
<br>
Name: Peer 2 (this is the default route)<br>
Priority: 2<br>
Rules:<br>
Callee prefix: <i>empty<br>
</i>Callee pattern: <i>empty<br>
</i>Caller pattern: <i>empty<br>
<br>
</i>The goal is for calls from DDI 931234567 to 34902
destinations are routed through Peer 2 instead Peer 1.<br>
<br>
Any idea?<br>
<br>
Thanks a lot!!<span class="gmail-HOEnZb"><font color="#888888"><br>
<br>
<div class="gmail-m_5645606053444725367moz-signature">-- <br>
Robert Cuaresma<br>
<span lang="CA"></span><br>
</div>
</font></span></div><span class="gmail-HOEnZb"><font color="#888888">
<br>
<fieldset class="gmail-m_5645606053444725367mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Spce-user mailing list
<a class="gmail-m_5645606053444725367moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a>
<a class="gmail-m_5645606053444725367moz-txt-link-freetext" href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/<wbr>listinfo/spce-user</a>
</pre>
</font></span></blockquote>
<br>
</div>
<br>______________________________<wbr>_________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" rel="noreferrer" target="_blank">https://lists.sipwise.com/<wbr>listinfo/spce-user</a><br>
<br></blockquote></div><br></div></div>