SipTesting » History » Version 60
Adrian Georgescu, 09/06/2011 09:51 AM
1 | 45 | Adrian Georgescu | = Using SIP = |
---|---|---|---|
2 | |||
3 | 60 | Adrian Georgescu | == Calling Out == |
4 | 45 | Adrian Georgescu | |
5 | 60 | Adrian Georgescu | Using your SIP device you can call any other SIP address reachabl over the Internet in the form of user@domain. |
6 | 1 | Adrian Georgescu | |
7 | 60 | Adrian Georgescu | === Calls to PSTN network === |
8 | 55 | Adrian Georgescu | |
9 | 60 | 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 [https://mdns.sipthor.net/sip_rates.html here]. The call costs are logged in the Credit section of your [http://x.sip2sip.info SIP settings page]. To add credit to your SIP account at http://x.sip2sip.info?tab=credit |
10 | |||
11 | 55 | 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. |
12 | |||
13 | To set your caller id please open a ticket in the support interface. |
||
14 | |||
15 | '''Important notes''' |
||
16 | |||
17 | 1 | Adrian Georgescu | * Service numbers for premium services may not be reachable |
18 | 55 | Adrian Georgescu | * Emergency access number (e.g. 911, 112) are not available |
19 | * Not all international PSTN prefixes may be available depending on the capabilities of our outbound carriers |
||
20 | |||
21 | 60 | Adrian Georgescu | === Call from PSTN network === |
22 | 55 | Adrian Georgescu | |
23 | 56 | 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. |
24 | 55 | Adrian Georgescu | |
25 | 45 | Adrian Georgescu | == NAT Traversal == |
26 | 1 | Adrian Georgescu | |
27 | [[TOC(WikiStart, Sip*, depth=3)]] |
||
28 | 47 | Adrian Georgescu | |
29 | 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: |
30 | 47 | Adrian Georgescu | |
31 | 60 | Adrian Georgescu | 1. Disable STUN as is unreliable and leading to unexpected results |
32 | 47 | Adrian Georgescu | 1. Disable any SIP ALG support in the border router, most of the so called 'SIP enabled' routers on the market today are [http://www.voip-info.org/wiki/view/Routers+SIP+ALG simply broken] |
33 | |||
34 | Beware that corporate firewalls that have an explicit policy against SIP or poorly implemented [http://www.voip-info.org/wiki/view/Routers+SIP+ALG SIP ALGs] may still block your SIP signaling and/or media traffic. You need un-restricted access to the following ports used by SIP2SIP infrastructure: |
||
35 | 10 | Adrian Georgescu | |
36 | 12 | Adrian Georgescu | || '''Port range''' || '''Protocol''' || '''Description''' || '''Application''' || |
37 | 15 | Adrian Georgescu | || 5060 || UDP || SIP signaling || OpenSIPS - SIP Proxy/Registrar/Presence Agent || |
38 | || 50000:60000 || UDP || RTP media || !MediaProxy - RTP media relay || |
||
39 | 39 | Luci Stanescu | || 2855 || TLS || MSRP media || MSRP relay - MSRP media relay || |
40 | 2 | Adrian Georgescu | || 443 || TLS || XCAP storage || OpenXCAP - Presence policy management || |
41 | 1 | Adrian Georgescu | |
42 | 31 | Adrian Georgescu | == SIP Address == |
43 | 54 | Adrian Georgescu | |
44 | 31 | 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. |
45 | 51 | Adrian Georgescu | |
46 | 31 | Adrian Georgescu | 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. |
47 | 41 | Adrian Georgescu | |
48 | 60 | 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. |
49 | 40 | Adrian Georgescu | |
50 | First [wiki:SipDeviceConfiguration configure your SIP device]. |
||
51 | 42 | Adrian Georgescu | |
52 | == Internet Sessions == |
||
53 | |||
54 | 1 | Adrian Georgescu | * To test audio sessions, call 3333, you should hear some music playing |
55 | 53 | Adrian Georgescu | * To test microphone call 4444, you should hear your echo back |
56 | 42 | Adrian Georgescu | * You may call to any other SIP account user@domain |
57 | 48 | Adrian Georgescu | |
58 | 31 | Adrian Georgescu | === Voicemail === |
59 | 39 | Luci Stanescu | |
60 | 31 | Adrian Georgescu | * To access your voicemail or mailbox settings dial 1233 |
61 | * Your voice messages are delivered to your e-mail address |
||
62 | |||
63 | 49 | Adrian Georgescu | === IM and File Transfer === |
64 | |||
65 | * For instant messaging your client must support MSRP protocol and its MSRP relay extension |
||
66 | 1 | Adrian Georgescu | |
67 | 57 | Adrian Georgescu | === Conferencing === |
68 | |||
69 | 59 | 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. |
70 | 1 | Adrian Georgescu | |
71 | 58 | Adrian Georgescu | See http://sylkserver.com/applications.phtml for more information about conferencing capabilities. |
72 | |||
73 | |||
74 | 54 | Adrian Georgescu | === Session Details === |
75 | 1 | Adrian Georgescu | |
76 | 34 | Adrian Georgescu | * To review your SIP sessions go to https://mdns.sipthor.net/CDRTool |
77 | 29 | Adrian Georgescu | |
78 | 17 | Adrian Georgescu | == Presence == |
79 | 2 | Adrian Georgescu | |
80 | 46 | Adrian Georgescu | SIP2SIP provides a SIP presence agent that handles SUBSCRIBE and PUBLISH methods for presence events. |
81 | 2 | Adrian Georgescu | |
82 | 1 | Adrian Georgescu | 1. 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 | 48 | Adrian Georgescu | 1. To subscribe to a SIP address, send a SUBSCRIBE message for '''Event: presence''' |
84 | 1 | Adrian Georgescu | 1. 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 | 32 | Adrian Georgescu | 1. To monitor who has subscribed to your presence information you must send SUBSCRIBe for '''Event: presence.winfo''' to your own SIP address |
86 | 1 | Adrian Georgescu | 1. To allow others to subscribe to your published information you must use XCAP protocol for manipulating '''pres-rules''' policy document |
87 | 1. To store your buddy list on the server you must use XCAP protocol for manipulating '''resource-lists''' and '''rls-services''' documents |
||
88 | 33 | Adrian Georgescu | |
89 | 34 | Adrian Georgescu | [[Image(http://openxcap.org/raw-attachment/wiki/WikiStart/SIMPLE-Server.png,link=http://openxcap.org)]] |