SipTesting

Version 66 (Adrian Georgescu, 12/02/2011 09:11 am)

1 1 Adrian Georgescu
2 66 Adrian Georgescu
h1. Using SIP
3 1 Adrian Georgescu
4 1 Adrian Georgescu
5 1 Adrian Georgescu
6 66 Adrian Georgescu
7 66 Adrian Georgescu
First [[SipDeviceConfiguration|configure your SIP device]].
8 66 Adrian Georgescu
9 66 Adrian Georgescu
10 66 Adrian Georgescu
h2. Calling Out
11 66 Adrian Georgescu
12 66 Adrian Georgescu
13 1 Adrian Georgescu
Using your SIP device you can call any other SIP address reachable over the Internet in the form of user@domain. If you use a SIP enabled phone featured only with a classic 12 keys keypad you will experience a crippled service as is either impossible or hard to dial other SIP addresses with it.
14 61 Adrian Georgescu
15 1 Adrian Georgescu
> Calls to SIP addresses containing only numbers and starting with a zero are always routed to the PSTN gateways. This is an arbitrary convention configured in the platform for detecting calls meant to be routed to PSTN.
16 1 Adrian Georgescu
17 1 Adrian Georgescu
18 66 Adrian Georgescu
h2. Test Numbers 
19 1 Adrian Georgescu
20 1 Adrian Georgescu
21 66 Adrian Georgescu
* To test audio sessions, call 3333, you should hear some music playing 
22 66 Adrian Georgescu
* To test microphone call 4444, you should hear your echo back 
23 1 Adrian Georgescu
24 1 Adrian Georgescu
25 66 Adrian Georgescu
h2. Session Details
26 66 Adrian Georgescu
27 66 Adrian Georgescu
28 66 Adrian Georgescu
* To review your SIP sessions go to https://mdns.sipthor.net/CDRTool 
29 66 Adrian Georgescu
30 66 Adrian Georgescu
31 66 Adrian Georgescu
h2. NAT Traversal
32 66 Adrian Georgescu
 
