Project

General

Profile

Enrollment » History » Version 11

Adrian Georgescu, 03/09/2011 07:24 PM

1 1 Adrian Georgescu
2 11 Adrian Georgescu
h1. Create SIP account
3
4
5 6 Adrian Georgescu
To create a SIP2SIP account programmatically you can use the HTTP/JSON API available at this address:
6 1 Adrian Georgescu
7 10 Adrian Georgescu
https://enrollment.sipthor.net/enrollment.phtml?query
8 1 Adrian Georgescu
9
The following query parameters are mandatory:
10
11 11 Adrian Georgescu
* email
12
* password
13
* display_name
14
* username
15 2 Adrian Georgescu
16 1 Adrian Georgescu
Example:
17
18 10 Adrian Georgescu
https://enrollment.sipthor.net/enrollment.phtml?email=abcd@example.com&password=1234&display_name=Example&username=test456
19 2 Adrian Georgescu
20
Will create the sip address:
21 1 Adrian Georgescu
22 11 Adrian Georgescu
<pre>
23 2 Adrian Georgescu
sip:test456@sip2sip.info
24 11 Adrian Georgescu
</pre>
25 2 Adrian Georgescu
26 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.
27 8 Adrian Georgescu
28 9 Adrian Georgescu
SIP Clients using this API:
29 8 Adrian Georgescu
30 11 Adrian Georgescu
* Blink http://icanblink.com
31
* SIP Communicator http://sip-communicator.org