[Spce-user] Using API for subscriber control

Andreas Granig agranig at sipwise.com
Tue Nov 25 04:45:32 EST 2014


Hi Pedro,

If you want to use the API, you should really upgrade to the latest 3.6
version and use REST. SOAP is a dead end on the 3.x branch and will be
disabled by default before the next LTS.

Andreas

On 11/24/2014 10:16 PM, Pedro Guillem wrote:
> Indeed i will. The password algorithm is the apache2 standard.
> 
> ... by any chance, does anybody knows of a PHP example to call this
> functions over XML-RPC ?
> 
> I haven´t used xml-rpc since i was 21 hahaha.. (i´m 31 now, so 10
> years). I might be a little rusted.
> 
> Pedro
> 
> On Mon, Nov 24, 2014 at 4:04 PM, Kevin Masse <kmasse at questblue.com
> <mailto:kmasse at questblue.com>> wrote:
> 
>     Pedro, that sounds correct.____
> 
>     Make sure you have created your credentials in order to login in the
>     config.yml____
> 
>     __ __
> 
>     Thanks____
> 
>     Kevin____
> 
>     __ __
> 
>     __ __
> 
>     *From:*Pedro Guillem [mailto:pedro.guillem at gmail.com
>     <mailto:pedro.guillem at gmail.com>]
>     *Sent:* Monday, November 24, 2014 4:04 PM
> 
> 
>     *To:* Kevin Masse
>     *Cc:* spce-user
>     *Subject:* Re: [Spce-user] Using API for subscriber control____
> 
>     __ __
> 
>     I read the handbook of version 3.1 (ossbss section) and it points to
>     the SOAP interface and how to use it.____
> 
>     Inside the WSDL site itself is the documentation for each function.
>     It´s packed along with the server.____
> 
>     __ __
> 
>     Page 87 of 101 states:____
> 
>     Access https://<ip>:2443/SOAP/Provisioning.wsdl
>     <https://%3cip%3e:2443/SOAP/Provisioning.wsdl> and login with your
>     new credentials____
> 
>     __ __
> 
>     I´ll report further questions, if any.____
> 
>     I hope this is the right interface.____
> 
>     __ __
> 
>     Thanks a lot!____
> 
>     Pedro____
> 
>     __ __
> 
>     On Mon, Nov 24, 2014 at 3:29 PM, Kevin Masse <kmasse at questblue.com
>     <mailto:kmasse at questblue.com>> wrote:____
> 
>     Hello Pedro, I do not have the link for version 3.1____
> 
>      ____
> 
>     We need to send this back to the group.  I have a 2.8 but you need
>     to be sure the API is the same so let’s let the group answer that
>     3.1 part.____
> 
>      ____
> 
>     Kevin____
> 
>      ____
> 
>      ____
> 
>     *From:*Pedro Guillem [mailto:pedro.guillem at gmail.com
>     <mailto:pedro.guillem at gmail.com>]
>     *Sent:* Monday, November 24, 2014 3:28 PM
>     *To:* Kevin Masse
>     *Cc:* spce-user
>     *Subject:* Re: [Spce-user] Using API for subscriber control____
> 
>      ____
> 
>     Thanks for the quick reply Kevin.____
> 
>     I imagined this would be a feature long taken care of.____
> 
>      ____
> 
>     I haven´t checked the API, could you please post a link for version
>     3.1 ?____
> 
>      ____
> 
>     Cheers____
> 
>     Pedro____
> 
>      ____
> 
>     On Mon, Nov 24, 2014 at 2:56 PM, Kevin Masse <kmasse at questblue.com
>     <mailto:kmasse at questblue.com>> wrote:____
> 
>     Good afternoon Pedro, you would want to use the SOAP / API
>     Provisioning to do this.____
> 
>     It is a simple command that will have different lock options
>     (Global) (Outbound) etc.____
> 
>      ____
> 
>     Have you reviewed the API for your package version?____
> 
>      ____
> 
>     Kevin____
> 
>      ____
> 
>      ____
> 
>     *From:*Spce-user [mailto:spce-user-bounces at lists.sipwise.com
>     <mailto:spce-user-bounces at lists.sipwise.com>] *On Behalf Of *Pedro
>     Guillem
>     *Sent:* Monday, November 24, 2014 2:55 PM
>     *To:* spce-user
>     *Subject:* [Spce-user] Using API for suscriber control____
> 
>      ____
> 
>     Hello guys____
> 
>      ____
> 
>     I was wondering if there is a "single liner" or ngcp-* script to
>     temporally enable or disable a suscriber?. I mean specifically to
>     restrict outgoing calls.____
> 
>      ____
> 
>     I do know there are some perl scripts for creating a new suscriber
>     and even for "terminating" it, but not for temporally disabling a
>     suscriber.____
> 
>      ____
> 
>     If its easier to modify a table row to perform this, it's also a
>     solution.____
> 
>      ____
> 
>     Any ideas____
> 
>     Pedro Guillem____
> 
>      ____
> 
>      ____
> 
>      ____
> 
>      ____
> 
>      ____
> 
>     __ __
> 
> 
> 
> 
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
> 



More information about the Spce-user mailing list