33 66 Adrian Georgescu
34 1 Adrian Georgescu
Practically you do not need to set anything special in the client, NAT traversal is solved automatically by the SIP2SIP server infrastructure. We recommend actually that you check to have disabled all client features related to NAT traversal:
35 1 Adrian Georgescu
36 66 Adrian Georgescu
# Disable STUN as is unreliable  and leading to unexpected results
37 66 Adrian Georgescu
# Disable any SIP ALG support in the border router, most of the so called 'SIP enabled' routers on the market today are "simply broken":http://www.voip-info.org/wiki/view/Routers+SIP+ALG
38 1 Adrian Georgescu
39 66 Adrian Georgescu
Beware that corporate firewalls that have an explicit policy against SIP or poorly implemented "SIP ALGs":http://www.voip-info.org/wiki/view/Routers+SIP+ALG may still block your SIP signaling and/or media traffic. You need un-restricted access to the following ports used by SIP2SIP infrastructure:
40 1 Adrian Georgescu
41 66 Adrian Georgescu
| *Port range* | *Protocol* | *Description* | *Application* |
42 66 Adrian Georgescu
| 5060 | UDP | SIP signaling | OpenSIPS - SIP Proxy/Registrar/Presence Agent |
43 66 Adrian Georgescu
| 50000:60000 | UDP | RTP media | !MediaProxy  - RTP media relay |
44 66 Adrian Georgescu
| 2855 | TLS | MSRP media | MSRP relay - MSRP media relay |  
45 66 Adrian Georgescu
| 443 | TLS | XCAP storage | OpenXCAP - Presence policy management  |
46 1 Adrian Georgescu
47 1 Adrian Georgescu
48 66 Adrian Georgescu
h2. SIP Address
49 66 Adrian Georgescu
50 66 Adrian Georgescu
51 1 Adrian Georgescu
When you register a SIP account on SIP2SIP, a SIP address under @sip2sip.info domain is automatically allocated to you. You must provide this SIP address to those that want to reach you. SIP protocol uses the same identifier format as an email address in the form of user@domain. Actually, you can use the same address for both email messaging and SIP applications providing that you have control upon your own domain, its DNS records and access to a service like SIP2SIP.
52 1 Adrian Georgescu
53 1 Adrian Georgescu
To create SIP addresses under your own domains, you can register or transfer for a fee your Internet domains at https://mdns.sipthor.net. On the same platform you can provision your DNS zones and records required for SIP services and create your own SIP accounts. The number of SIP addresses you may create is limited by a fair use policy dependent on the general use of the platform.
54 1 Adrian Georgescu
55 1 Adrian Georgescu
56 66 Adrian Georgescu
h2. Voicemail
57 1 Adrian Georgescu
58 1 Adrian Georgescu
59 66 Adrian Georgescu
* To access your voicemail or mailbox settings dial 1233
60 66 Adrian Georgescu
* Your voice messages are delivered to your e-mail address 
61 1 Adrian Georgescu
62 61 Adrian Georgescu
63 66 Adrian Georgescu
h2. IM and File Transfer
64 66 Adrian Georgescu
65 66 Adrian Georgescu
66 66 Adrian Georgescu
* For instant messaging your client must support MSRP protocol and its MSRP relay extension
67 66 Adrian Georgescu
68 66 Adrian Georgescu
69 66 Adrian Georgescu
h2. Conferencing
70 66 Adrian Georgescu
71 66 Adrian Georgescu
72 31 Adrian Georgescu
To test the conference server send an INVITE with any of the supported media to sip:test@conference.sip2sip.info You may replace test with any username you wish, a conference room will be created on the fly. To obtain the conference information send a SUBSCRIBE request for Event conference RFC 4575. The NOTIFY contains detailed information with the list of participants, their connected endpoints, media type and stream status. To add or remove participants, the server support INVITE and REFER methods as defined in RFC4579.
73 31 Adrian Georgescu
74 31 Adrian Georgescu
See http://sylkserver.com/applications.phtml for more information about conferencing capabilities.
75 49 Adrian Georgescu
76 49 Adrian Georgescu
77 66 Adrian Georgescu
h2. Presence
78 66 Adrian Georgescu
79 66 Adrian Georgescu
80 57 Adrian Georgescu
SIP2SIP provides a SIP presence agent that handles SUBSCRIBE and PUBLISH methods for presence events.
81 59 Adrian Georgescu
82 66 Adrian Georgescu
# To publish your presence send PUBLISH for *Event: presence* to your own SIP address, containing the body describing your presence information in PIDF format
83 66 Adrian Georgescu
# To subscribe to a SIP address, send a SUBSCRIBE message for *Event: presence*
84 66 Adrian Georgescu
# To subscribe to a list of SIP addresses (a.k.a. rls-services), send a SUBSCRIBE message for *Event: presence* containing an extra header: *Require: eventlist*
85 66 Adrian Georgescu
# To monitor who has subscribed to your presence information you must send SUBSCRIBe for *Event: presence.winfo* to your own SIP address
86 66 Adrian Georgescu
# To allow others to subscribe to your published information you must use XCAP protocol for manipulating *pres-rules* policy document 
87 66 Adrian Georgescu
# To store your buddy list on the server you must use XCAP protocol for manipulating *resource-lists* and *rls-services* documents
88 61 Adrian Georgescu
89 61 Adrian Georgescu
90 66 Adrian Georgescu
h2. Calls to PSTN network 
91 65 Adrian Georgescu
92 66 Adrian Georgescu
93 66 Adrian Georgescu
You can call to the classic telephone network (a.k.a. PSTN) after you have purchased credit. Price list for dialing to PSTN destinations is available "here":https://mdns.sipthor.net/sip_rates.html. The call costs are logged in the Credit section of your "SIP settings page":http://x.sip2sip.info. To add credit to your SIP account at http://x.sip2sip.info?tab=credit 
94 66 Adrian Georgescu
95 61 Adrian Georgescu
To dial a PSTN destination dial + or 00 in front of the actual number including country code. The number must be a fully qualified E.164 number (country code + network number + subscriber number). First an ENUM lookup is attempted. If a SIP destination is found, the call will be routed to it, if ENUM lookup does not return a valid SIP address, the call is directed to a PSTN gateway. 
96 61 Adrian Georgescu
97 61 Adrian Georgescu
To set your caller id please open a ticket in the support interface. Caller id presentation works depending on the support for this feature of all intermediate gateways to the destination, it is not possible to guarantee its working.
98 61 Adrian Georgescu
99 61 Adrian Georgescu
To limit fraud in case of lost account credentials, a maximum of 2 simultaneous calls are permitted.
100 61 Adrian Georgescu
101 66 Adrian Georgescu
*Important notes*
102 61 Adrian Georgescu
103 66 Adrian Georgescu
* Service numbers for premium services may not be reachable
104 66 Adrian Georgescu
* Emergency access number (e.g. 911, 112) are not available
105 66 Adrian Georgescu
* Not all international PSTN prefixes may be available depending on the capabilities of our outbound carriers
106 1 Adrian Georgescu
 
107 66 Adrian Georgescu
108 66 Adrian Georgescu
h2. Calls from PSTN network 
109 66 Adrian Georgescu
110 1 Adrian Georgescu
111 1 Adrian Georgescu
As you own a publicly reachable SIP address, you may receive calls from any SIP device that knows your address including a PSTN gateway.  You can receive calls from PSTN if you own a telephone number (not provided by SIP2SIP) and if the SIP gateway provider that handles that number can translate that number into your SIP address. Technically, if you number is in ENUM e164.arpa or e164.org trees you can simply map your ENUM number to your SIP address yourself. Any ENUM ready gateway will be able to automatically find the SIP address you configured for your ENUM number.