SipTesting

Version 110 (Adrian Georgescu, 07/29/2013 10:08 am)

1 74 Adrian Georgescu
h1. Using your SIP account
2 1 Adrian Georgescu
3 109 Adrian Georgescu
First [[SipDeviceConfiguration|configure your SIP device]]
4 66 Adrian Georgescu
5 79 Adrian Georgescu
h2. Incoming calls
6 66 Adrian Georgescu
7 79 Adrian Georgescu
When you enroll a SIP account on SIP2SIP infrastructure, 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. Then you must have your SIP device registered with SIP2SIP infrastructure.
8 79 Adrian Georgescu
9 66 Adrian Georgescu
h2. Calling Out
10 66 Adrian Georgescu
11 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.
12 61 Adrian Georgescu
13 1 Adrian Georgescu
14 79 Adrian Georgescu
h3. Test Numbers 
15 1 Adrian Georgescu
16 96 Adrian Georgescu
* To test outgoing audio sessions, call 3333, you should hear some music playing 
17 96 Adrian Georgescu
* To test your microphone, call 4444, you should hear your echo back
18 96 Adrian Georgescu
* echo@conference.sip2sip.info can be used for echoing back both RTP audio and MSRP chat
19 1 Adrian Georgescu
20 83 Adrian Georgescu
h2. Conferencing
21 83 Adrian Georgescu
22 103 Adrian Georgescu
SIP2SIP supports ad-hoc multi-party conferencing for audio, chat and file transfers.
23 94 Adrian Georgescu
24 83 Adrian Georgescu
 * Using any SIP client connect to <room>@conference.sip2sip.info Replace the <room> with the desired room name. 
25 83 Adrian Georgescu
 * Using "Blink":http://icanblink.com SIP client go to menu Call -> Join Conference. Choose a room and connect.
26 83 Adrian Georgescu
 * XMPP clients can connect to room@conference.sip2sip.info. Replace room with the desired room name.
27 83 Adrian Georgescu
28 93 Adrian Georgescu
h3. Supported media
29 1 Adrian Georgescu
30 107 Adrian Georgescu
 * Audio codecs: Opus 48kHz, Speex 32kHz, G.722 16kHz, G.711 8kHz
31 93 Adrian Georgescu
 * Text Chat is supported for SIP clients using MSRP protocol
32 93 Adrian Georgescu
 * File Transfers are supported for SIP clients using MSRP protocol
33 93 Adrian Georgescu
 * SIP Clients that implement "Conference Event Package RFC 4575":http://tools.ietf.org/html/rfc4579 can retrieve the participants information
34 1 Adrian Georgescu
 * Multiparty Text Chat is supported between XMPP and SIP MSRP clients
35 1 Adrian Georgescu
36 94 Adrian Georgescu
h3. Room Access
37 93 Adrian Georgescu
38 91 Adrian Georgescu
| *Support Media*| *Address* | *Protocol* | *Recommended Clients*|
39 106 Adrian Georgescu
| Narrow band audio| +1-425-9982650 | PSTN US|  Any Phone|
40 99 Adrian Georgescu
| Narrow band audio| +31-20-8005161 | PSTN EU|  Any Phone|
41 107 Adrian Georgescu
| Wideband Audio | ROOM@conference.sip2sip.info | SIP| Blink, Bria, Jitsi|
42 88 Adrian Georgescu
| MSRP Chat, MSRP File Transfer| ROOM@conference.sip2sip.info | SIP| Blink for OSX|
43 92 Adrian Georgescu
| Conference Information | ROOM@conference.sip2sip.info | SIP| Blink for OSX|
44 1 Adrian Georgescu
| Group Chat| ROOM@conference.sip2sip.info| XMPP Muc| Jitsi, Adium, iChat, Google|
45 1 Adrian Georgescu
| Ultra-wideband Audio| ROOM@conference.sip2sip.info| XMPP Jingle |Jitsi|
46 83 Adrian Georgescu
47 95 Adrian Georgescu
h2. XMPP interoperability
48 95 Adrian Georgescu
49 110 Adrian Georgescu
It is possible to exchange audio (using Jingle), presence and chat messages with external XMPP domains. The following domains are configured to be XMPP:
50 110 Adrian Georgescu
51 110 Adrian Georgescu
 * gmail.com
52 110 Adrian Georgescu
 * jit.si
53 110 Adrian Georgescu
 *.\*xmpp.\*
54 110 Adrian Georgescu
 *.*jabb.*
