<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,<br>
      there is no such trigger on subscriber creation via API. Could you
      please provide an example of such request (you may check
      /var/log/ngcp/api.log).<br>
      What about the domains, are you using the same domain for the API
      request and on the panel? This error message means that request
      domain doesn't exist in the system.<br>
      <br>
      Hope this helps,<br>
      Andrew<br>
      <br>
      On 04/13/2015 05:53 PM, Dennis van der Vliet wrote:<br>
    </div>
    <blockquote
cite="mid:CAJe0b+X7h6-29CKx8nyuAS930AU0HiyAS3du4Y1Y-keuxLQomg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="markdown-here-wrapper" style="">
          <p style="margin:1.2em 0px!important">Hi,</p>
          <p style="margin:1.2em 0px!important">When trying to create a
            subscriber through the API we encounter the following issue.
            After creating the user and entering the credentials on a
            phone, registration is not possible.</p>
          <p style="margin:1.2em 0px!important">Further inspection of
            the log files (kamailio-proxy.log) gives us the following
            info:</p>
          <pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248);white-space:pre;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important">Apr 13 15:43:54 voip02-ams3-do proxy[4389]: NOTICE: <script>: New request on proxy - M=REGISTER R=sip:<a moz-do-not-send="true" href="http://sub.domain.co">sub.domain.co</a> F=<a moz-do-not-send="true" href="mailto:sip%3Ausername_3217@sub.domain.co">sip:username_3217@sub.domain.co</a> T=<a moz-do-not-send="true" href="mailto:sip%3Ausername_3217@sub.domain.co">sip:username_3217@sub.domain.co</a> IP={IP_ADDRESS} (<a moz-do-not-send="true" href="http://127.0.0.1:5060">127.0.0.1:5060</a
>) ID=b75aa40b-c9aa67f3@{IP_ADDRESS}
Apr 13 15:43:54 voip02-ams3-do proxy[4389]: WARNING: <script>: Domain not served here - R=sip:<a moz-do-not-send="true" href="http://sub.domain.co">sub.domain.co</a> ID=b75aa40b-c9aa67f3@{IP_ADDRESS}
</code></pre>
          <p style="margin:1.2em 0px!important">The issue is fixed once
            we restart kamailio-proxy manually.</p>
          <p style="margin:1.2em 0px!important">Is some kind of “flush”
            triggered after creating a subscriber through the
            webinterface that is not triggered when you do the same
            through the API?</p>
          <p style="margin:1.2em 0px!important">Best from Amsterdam,</p>
          <p style="margin:1.2em 0px!important">Dennis van der Vliet |
            Senior Engineer</p>
          <p style="margin:1.2em 0px!important">M: +31 6 53 47 44 96<br>
            E: <a moz-do-not-send="true"
              href="mailto:dennis@messagebird.com">dennis@messagebird.com</a><br>
            MessageBird</p>
          <p style="margin:1.2em 0px!important">LinkedIn | Twitter</p>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>