[Spce-user] Creating subscribers through the API

Andrew Pogrebennyk apogrebennyk at sipwise.com
Wed Apr 15 10:12:49 EDT 2015


Hi,
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).
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.

Hope this helps,
Andrew

On 04/13/2015 05:53 PM, Dennis van der Vliet wrote:
>
> Hi,
>
> 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.
>
> Further inspection of the log files (kamailio-proxy.log) gives us the
> following info:
>
> |Apr 13 15:43:54 voip02-ams3-do proxy[4389]: NOTICE: <script>: New request on proxy - M=REGISTER R=sip:sub.domain.co <http://sub.domain.co> F=sip:username_3217 at sub.domain.co <mailto:sip%3Ausername_3217 at sub.domain.co> T=sip:username_3217 at sub.domain.co <mailto:sip%3Ausername_3217 at sub.domain.co> IP={IP_ADDRESS} (127.0.0.1:5060 <http://127.0.0.1:5060>) ID=b75aa40b-c9aa67f3@{IP_ADDRESS}
> Apr 13 15:43:54 voip02-ams3-do proxy[4389]: WARNING: <script>: Domain not served here - R=sip:sub.domain.co <http://sub.domain.co> ID=b75aa40b-c9aa67f3@{IP_ADDRESS}
> |
>
> The issue is fixed once we restart kamailio-proxy manually.
>
> 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?
>
> Best from Amsterdam,
>
> Dennis van der Vliet | Senior Engineer
>
> M: +31 6 53 47 44 96
> E: dennis at messagebird.com <mailto:dennis at messagebird.com>
> MessageBird
>
> LinkedIn | Twitter
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20150415/628caf36/attachment-0001.html>


More information about the Spce-user mailing list