55 110 Adrian Georgescu
 * im\..*
56 110 Adrian Georgescu
 * .*\.im
57 93 Adrian Georgescu
58 93 Adrian Georgescu
59 66 Adrian Georgescu
h2. NAT Traversal
60 1 Adrian Georgescu
 
61 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:
62 66 Adrian Georgescu
63 66 Adrian Georgescu
# Disable STUN as is unreliable  and leading to unexpected results
64 1 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
65 66 Adrian Georgescu
66 1 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:
67 1 Adrian Georgescu
68 108 Adrian Georgescu
| *Ports* | *Protocol* | *Description* | *Application* |
69 72 Adrian Georgescu
| 5060 | UDP | SIP signaling | OpenSIPS - SIP Proxy/Registrar/Presence Agent |
70 66 Adrian Georgescu
| 5060 | TCP  | SIP signaling | OpenSIPS - SIP Proxy/Registrar/Presence Agent |
71 104 Adrian Georgescu
| 443 | TLS | SIP signaling | OpenSIPS - SIP Proxy/Registrar/Presence Agent |
72 66 Adrian Georgescu
| 5269 | TCP  | XMPP signaling | SylkServer SIP/XMPP gateway |
73 1 Adrian Georgescu
| 50000:60000 | UDP | RTP media | !MediaProxy  - RTP media relay |
74 1 Adrian Georgescu
| 2855 | TLS | MSRP media | MSRP relay - MSRP media relay |  
75 66 Adrian Georgescu
| 443 | TLS | XCAP storage | OpenXCAP - Presence policy management  |
76 66 Adrian Georgescu
77 66 Adrian Georgescu
78 66 Adrian Georgescu
79 81 Adrian Georgescu
h2. Voicemail
80 81 Adrian Georgescu
81 69 Adrian Georgescu
82 69 Adrian Georgescu
* To access your voicemail or mailbox settings dial 1233
83 69 Adrian Georgescu
* Your voice messages are delivered to your e-mail address 
84 73 Adrian Georgescu
85 70 Adrian Georgescu
86 70 Adrian Georgescu
h2. IM and File Transfer
87 70 Adrian Georgescu
88 71 Adrian Georgescu
89 31 Adrian Georgescu
* For instant messaging your client must support MSRP protocol and its MSRP relay extension
90 49 Adrian Georgescu
91 66 Adrian Georgescu
92 66 Adrian Georgescu
h2. Presence
93 57 Adrian Georgescu
94 59 Adrian Georgescu
SIP2SIP provides a SIP presence agent that handles SUBSCRIBE and PUBLISH methods for presence events.
95 66 Adrian Georgescu
96 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
97 66 Adrian Georgescu
# To subscribe to a SIP address, send a SUBSCRIBE message for *Event: presence*
98 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*
99 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
100 66 Adrian Georgescu
# To allow others to subscribe to your published information you must use XCAP protocol for manipulating *pres-rules* policy document 
101 61 Adrian Georgescu
# To store your buddy list on the server you must use XCAP protocol for manipulating *resource-lists* and *rls-services* documents
102 80 Adrian Georgescu
103 80 Adrian Georgescu
More information is available at http://wiki.sip2sip.info/news/23
104 80 Adrian Georgescu
105 66 Adrian Georgescu
106 65 Adrian Georgescu
h2. Calls to PSTN network 
107 76 Adrian Georgescu
108 66 Adrian Georgescu
Calls to PSTN are possible to SIP accounts under @sip2sip.info domain. If you have used your own Internet domain, it is not possible to call out to PSTN.
109 66 Adrian Georgescu
110 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 
111 61 Adrian Georgescu
112 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. 
113 61 Adrian Georgescu
114 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.
115 61 Adrian Georgescu
116 61 Adrian Georgescu
To limit fraud in case of lost account credentials, a maximum of 2 simultaneous calls are permitted.
117 66 Adrian Georgescu
118 61 Adrian Georgescu
*Important notes*
119 66 Adrian Georgescu
120 66 Adrian Georgescu
* Service numbers for premium services may not be reachable
121 1 Adrian Georgescu
* Emergency access number (e.g. 911, 112) are not available
122 66 Adrian Georgescu
* Not all international PSTN prefixes may be available depending on the capabilities of our outbound carriers
123 66 Adrian Georgescu
124 66 Adrian Georgescu
h2. Calls from PSTN network 
125 1 Adrian Georgescu
126 1 Adrian Georgescu
127 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.