Enrollment
Version 10 (Adrian Georgescu, 03/09/2011 07:24 pm)
1 | 1 | Adrian Georgescu | = Create SIP account = |
---|---|---|---|
2 | 1 | Adrian Georgescu | |
3 | 6 | Adrian Georgescu | To create a SIP2SIP account programmatically you can use the HTTP/JSON API available at this address: |
4 | 1 | Adrian Georgescu | |
5 | 10 | Adrian Georgescu | https://enrollment.sipthor.net/enrollment.phtml?query |
6 | 1 | Adrian Georgescu | |
7 | 2 | Adrian Georgescu | The following query parameters are mandatory: |
8 | 1 | Adrian Georgescu | |
9 | 1 | Adrian Georgescu | |
10 | 1 | Adrian Georgescu | * password |
11 | 1 | Adrian Georgescu | * display_name |
12 | 1 | Adrian Georgescu | * username |
13 | 2 | Adrian Georgescu | |
14 | 2 | Adrian Georgescu | Example: |
15 | 2 | Adrian Georgescu | |
16 | 10 | Adrian Georgescu | https://enrollment.sipthor.net/enrollment.phtml?email=abcd@example.com&password=1234&display_name=Example&username=test456 |
17 | 2 | Adrian Georgescu | |
18 | 2 | Adrian Georgescu | Will create the sip address: |
19 | 2 | Adrian Georgescu | |
20 | 2 | Adrian Georgescu | {{{ |
21 | 2 | Adrian Georgescu | sip:test456@sip2sip.info |
22 | 2 | Adrian Georgescu | }}} |
23 | 2 | Adrian Georgescu | |
24 | 7 | Adrian Georgescu | The result of the operation including the SIP account credentials is returned as a json structure that you can parse using your program. Oh and of course, replace your username with your own value, we have already used this one for the purpose of providing this example. |
25 | 8 | Adrian Georgescu | |
26 | 9 | Adrian Georgescu | SIP Clients using this API: |
27 | 8 | Adrian Georgescu | |
28 | 9 | Adrian Georgescu | * Blink http://icanblink.com |
29 | 9 | Adrian Georgescu | * SIP Communicator http://sip-communicator.org |