Project

General

Profile

SipDeviceConfiguration » History » Version 88

Adrian Georgescu, 03/16/2013 09:45 AM

1 65 Adrian Georgescu
h1. SIP Device Configuration
2 1 Adrian Georgescu
3 35 Adrian Georgescu
There are thousands of SIP devices on the market, for how to configure them we advise you to consult the support forum of the device manufacturer. 
4 1 Adrian Georgescu
5 35 Adrian Georgescu
Please do not open a ticket related to how a particular device must be configured.
6 1 Adrian Georgescu
7
Setup your SIP device as follows:
8
9 65 Adrian Georgescu
h2.  SIP Account Credentials
10 1 Adrian Georgescu
 
11
Account credentials are used for authentication and authorization of SIP requests performed by the SIP device.
12 65 Adrian Georgescu
13
Your SIP address is XXX@sip2sip.info replace XXX with the username chosen during the account enrollment.
14 49 Adrian Georgescu
15 51 Adrian Georgescu
| Username| XXX|
16 1 Adrian Georgescu
| Password| YYY|
17 52 Adrian Georgescu
| Domain/Realm|sip2sip.info|
18 1 Adrian Georgescu
19
Register must be turned On in order to receive incoming calls.
20
21 64 Adrian Georgescu
If your SIP devices is smart enough, there is no need to set manually anything else than the above settings. If you need to manually fine tune the configuration read below.
22 51 Adrian Georgescu
23 64 Adrian Georgescu
[[SipDevices|Specific SIP devices configuration]]
24 1 Adrian Georgescu
25 74 Adrian Georgescu
h2. Server Location
26 1 Adrian Georgescu
27 62 Adrian Georgescu
There are multiple SIP servers distributed in multiple geographic locations. To locate them, the SIP device must always perform DNS lookups as defined in SIP standard "RFC3263":http://www.ietf.org/rfc/rfc3263.txt (NAPTR + SRV + A DNS lookups)
28 59 Adrian Georgescu
29 74 Adrian Georgescu
You must never set manually a host address or transport belonging to SIP2SIP server infrastructure into your SIP device as it may and will change over time. Your device must use DNS lookups instead of hardwiring any such settings into your SIP device.
30 1 Adrian Georgescu
31 73 Adrian Georgescu
For informational purposes, the servers are reachable at the following addresses, but again you must query the DNS to discover them as they may and will change in the future.
32
33 51 Adrian Georgescu
| Host | Port | Protocol |
34
| proxy.sipthor.net| 5060| UDP |
35 1 Adrian Georgescu
| proxy.sipthor.net| 5060| TCP |
36 80 Adrian Georgescu
| proxy.sipthor.net| 5061| TLS |
37 77 Adrian Georgescu
38 51 Adrian Georgescu
h2. XCAP Root
39
40 34 Adrian Georgescu
If you use SIMPLE presence you need to set XCAP root:
41 1 Adrian Georgescu
42 54 Adrian Georgescu
| XCAP Root | https://xcap.sipthor.net/xcap-root/|
43 51 Adrian Georgescu
44 1 Adrian Georgescu
45 81 Adrian Georgescu
h2. Presence
46
47
To use SIMPLE presence the SIP client must support the following standards:
48
49 82 Adrian Georgescu
h3. Required
50
51 88 Adrian Georgescu
 * Presence Agent mode (PUBLISH, SUBSCRIBE/NOTIFY)
52
 * Event packages: *presence* and *presence.winfo* 
53
 * *RLS* subscriptions and *RLMI* notifications
54
 * XCAP documents *rls-services* and *resource-lists* for contacts storage
55
 * XCAP document *org.openmobilealliance.pres-rules* for authorization rules
56 1 Adrian Georgescu
57 82 Adrian Georgescu
h3. Optional
58
59
 * Event packages: xcap-diff for synchronizing XCAP documents between clients  
60
 * XCAP org.openmobilealliance.pres-content document for serving user icon
61
 * XCAP pidf-manipulation for offline status
62
 * XCAP xcap-caps and org.openmobilealliance.xcap-directory for listing all XCAP documents on the server
63
64 87 Adrian Georgescu
Example: Blink SIP client implementation http://projects.ag-projects.com/news/15
65 79 Adrian Georgescu
66
67 51 Adrian Georgescu
h2. MSRP Relay
68 1 Adrian Georgescu
69 69 Adrian Georgescu
If you use SIMPLE instant messaging based on "MSRP":http://tools.ietf.org/html/rfc4975, a "relay":http://tools.ietf.org/html/rfc4976 is available for helping traverse the NAT. You need to use the relay if you are the receiving party and you are behind a NAT-ed router. The MSRP relays can be found in the DNS by using SRV lookup for _msrps._tcp.sip2sip.info.
70 53 Adrian Georgescu
71
h2. STUN Servers
72 1 Adrian Georgescu
73 56 Adrian Georgescu
You may use STUN for ICE NAT traversal. The STUN servers can be found in the DNS by using SRV lookup for _stun._udp.sip2sip.info.
74
75
h2. NAT Traversal
76
77 70 Adrian Georgescu
SIP2SIP infrastructure is smart enough to handle the NAT traversal for both SIP signaling, RTP and MSRP media sessions. Also it supports ICE negotiation in the clients and provides automatically a TURN relay candidate. 
78
79
Practically, you should not set any NAT traversal features in the client as the chance of fixing things is much smaller than breaking them.
80 56 Adrian Georgescu
81
 * Do not use STUN for Register purposes
82
 * Do not set your client to discover a global IP address