[Spce-user] Adding Accounts and Subscriber through script or csv?

Ivan Milivojevic edesibe at gmail.com
Fri Sep 13 09:58:22 EDT 2013


Hi all,,

Here is mine

:)

#csv template, adjust your needs and comment unnecessary fields
external_id,user,domain,pass,web-user,web-pass,primary_number,,,billing-profile,quota,no_nat_sipping

Dont forget to adjust

authentication => {
                       type     => 'admin',
                       username => '<change_this>',
                       password => '<change_this>',


#calling
create_subscribers_from_csv <CSV>

Regards,
Ivan



On Fri, Sep 13, 2013 at 3:39 PM, Barry Flanagan <barry at flanagan.ie> wrote:

> On 13 September 2013 12:45, Flo <florian at acw.at> wrote:
>
>> Hi,
>>
>> currently, we have no complete csv file, but I made one for you.
>> Most of the users have no alias number, some have two or more.
>>
>> I don't know, if we need all columns. External_id and usernames are equal
>> for a account and there subscribers.
>>
>>
>
> You should be able to do this with the  api samples Andreas just posted.
>
> I would suggest creating three php scripts one using each of his examples
> for adding an account and adding a subscriber and then adding subscriber
> preferences. Create all the accounts first then load up the subscribers,
> then the preferences.
>
> Hope this helps.
>
> -Barry
>
>
>
> Thank you!
>>
>> Florian
>>
>>
>> On 09/13/2013 11:22 AM, Barry Flanagan wrote:
>>
>>> Can you send a sample of your CSV? Don't include any sensitive info,
>>> just the fields.
>>>
>>> -Barry
>>>
>>> On 13 Sep 2013 10:17, "Flo" <florian at acw.at <mailto:florian at acw.at>>
>>> wrote:
>>>
>>>     Hi,
>>>
>>>     that would be very nice!
>>>
>>>     Florian
>>>
>>>     On 09/13/2013 10:02 AM, Barry Flanagan wrote:
>>>
>>>         On 13 Sep 2013 08:55, "Flo" <florian at acw.at
>>>         <mailto:florian at acw.at> <mailto:florian at acw.at
>>>
>>>         <mailto:florian at acw.at>>> wrote:
>>>           >
>>>           > Hello,
>>>           >
>>>           > thank you for your replies!
>>>           >
>>>           > Unfortunately I never worked with SOAP!
>>>           >
>>>           > @Barry Flanagan,
>>>           > can you give me some advice how to do that with php?
>>>           >
>>>
>>>         I'll see if I can post some examples later to get you started.
>>>
>>>         -Barry
>>>
>>>           >
>>>           > Florian
>>>           >
>>>           >
>>>           > ______________________________**___________________
>>>
>>>           > Spce-user mailing list
>>>           > Spce-user at lists.sipwise.com
>>>         <mailto:Spce-user at lists.**sipwise.com<Spce-user at lists.sipwise.com>
>>> >
>>>         <mailto:Spce-user at lists.__sipw**ise.com <http://sipwise.com>
>>>         <mailto:Spce-user at lists.**sipwise.com<Spce-user at lists.sipwise.com>
>>> >>
>>>           > http://lists.sipwise.com/__**listinfo/spce-user<http://lists.sipwise.com/__listinfo/spce-user>
>>>         <http://lists.sipwise.com/**listinfo/spce-user<http://lists.sipwise.com/listinfo/spce-user>
>>> >
>>>
>>>
>>>
>>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://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/20130913/a2fdf02e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: create_subscribers_from_csv
Type: application/octet-stream
Size: 5410 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20130913/a2fdf02e/attachment-0001.obj>


More information about the Spce-user mailing list