SipTesting

Version 22 (Adrian Georgescu, 04/19/2009 07:04 pm)

1 8 Adrian Georgescu
= Using SIP = 
2 1 Adrian Georgescu
3 2 Adrian Georgescu
[[TOC(WikiStart, Sip*, depth=3)]]
4 2 Adrian Georgescu
5 16 Adrian Georgescu
SIP2SIP service is NAT traversal proof for SIP signaling, RTP and MSRP media. 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.
6 9 Adrian Georgescu
7 22 Adrian Georgescu
You need un-restricted access to the following ports used by SIP2SIP infrastructure:
8 10 Adrian Georgescu
9 12 Adrian Georgescu
|| '''Port range''' || '''Protocol''' || '''Description''' || '''Application''' ||
10 15 Adrian Georgescu
|| 5060 || UDP || SIP signaling || OpenSIPS - SIP Proxy/Registrar/Presence Agent ||
11 15 Adrian Georgescu
|| 50000:60000 || UDP || RTP media || !MediaProxy  - RTP media relay ||
12 20 Adrian Georgescu
|| 2855 || TLS || MSRP media || MSRP relay - MSRP media relay ||  
13 20 Adrian Georgescu
|| 443 || TLS || XCAP storage || OpenXCAP - Presence policy management  ||
14 10 Adrian Georgescu
15 19 Adrian Georgescu
First [wiki:SipDeviceConfiguration configure your device].
16 10 Adrian Georgescu
17 2 Adrian Georgescu
== Internet calls ==
18 2 Adrian Georgescu
19 1 Adrian Georgescu
 * To test audio sessions, call 3333, you should hear some music playing 
20 1 Adrian Georgescu
 * To test microphone call 4444, you should hear your echo back 
21 1 Adrian Georgescu
 * You may call to any other SIP account user@domain 
22 2 Adrian Georgescu
23 2 Adrian Georgescu
== Voicemail ==
24 2 Adrian Georgescu
 
25 1 Adrian Georgescu
 * To access your voicemail or mailbox settings dial *70 
26 1 Adrian Georgescu
 * Your voice messages are delivered to ag@ag-projects.com 
27 2 Adrian Georgescu
28 21 Adrian Georgescu
== Session details ==
29 2 Adrian Georgescu
30 21 Adrian Georgescu
 * To review your SIP sessions go to https://secure.dns-hosting.info/CDRTool 
31 2 Adrian Georgescu
32 6 Adrian Georgescu
[[Image(sip2sip-sessions-search.png)]]
33 4 Adrian Georgescu
34 4 Adrian Georgescu
35 2 Adrian Georgescu
== Multi-party IM ==
36 2 Adrian Georgescu
37 17 Adrian Georgescu
 * To test multi-party instant messaging using MSRP, setup a [http://sipsimpleclient.com/wiki/sip_trace_msrp_rtp#sip_trace_msrp_rtp MSRP SIP session] to XYZ@chatserver.ag-projects.com Replace XYZ with any username you wish, a new chat room will be created for you. 
38 2 Adrian Georgescu
39 2 Adrian Georgescu
== PSTN outbound  ==
40 2 Adrian Georgescu
41 2 Adrian Georgescu
To make calls to PSTN destinations add credit to your SIP account at http://x.sip2sip.info?tab=prepaid
42 2 Adrian Georgescu
43 2 Adrian Georgescu
To dial a PSTN destination dial +NUMBER. 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. To use the PSTN gateway you must have a positive credit. To add credit for your account login to the SIP settings page and click on Credit tab.
44 2 Adrian Georgescu
45 2 Adrian Georgescu
Price list for dialing to PSTN destinations is available [https://secure.dns-hosting.info/sip2sip_rates.html here]. The call costs are logged in the Credit section of your [http://x.sip2sip.info SIP settings page].
46 2 Adrian Georgescu
47 2 Adrian Georgescu
== PSTN inbound  ==
48 2 Adrian Georgescu
49 2 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 this service) and if the SIP gateway provider that handles that number can translate that number into your SIP address. Technically if you number is in public ENUM e164.arap tree you can simply map your ENUM number to your SIP address. Any ENUM ready gateway will be able to automatically find the SIP address you configured for your ENUM number.
50 3 Adrian Georgescu
51 3 Adrian Georgescu
[[Image(msp-enum-lookup.png)]]