[Spce-user] Create Voip Account SOAP

Michael Schoepfer michael.schoepfer at gmail.com
Thu Jul 14 11:20:33 EDT 2011


Hi tried to create a new user using the soap interface (Function
"create_voip_account"). But it always receive the follwing error message

*Fatal error*: Uncaught SoapFault exception:
[soap:Client.Syntax.MissingParam] need a billing profile for the new account
in xxxxxx:41 Stack trace: #0 xxxx
(41): SoapClient->__soapCall('create_voip_acc...', Array) #1 {main} thrown
in *xxxxxx* on line xx


This is my array for the Script

Array
(
    [authentication] => Array
        (
            [type] => admin
            [username] => user
            [password] => pass
        )

    [parameters] => Array
        (
            [billing_profile] => default
            [status] => active
            [subscribers] => Array
                (
                    [username] => 43123456
                    [domain] => domain
                    [password] => test
                    [cc] => 43
                    [ac] => 1
                    [sn] => 234546
                    [webusername] => test
                    [webpassword] => test
                )

        )

)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20110714/198dfdcb/attachment.html>


More information about the Spce-user mailing list