<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,<br>
      you can user subscriber's preferences "emergency_prefix" for
      example.<br>
      Just set a prefix there like "peerA_" to all the susbcribers that
      are using PeerA<br>
      <br>
      Then you can intercept all call from that subscriber on your
      peerA, by setting a peering rules like:<br>
      <br>
      callee prefix<br>
      peerA_<br>
      <br>
      <br>
      now, in the peerA's OUTBOUND rewrite rule for callee, just remove
      the prefix "peerA_".<br>
      <br>
      <br>
      Daniel<br>
      <br>
      <br>
      On 01/16/2015 04:13 PM, Mykola Zaika wrote:<br>
    </div>
    <blockquote
cite="mid:CABT8L5y37rKQGPOPtzBjLExvh9VX=Fs59NviW3ynfamTd7v0Zg@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br clear="all">
        <div>
          <div class="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div><font color="#888888">Hello,<br>
                    </font></div>
                  <div><font color="#888888">Could You help me?<br>
                    </font></div>
                  <div><font color="#888888">How I can control calls via
                      Sip Provider CE for subscribers? I need that
                      subscriber can make a call only via one peer,
                      other subscriber only via another peer. <br>
                    </font></div>
                  <div><font color="#888888">All my peering rules are
                      available for all subscribers in my system. In the
                      Asterisk system is things like 'Context' wich
                      gives us opportunity to control calls.<br>
                      <br>
                    </font></div>
                  <div><font color="#888888">Thanks<br>
                    </font></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>