SipTesting

Version 146 (Adrian Georgescu, 07/13/2010 02:28 pm)

1 135 Adrian Georgescu
= Testing =
2 7 Adrian Georgescu
3 136 Adrian Georgescu
[[TOC(SipTesting*, depth=2)]]
4 13 Adrian Georgescu
5 144 Adrian Georgescu
To test SIP SIMPLE client SDK, you can use the Command Line Tools provided by the '''sipclients''' package. The Command Line Tools are compatible with MacOSX and Linux only.
6 1 Adrian Georgescu
7 1 Adrian Georgescu
== Configuration ==
8 90 Adrian Georgescu
9 1 Adrian Georgescu
Manage global and SIP account settings used by middleware and Command Line Tools
10 70 Adrian Georgescu
11 133 Adrian Georgescu
 * [wiki:sip_settings sip-settings]
12 1 Adrian Georgescu
13 146 Adrian Georgescu
== Accounts == 
14 1 Adrian Georgescu
15 146 Adrian Georgescu
To use the software you need at least one SIP account. 
16 1 Adrian Georgescu
17 146 Adrian Georgescu
By default the Bonjour account is enabled and set as default. Using Bonjour account, you can initiate outbound sessions and receive incoming session on the local LAN.
18 146 Adrian Georgescu
19 146 Adrian Georgescu
To use the Command Line Tools on the public Internet, you must setup at least a public SIP account. 
20 146 Adrian Georgescu
21 146 Adrian Georgescu
You can register a public SIP account for free at http://sip2sip.info
22 146 Adrian Georgescu
23 146 Adrian Georgescu
To add a new SIP account as follows:
24 146 Adrian Georgescu
25 139 Adrian Georgescu
{{{
26 1 Adrian Georgescu
sip-settings -a add user@domain pasword
27 146 Adrian Georgescu
}}}
28 146 Adrian Georgescu
29 146 Adrian Georgescu
If you have multiple account you can set the default as follows::
30 146 Adrian Georgescu
31 146 Adrian Georgescu
{{{
32 141 Adrian Georgescu
sip-settings -a default user@domain
33 139 Adrian Georgescu
}}}
34 68 Adrian Georgescu
35 145 Adrian Georgescu
It is recommended that you set the outbound proxy for the configured account to the SIP server address provided by the SIP service that provided the account. This typically facilitates the NAT traversal for media sessions that go outside of the local domains served by the SIP service provider that issued the account. Example for a sip2sip.info account:
36 145 Adrian Georgescu
37 145 Adrian Georgescu
{{{
38 145 Adrian Georgescu
sip-settings -a set xyz@sip2sip.info sip.outbound_proxy=proxy.sipthor.net
39 145 Adrian Georgescu
}}}
40 145 Adrian Georgescu
41 145 Adrian Georgescu
42 119 Adrian Georgescu
== Register ==
43 1 Adrian Georgescu
44 137 Adrian Georgescu
You can use this script to Register a SIP end-point with a SIP Registrar or broadcast the local SIP URI using Bonjour mDNS.
45 119 Adrian Georgescu
46 142 Adrian Georgescu
 * [wiki:sip_register sip-register] - REGISTER a SIP end-point with a SIP Registrar or detect Bonjour neighbours
47 119 Adrian Georgescu
48 131 Adrian Georgescu
== Audio ==
49 119 Adrian Georgescu
50 138 Adrian Georgescu
You can use these script to receive or initiate audio sessions.
51 119 Adrian Georgescu
52 132 Adrian Georgescu
 * [wiki:sip_audio_session sip-audio-session] - Setup a single SIP audio session using RTP/sRTP media
53 132 Adrian Georgescu
 * [wiki:sip_session sip-session] - Setup one or more SIP sessions with Audio (RTP/sRTP), IM and File Transfer (MSRP)
54 119 Adrian Georgescu
55 119 Adrian Georgescu
== Instant Messaging ==
56 119 Adrian Georgescu
57 120 Adrian Georgescu
You can use these script to receive or initiate IM sessions or to send and receive Short Messages.
58 119 Adrian Georgescu
59 132 Adrian Georgescu
 * [wiki:sip_session sip-session] - Setup one or more SIP sessions with Audio (RTP/sRTP), IM and File Transfer (MSRP)
60 113 Adrian Georgescu
 * [wiki:sip_message sip-message] - Send and receive short messages in paging mode using SIP MESSAGE method
61 32 Adrian Georgescu
62 21 Adrian Georgescu
== Presence ==
63 12 Adrian Georgescu
64 134 Adrian Georgescu
You can use these scripts to Publish, Subscribe and handle incoming Notifies to and from a Presence Agent or manage documents on an XCAP server.
65 71 Adrian Georgescu
66 113 Adrian Georgescu
 * [wiki:sip_publish_presence sip-publish-presence] - PUBLISH presence to a Presence Agent
67 113 Adrian Georgescu
 * [wiki:sip_subscribe_winfo sip-subscribe-winfo] - SUBSCRIBE to the watcher list for given SIP address on the Presence Agent
68 113 Adrian Georgescu
 * [wiki:sip_subscribe_presence sip-subscribe-presence]  - SUBSCRIBE to Presence Event for a given SIP address
69 113 Adrian Georgescu
 * [wiki:sip_subscribe_rls sip-subscribe-rls] - SUBSCRIBE for Presence Event to a list managed by a Resource List Server
70 143 Adrian Georgescu
 * [wiki:sip_subscribe_xcap_diff sip-subscribe-xcap-diff] - SUBSCRIBE for xcap-diff Event to monitor changes to XCAP documents
71 113 Adrian Georgescu
 * [wiki:sip_subscribe_mwi sip-subscribe-mwi] - SUBSCRIBE for Message Waiting Indicator
72 113 Adrian Georgescu
 * [wiki:xcap_directory xcap-directory] - Show the XCAP documents stored in the XCAP server for the given account
73 113 Adrian Georgescu
 * [wiki:xcap_icon xcap-icon] - Stores and retrieves the icon for the given account
74 113 Adrian Georgescu
 * [wiki:xcap_pres_rules xcap-pres-rules] - Manage the content of the pres-rules XCAP document
75 113 Adrian Georgescu
 * [wiki:xcap_dialog_rules xcap-dialog-rules] - Manage the content of the dialog-rules XCAP document
76 113 Adrian Georgescu
 * [wiki:xcap_rls_services xcap-rls-services] - Manage the content of a RLS services XCAP document