<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>Hi Daniel</div><div><br></div><div>Yes, and it is working with other peer server in the same peering group.</div><div><br></div><div>Regards</div><div id="composer_signature"><div><br><div dir="auto">Raul Fernandez</div></div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Mensaje original --------</div><div>De: Daniel Grotti <dgrotti@sipwise.com> </div><div>Fecha: 10/4/19  9:49  (GMT+01:00) </div><div>Para: spce-user@lists.sipwise.com </div><div>Asunto: Re: [Spce-user] Inbound Peering Rule </div><div><br></div></div>
    <tt>Hi,<br>
      this is correct.<br>
      Is the rule ENABLED with flag enabled=1 ?<br>
      <br>
      <br>
    </tt>
    <pre class="moz-signature" cols="72">--
Daniel Grotti

Head of Customer Support                               Sipwise GmbH
e: <a class="moz-txt-link-abbreviated" href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>                               Europaring F15
t: +43(0)130120332                          A-2345 Brunn Am Gebirge
w: <a class="moz-txt-link-abbreviated" href="http://www.sipwise.com">www.sipwise.com</a>          FN: 305595f      FG: LG Wiener Neustadt
</pre>
    <div class="moz-cite-prefix">On 4/10/19 9:20 AM, Raul Fernandez
      Gomez wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:96cbde3f-e47b-3928-fedc-caa641e49b7c@berkano.es">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <p>Hi</p>
      <p><br>
      </p>
      <p>Could you please recommend an Inbound Peering Rule for
        accepting any call from the peering servers?</p>
      <p><br>
      </p>
      <p>I am trying with the following:</p>
      <p>- Field: to_uri</p>
      <p>- Pattern: .*</p>
      <p><br>
      </p>
      <p>But it seems that I am doing something wrong:<br>
      </p>
      <p>Apr 10 09:09:59 sipwise proxy[1472]: NOTICE: <script>:
        New request on proxy - M=INVITE <a class="moz-txt-link-abbreviated" href="mailto:R=sip:876660xxx@185.254.160.126:5060;user=phone" moz-do-not-send="true">R=sip:876660xxx@185.254.160.126:5060;user=phone</a>
        <a class="moz-txt-link-abbreviated" href="mailto:F=sip:649xxxxxx@trunksip6.lcrcom.es;user=phone" moz-do-not-send="true">F=sip:649xxxxxx@trunksip6.lcrcom.es;user=phone</a>
        <a class="moz-txt-link-abbreviated" href="mailto:T=sip:876660xxx@trunksip6.lcrcom.es;user=phone" moz-do-not-send="true">T=sip:876660xxx@trunksip6.lcrcom.es;user=phone</a>
        IP=185.130.155.216:5060 (127.0.0.1:5060) <a class="moz-txt-link-abbreviated" href="mailto:ID=5cad96c700000a640000d067e5e9776a@ens.com" moz-do-not-send="true">ID=5cad96c700000a640000d067e5e9776a@ens.com</a>
        UA='<null>' DESTIP=127.0.0.1:5062<br>
        Apr 10 09:09:59 sipwise proxy[1472]: NOTICE: <script>:
        Sending reply S=100 Trying fs='127.0.0.1:5062'
        du='127.0.0.1:5060' - <a class="moz-txt-link-abbreviated" href="mailto:R=sip:876660xxx@185.254.160.126:5060;user=phone" moz-do-not-send="true">R=sip:876660xxx@185.254.160.126:5060;user=phone</a>
        <a class="moz-txt-link-abbreviated" href="mailto:ID=5cad96c700000a640000d067e5e9776a@ens.com" moz-do-not-send="true">ID=5cad96c700000a640000d067e5e9776a@ens.com</a>
        UA='<null>'<br>
        Apr 10 09:09:59 sipwise proxy[1472]: NOTICE: <script>:
        Call from PSTN - <a class="moz-txt-link-abbreviated" href="mailto:R=sip:876660xxx@185.254.160.126:5060;user=phone" moz-do-not-send="true">R=sip:876660xxx@185.254.160.126:5060;user=phone</a>
        <a class="moz-txt-link-abbreviated" href="mailto:ID=5cad96c700000a640000d067e5e9776a@ens.com" moz-do-not-send="true">ID=5cad96c700000a640000d067e5e9776a@ens.com</a>
        UA='<null>'<br>
        Apr 10 09:09:59 sipwise proxy[1472]: NOTICE: <script>: <b>No
          matching inbound peer rule in any peering group, rejecting
          call</b> - <a class="moz-txt-link-abbreviated" href="mailto:R=sip:876660xxx@185.254.160.126:5060;user=phone" moz-do-not-send="true">R=sip:876660xxx@185.254.160.126:5060;user=phone</a>
        <a class="moz-txt-link-abbreviated" href="mailto:ID=5cad96c700000a640000d067e5e9776a@ens.com" moz-do-not-send="true">ID=5cad96c700000a640000d067e5e9776a@ens.com</a>
        UA='<null>'<br>
        Apr 10 09:09:59 sipwise proxy[1480]: NOTICE: <script>: New
        request on proxy - M=ACK <a class="moz-txt-link-abbreviated" href="mailto:R=sip:876660xxx@185.254.160.126:5060;user=phone" moz-do-not-send="true">R=sip:876660xxx@185.254.160.126:5060;user=phone</a>
        F=<null> T=<null> IP=<null>:<null>
        (127.0.0.1:5060) <a class="moz-txt-link-abbreviated" href="mailto:ID=5cad96c700000a640000d067e5e9776a@ens.com" moz-do-not-send="true">ID=5cad96c700000a640000d067e5e9776a@ens.com</a>
        UA='<null>' DESTIP=127.0.0.1:5062<br>
        Apr 10 09:09:59 sipwise proxy[1472]: NOTICE: <script>:
        Sending reply S=403 Forbidden fs='127.0.0.1:5062'
        du='127.0.0.1:5060' - <a class="moz-txt-link-abbreviated" href="mailto:R=sip:876660xxx@185.254.160.126:5060;user=phone" moz-do-not-send="true">R=sip:876660xxx@185.254.160.126:5060;user=phone</a>
        <a class="moz-txt-link-abbreviated" href="mailto:ID=5cad96c700000a640000d067e5e9776a@ens.com" moz-do-not-send="true">ID=5cad96c700000a640000d067e5e9776a@ens.com</a>
        UA='<null>'<br>
      </p>
      <p><br>
      </p>
      <p>Nevertheless, it works with other peers servers:</p>
      <p>Apr 10 09:15:14 sipwise proxy[1484]: NOTICE: <script>:
        New request on proxy - M=INVITE <a class="moz-txt-link-abbreviated" href="mailto:R=sip:876613xxx@185.254.160.126:5060" moz-do-not-send="true">R=sip:876613xxx@185.254.160.126:5060</a>
        <a class="moz-txt-link-abbreviated" href="mailto:F=sip:649xxxxxx@78.136.82.55" moz-do-not-send="true">F=sip:649xxxxxx@78.136.82.55</a> <a class="moz-txt-link-abbreviated" href="mailto:T=sip:876613xxx@185.254.160.126:5060" moz-do-not-send="true">T=sip:876613xxx@185.254.160.126:5060</a>
        IP=78.136.82.55:5060 (127.0.0.1:5060)
        ID=3a258f4d-d603-1237-6b80-d09466645245 UA='NP005'
        DESTIP=127.0.0.1:5062<br>
        Apr 10 09:15:14 sipwise proxy[1484]: NOTICE: <script>:
        Sending reply S=100 Trying fs='127.0.0.1:5062'
        du='127.0.0.1:5060' - <a class="moz-txt-link-abbreviated" href="mailto:R=sip:876613xxx@185.254.160.126:5060" moz-do-not-send="true">R=sip:876613xxx@185.254.160.126:5060</a>
        ID=3a258f4d-d603-1237-6b80-d09466645245 UA='NP005'<br>
        Apr 10 09:15:14 sipwise proxy[1484]: NOTICE: <script>:
        Call from PSTN - <a class="moz-txt-link-abbreviated" href="mailto:R=sip:876613xxx@185.254.160.126:5060" moz-do-not-send="true">R=sip:876613xxx@185.254.160.126:5060</a>
        ID=3a258f4d-d603-1237-6b80-d09466645245 UA='NP005'<br>
        Apr 10 09:15:14 sipwise proxy[1484]: NOTICE: <script>: <b>Inbound
          peering group '1' matched, looking up peer host</b> - <a class="moz-txt-link-abbreviated" href="mailto:R=sip:876613xxx@185.254.160.126:5060" moz-do-not-send="true">R=sip:876613xxx@185.254.160.126:5060</a>
        ID=3a258f4d-d603-1237-6b80-d09466645245 UA='NP005'<br>
        Apr 10 09:15:14 sipwise proxy[1484]: NOTICE: <script>:<b>
          Selected peering host id '2' as inbound peer</b> - <a class="moz-txt-link-abbreviated" href="mailto:R=sip:876613xxx@185.254.160.126:5060" moz-do-not-send="true">R=sip:876613xxx@185.254.160.126:5060</a>
        ID=3a258f4d-d603-1237-6b80-d09466645245 UA='NP005'<br>
      </p>
      <p><br>
      </p>
      <p>Do I need to call some script after changing the rule?</p>
      <p><br>
      </p>
      <p>Thanks in advance<br>
      </p>
      <div class="moz-signature">Raul <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Spce-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a class="moz-txt-link-freetext" href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a>
</pre>
    </blockquote>
    <br>
  </body></html>