[Spce-user] Creating subscribers through the API
Dennis van der Vliet
dennis at messagebird.com
Wed Apr 15 11:36:58 EDT 2015
The issue was not with the subscriber but with the domain. I created a pull
request (https://github.com/sipwise/ngcp-panel/pull/1) that fixes it.
Seems to be related to the kamailio-proxy not being flushed after creating
a new domain.
Dennis
Best from Amsterdam,
Dennis van der Vliet | Senior Engineer
M: +31 6 53 47 44 96
E: dennis at messagebird.com
MessageBird
LinkedIn <https://nl.linkedin.com/in/dennisvandervliet> | Twitter
<https://twitter.com/dennisvdvliet>
On 15 April 2015 at 17:18, Serge Yuriev <me at nevian.org> wrote:
> Hello,
>
> I also see such error but in my case user created via panel.
> Mr3.8.1
>
> --
> Serge via mobile
>
> Il giorno 15 апр. 2015 г., alle ore 17:12, Andrew Pogrebennyk <
> apogrebennyk at sipwise.com> ha scritto:
>
> 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 F=sip:username_3217 at sub.domain.co T=sip:username_3217 at sub.domain.co IP={IP_ADDRESS} (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 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
> MessageBird
>
> LinkedIn | Twitter
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20150415/38b2ed23/attachment-0001.html>
More information about the Spce-user
mailing list