<div dir="ltr">Great - thanks for the input!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 29, 2016 at 5:27 PM, Andreas Granig <span dir="ltr"><<a href="mailto:agranig@sipwise.com" target="_blank">agranig@sipwise.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Theo,<br>
<br>
It's there, please check<br>
<a href="https://your-ip:1443/api/subscriberpreferencedefs/" rel="noreferrer" target="_blank">https://your-ip:1443/api/subscriberpreferencedefs/</a> on your server and<br>
search for peer_auth_user.<br>
<br>
An example of how to set those preferences specified in the<br>
/api/subscriberpreferencedefs/ resource is provided at<br>
<a href="https://www.sipwise.org/doc/mr4.2.1/spce/ar01s12.html#_managing_customers_and_subscribers" rel="noreferrer" target="_blank">https://www.sipwise.org/doc/mr4.2.1/spce/ar01s12.html#_managing_customers_and_subscribers</a>,<br>
search for /api/subscriberpreferences/ in this document for real world<br>
examples.<br>
<br>
Andreas<br>
<span class=""><br>
On 01/29/2016 07:15 AM, Theo wrote:<br>
> Thanks guys I am pretty sure I agree.<br>
><br>
> It is my understanding that peer_auth_user, pass and realm are not<br>
> available through API? in their case every single user would need<br>
> details there. If that is indeed available then I think their problem<br>
> would be solved.<br>
><br>
> On Thu, Jan 28, 2016 at 11:17 PM, Barry Flanagan <<a href="mailto:barry@flanagan.ie">barry@flanagan.ie</a><br>
</span><span class="">> <mailto:<a href="mailto:barry@flanagan.ie">barry@flanagan.ie</a>>> wrote:<br>
><br>
>     On 28 January 2016 at 20:32, Andreas Granig <<a href="mailto:agranig@sipwise.com">agranig@sipwise.com</a><br>
</span><span class="">>     <mailto:<a href="mailto:agranig@sipwise.com">agranig@sipwise.com</a>>> wrote:<br>
><br>
>     > Hi Theo,<br>
>     ><br>
>     > It's certainly possible for the brave, but totally unsupported. I can<br>
>     ><br>
>     > only recommend NOT to do this.<br>
><br>
>     Yeah, definitely DON'T. Let him break his own stuff. I can't see why<br>
>     he would need to bypass the APIs in any case. We run sipwise for<br>
>     lots of different scenarios and  there are only a few edge cases<br>
>     where the API doesn't yet provide what is required.<br>
><br>
>     -Barry<br>
>     ><br>
>     ><br>
>     > Andreas<br>
>     ><br>
>     > On 01/28/2016 09:06 PM, Theo wrote:<br>
>     > > Hi<br>
>     > ><br>
>     > > We run sipwise for ourselves. A client of ours wants to possibly use it<br>
>     > > but would want to create accounts including all its settings (and that<br>
>     > > would include ALL) by writing it directly to the database. So no API. I<br>
>     > > do not know enough about this to answer whether this is possible or not.<br>
>     > ><br>
>     > > Can anyone give some advice on this?<br>
>     > ><br>
>     > ><br>
>     > > _______________________________________________<br>
>     > > Spce-user mailing list<br>
</span>>     > > <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
<span class="">>     > > <a href="https://lists.sipwise.com/listinfo/spce-user" rel="noreferrer" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
>     > ><br>
>     > _______________________________________________<br>
>     > Spce-user mailing list<br>
</span>>     > <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
<span class="">>     > <a href="https://lists.sipwise.com/listinfo/spce-user" rel="noreferrer" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
><br>
><br>
>     -Barry<br>
><br>
><br>
>     _______________________________________________<br>
>     Spce-user mailing list<br>
</span>>     <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
>     <a href="https://lists.sipwise.com/listinfo/spce-user" rel="noreferrer" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
><br>
><br>
</blockquote></div><br></div>