SipTesting
Version 107 (Adrian Georgescu, 12/01/2009 02:31 pm)
1 | 102 | Adrian Georgescu | = Testing Guide = |
---|---|---|---|
2 | 7 | Adrian Georgescu | |
3 | 58 | Adrian Georgescu | [[TOC(WikiStart, Sip*, depth=2)]] |
4 | 13 | Adrian Georgescu | |
5 | 104 | Adrian Georgescu | A set of Command Line Tools are available in sipsimple-cli package for setting up audio, instant messaging (IM), file transfer and desktop sharing sessions, publication and subscription to presence and other type of SIP events. To use the command line tools you need a SIP account, read below for how to obtain one. |
6 | 1 | Adrian Georgescu | |
7 | 102 | Adrian Georgescu | == SIP Account == |
8 | 8 | Adrian Georgescu | |
9 | 96 | Adrian Georgescu | The simplest way to obtain one is to register a free SIP account at http://sip2sip.info. Fill in the form below, the account information will be e-mailed to you: |
10 | 59 | Adrian Georgescu | {{{ |
11 | 59 | Adrian Georgescu | #!html |
12 | 59 | Adrian Georgescu | <form method=POST action='https://secure.dns-hosting.info/register_sip_account.phtml'> |
13 | 59 | Adrian Georgescu | <table border=0 width=550> |
14 | 59 | Adrian Georgescu | |
15 | 59 | Adrian Georgescu | <tr> |
16 | 59 | Adrian Georgescu | <td valign=top> |
17 | 59 | Adrian Georgescu | First name |
18 | 59 | Adrian Georgescu | </td> |
19 | 59 | Adrian Georgescu | <td colspan=2 valign=top> |
20 | 59 | Adrian Georgescu | <input type=text name=firstName value=''> |
21 | 59 | Adrian Georgescu | |
22 | 59 | Adrian Georgescu | </td> |
23 | 59 | Adrian Georgescu | </tr> |
24 | 59 | Adrian Georgescu | |
25 | 59 | Adrian Georgescu | <tr> |
26 | 59 | Adrian Georgescu | <td valign=top> |
27 | 59 | Adrian Georgescu | Last name |
28 | 59 | Adrian Georgescu | </td> |
29 | 59 | Adrian Georgescu | <td colspan=2 valign=top> |
30 | 59 | Adrian Georgescu | <input type=text name=lastName value=''> |
31 | 59 | Adrian Georgescu | |
32 | 59 | Adrian Georgescu | </td> |
33 | 59 | Adrian Georgescu | </tr> |
34 | 59 | Adrian Georgescu | |
35 | 59 | Adrian Georgescu | <tr> |
36 | 59 | Adrian Georgescu | <td valign=top> |
37 | 59 | Adrian Georgescu | |
38 | 59 | Adrian Georgescu | |
39 | 59 | Adrian Georgescu | </td> |
40 | 59 | Adrian Georgescu | <td colspan=2 valign=top> |
41 | 59 | Adrian Georgescu | <input type=text name=email value=''> |
42 | 59 | Adrian Georgescu | |
43 | 59 | Adrian Georgescu | </td> |
44 | 59 | Adrian Georgescu | </tr> |
45 | 59 | Adrian Georgescu | |
46 | 59 | Adrian Georgescu | <tr> |
47 | 59 | Adrian Georgescu | <td valign=top> |
48 | 59 | Adrian Georgescu | Timezone |
49 | 59 | Adrian Georgescu | </td> |
50 | 59 | Adrian Georgescu | <td colspan=2 valign=top> |
51 | 59 | Adrian Georgescu | <select name=timezone><option><option >Africa/Abidjan<option >Africa/Accra<option >Africa/Addis_Ababa<option >Africa/Algiers<option >Africa/Asmera<option >Africa/Bamako<option >Africa/Bangui<option >Africa/Banjul<option >Africa/Bissau<option >Africa/Blantyre<option >Africa/Brazzaville<option >Africa/Bujumbura<option >Africa/Cairo<option >Africa/Casablanca<option >Africa/Ceuta<option >Africa/Conakry<option >Africa/Dakar<option >Africa/Dar_es_Salaam<option >Africa/Djibouti<option >Africa/Douala<option >Africa/El_Aaiun<option >Africa/Freetown<option >Africa/Gaborone<option >Africa/Harare<option >Africa/Johannesburg<option >Africa/Kampala<option >Africa/Khartoum<option >Africa/Kigali<option >Africa/Kinshasa<option >Africa/Lagos<option >Africa/Libreville<option >Africa/Lome<option >Africa/Luanda<option >Africa/Lubumbashi<option >Africa/Lusaka<option >Africa/Malabo<option >Africa/Maputo<option >Africa/Maseru<option >Africa/Mbabane<option >Africa/Mogadishu<option >Africa/Monrovia<option >Africa/Nairobi<option >Africa/Ndjamena<option >Africa/Niamey<option >Africa/Nouakchott<option >Africa/Ouagadougou<option >Africa/Porto-Novo<option >Africa/Sao_Tome<option >Africa/Timbuktu<option >Africa/Tripoli<option >Africa/Tunis<option >Africa/Windhoek<option >America/Adak<option >America/Anchorage<option >America/Anguilla<option >America/Antigua<option >America/Araguaina<option >America/Aruba<option >America/Asuncion<option >America/Atka<option >America/Barbados<option >America/Belem<option >America/Belize<option >America/Boa_Vista<option >America/Bogota<option >America/Boise<option >America/Buenos_Aires<option >America/Cambridge_Bay<option >America/Cancun<option >America/Caracas<option >America/Catamarca<option >America/Cayenne<option >America/Cayman<option >America/Chicago<option >America/Chihuahua<option >America/Cordoba<option >America/Costa_Rica<option >America/Cuiaba<option >America/Curacao<option >America/Danmarkshavn<option >America/Dawson<option >America/Dawson_Creek<option >America/Denver<option >America/Detroit<option >America/Dominica<option >America/Edmonton<option >America/Eirunepe<option >America/El_Salvador<option >America/Ensenada<option >America/Fort_Wayne<option >America/Fortaleza<option >America/Glace_Bay<option >America/Godthab<option >America/Goose_Bay<option >America/Grand_Turk<option >America/Grenada<option >America/Guadeloupe<option >America/Guatemala<option >America/Guayaquil<option >America/Guyana<option >America/Halifax<option >America/Havana<option >America/Hermosillo<option >America/Indiana<option >America/Indianapolis<option >America/Inuvik<option >America/Iqaluit<option >America/Jamaica<option >America/Jujuy<option >America/Juneau<option >America/Kentucky<option >America/Knox_IN<option >America/La_Paz<option >America/Lima<option >America/Los_Angeles<option >America/Louisville<option >America/Maceio<option >America/Managua<option >America/Manaus<option >America/Martinique<option >America/Mazatlan<option >America/Mendoza<option >America/Menominee<option >America/Merida<option >America/Mexico_City<option >America/Miquelon<option >America/Monterrey<option >America/Montevideo<option >America/Montreal<option >America/Montserrat<option >America/Nassau<option >America/New_York<option >America/Nipigon<option >America/Nome<option >America/Noronha<option >America/North_Dakota<option >America/Panama<option >America/Pangnirtung<option >America/Paramaribo<option >America/Phoenix<option >America/Port-au-Prince<option >America/Port_of_Spain<option >America/Porto_Acre<option >America/Porto_Velho<option >America/Puerto_Rico<option >America/Rainy_River<option >America/Rankin_Inlet<option >America/Recife<option >America/Regina<option >America/Rio_Branco<option >America/Rosario<option >America/Santiago<option >America/Santo_Domingo<option >America/Sao_Paulo<option >America/Scoresbysund<option >America/Shiprock<option >America/St_Johns<option >America/St_Kitts<option >America/St_Lucia<option >America/St_Thomas<option >America/St_Vincent<option >America/Swift_Current<option >America/Tegucigalpa<option >America/Thule<option >America/Thunder_Bay<option >America/Tijuana<option >America/Tortola<option >America/Vancouver<option >America/Virgin<option >America/Whitehorse<option >America/Winnipeg<option >America/Yakutat<option >America/Yellowknife<option >Antarctica/Casey<option >Antarctica/Davis<option >Antarctica/DumontDUrville<option >Antarctica/Mawson<option >Antarctica/McMurdo<option >Antarctica/Palmer<option >Antarctica/South_Pole<option >Antarctica/Syowa<option >Antarctica/Vostok<option >Arctic/Longyearbyen<option >Asia/Aden<option >Asia/Almaty<option >Asia/Amman<option >Asia/Anadyr<option >Asia/Aqtau<option >Asia/Aqtobe<option >Asia/Ashgabat<option >Asia/Ashkhabad<option >Asia/Baghdad<option >Asia/Bahrain<option >Asia/Baku<option >Asia/Bangkok<option >Asia/Beirut<option >Asia/Bishkek<option >Asia/Brunei<option >Asia/Calcutta<option >Asia/Choibalsan<option >Asia/Chongqing<option >Asia/Chungking<option >Asia/Colombo<option >Asia/Dacca<option >Asia/Damascus<option >Asia/Dhaka<option >Asia/Dili<option >Asia/Dubai<option >Asia/Dushanbe<option >Asia/Gaza<option >Asia/Harbin<option >Asia/Hong_Kong<option >Asia/Hovd<option >Asia/Irkutsk<option >Asia/Istanbul<option >Asia/Jakarta<option >Asia/Jayapura<option >Asia/Jerusalem<option >Asia/Kabul<option >Asia/Kamchatka<option >Asia/Karachi<option >Asia/Kashgar<option >Asia/Katmandu<option >Asia/Krasnoyarsk<option >Asia/Kuala_Lumpur<option >Asia/Kuching<option >Asia/Kuwait<option >Asia/Macao<option >Asia/Macau<option >Asia/Magadan<option >Asia/Manila<option >Asia/Muscat<option >Asia/Nicosia<option >Asia/Novosibirsk<option >Asia/Omsk<option >Asia/Oral<option >Asia/Phnom_Penh<option >Asia/Pontianak<option >Asia/Pyongyang<option >Asia/Qatar<option >Asia/Qyzylorda<option >Asia/Rangoon<option >Asia/Riyadh<option >Asia/Riyadh87<option >Asia/Riyadh88<option >Asia/Riyadh89<option >Asia/Saigon<option >Asia/Sakhalin<option >Asia/Samarkand<option >Asia/Seoul<option >Asia/Shanghai<option >Asia/Singapore<option >Asia/Taipei<option >Asia/Tashkent<option >Asia/Tbilisi<option >Asia/Tehran<option >Asia/Tel_Aviv<option >Asia/Thimbu<option >Asia/Thimphu<option >Asia/Tokyo<option >Asia/Ujung_Pandang<option >Asia/Ulaanbaatar<option >Asia/Ulan_Bator<option >Asia/Urumqi<option >Asia/Vientiane<option >Asia/Vladivostok<option >Asia/Yakutsk<option >Asia/Yekaterinburg<option >Asia/Yerevan<option >Atlantic/Azores<option >Atlantic/Bermuda<option >Atlantic/Canary<option >Atlantic/Cape_Verde<option >Atlantic/Faeroe<option >Atlantic/Jan_Mayen<option >Atlantic/Madeira<option >Atlantic/Reykjavik<option >Atlantic/South_Georgia<option >Atlantic/St_Helena<option >Atlantic/Stanley<option >Australia/ACT<option >Australia/Adelaide<option >Australia/Brisbane<option >Australia/Broken_Hill<option >Australia/Canberra<option >Australia/Darwin<option >Australia/Hobart<option >Australia/LHI<option >Australia/Lindeman<option >Australia/Lord_Howe<option >Australia/Melbourne<option >Australia/NSW<option >Australia/North<option >Australia/Perth<option >Australia/Queensland<option >Australia/South<option >Australia/Sydney<option >Australia/Tasmania<option >Australia/Victoria<option >Australia/West<option >Australia/Yancowinna<option >Brazil/Acre<option >Brazil/DeNoronha<option >Brazil/East<option >Brazil/West<option >Canada/Atlantic<option >Canada/Central<option >Canada/East-Saskatchewan<option >Canada/Eastern<option >Canada/Mountain<option >Canada/Newfoundland<option >Canada/Pacific<option >Canada/Saskatchewan<option >Canada/Yukon<option >Chile/Continental<option >Chile/EasterIsland<option selected>Europe/Amsterdam<option >Europe/Andorra<option >Europe/Athens<option >Europe/Belfast<option >Europe/Belgrade<option >Europe/Berlin<option >Europe/Bratislava<option >Europe/Brussels<option >Europe/Bucharest<option >Europe/Budapest<option >Europe/Chisinau<option >Europe/Copenhagen<option >Europe/Dublin<option >Europe/Gibraltar<option >Europe/Helsinki<option >Europe/Istanbul<option >Europe/Kaliningrad<option >Europe/Kiev<option >Europe/Lisbon<option >Europe/Ljubljana<option >Europe/London<option >Europe/Luxembourg<option >Europe/Madrid<option >Europe/Malta<option >Europe/Minsk<option >Europe/Monaco<option >Europe/Moscow<option >Europe/Nicosia<option >Europe/Oslo<option >Europe/Paris<option >Europe/Prague<option >Europe/Riga<option >Europe/Rome<option >Europe/Samara<option >Europe/San_Marino<option >Europe/Sarajevo<option >Europe/Simferopol<option >Europe/Skopje<option >Europe/Sofia<option >Europe/Stockholm<option >Europe/Tallinn<option >Europe/Tirane<option >Europe/Tiraspol<option >Europe/Uzhgorod<option >Europe/Vaduz<option >Europe/Vatican<option >Europe/Vienna<option >Europe/Vilnius<option >Europe/Warsaw<option >Europe/Zagreb<option >Europe/Zaporozhye<option >Europe/Zurich<option >Indian/Antananarivo<option >Indian/Chagos<option >Indian/Christmas<option >Indian/Cocos<option >Indian/Comoro<option >Indian/Kerguelen<option >Indian/Mahe<option >Indian/Maldives<option >Indian/Mauritius<option >Indian/Mayotte<option >Indian/Reunion<option >Mexico/BajaNorte<option >Mexico/BajaSur<option >Mexico/General<option >Mideast/Riyadh87<option >Mideast/Riyadh88<option >Mideast/Riyadh89<option >Pacific/Apia<option >Pacific/Auckland<option >Pacific/Chatham<option >Pacific/Easter<option >Pacific/Efate<option >Pacific/Enderbury<option >Pacific/Fakaofo<option >Pacific/Fiji<option >Pacific/Funafuti<option >Pacific/Galapagos<option >Pacific/Gambier<option >Pacific/Guadalcanal<option >Pacific/Guam<option >Pacific/Honolulu<option >Pacific/Johnston<option >Pacific/Kiritimati<option >Pacific/Kosrae<option >Pacific/Kwajalein<option >Pacific/Majuro<option >Pacific/Marquesas<option >Pacific/Midway<option >Pacific/Nauru<option >Pacific/Niue<option >Pacific/Norfolk<option >Pacific/Noumea<option >Pacific/Pago_Pago<option >Pacific/Palau<option >Pacific/Pitcairn<option >Pacific/Ponape<option >Pacific/Port_Moresby<option >Pacific/Rarotonga<option >Pacific/Saipan<option >Pacific/Samoa<option >Pacific/Tahiti<option >Pacific/Tarawa<option >Pacific/Tongatapu<option >Pacific/Truk<option >Pacific/Wake<option >Pacific/Wallis<option >Pacific/Yap<option >US/Alaska<option >US/Aleutian<option >US/Arizona<option >US/Central<option >US/East-Indiana<option >US/Eastern<option >US/Hawaii<option >US/Indiana-Starke<option >US/Michigan<option >US/Mountain<option >US/Pacific<option >US/Samoa</select> |
52 | 59 | Adrian Georgescu | |
53 | 59 | Adrian Georgescu | </td> |
54 | 59 | Adrian Georgescu | </tr> |
55 | 59 | Adrian Georgescu | |
56 | 59 | Adrian Georgescu | <tr> |
57 | 59 | Adrian Georgescu | <td align=left valign=top colspan=3> |
58 | 59 | Adrian Georgescu | <input type=submit name=action value='Submit'> |
59 | 59 | Adrian Georgescu | </td><td align=right valign=bottom><input type=hidden name=action value='add'> |
60 | 1 | Adrian Georgescu | </td> |
61 | 1 | Adrian Georgescu | </tr> |
62 | 1 | Adrian Georgescu | |
63 | 1 | Adrian Georgescu | </table> |
64 | 1 | Adrian Georgescu | |
65 | 1 | Adrian Georgescu | </form> |
66 | 1 | Adrian Georgescu | }}} |
67 | 61 | Adrian Georgescu | |
68 | 61 | Adrian Georgescu | If you plan to offer a SIP service, you can setup your own SIP infrastructure using the following elements: |
69 | 61 | Adrian Georgescu | |
70 | 75 | Adrian Georgescu | || OpenSIPS || SIP server || http://opensips.org|| |
71 | 76 | Adrian Georgescu | || OpenXCAP|| Policy server || http://openxcap.org|| |
72 | 63 | Adrian Georgescu | || MediaProxy || RTP media relay || http://mediaproxy-ng.org|| |
73 | 76 | Adrian Georgescu | || MSRP Relay|| MSRP media relay|| http://msrprelay.org|| |
74 | 1 | Adrian Georgescu | |
75 | 90 | Adrian Georgescu | == Configuration == |
76 | 70 | Adrian Georgescu | |
77 | 104 | Adrian Georgescu | Manage global and SIP account settings used by middleware and Command Line Tools using: |
78 | 68 | Adrian Georgescu | |
79 | 97 | Adrian Georgescu | * [wiki:sip_settings sip_settings] |
80 | 68 | Adrian Georgescu | |
81 | 17 | Adrian Georgescu | == Register == |
82 | 1 | Adrian Georgescu | |
83 | 17 | Adrian Georgescu | * [wiki:sip_register sip_register] - REGISTER a SIP end-point with a SIP Registrar |
84 | 17 | Adrian Georgescu | |
85 | 88 | Adrian Georgescu | == Sessions == |
86 | 29 | Adrian Georgescu | |
87 | 103 | Adrian Georgescu | * [wiki:sip_audio_session sip_audio_session] - Setup simple SIP audio sessions using RTP media (VoIP) |
88 | 103 | Adrian Georgescu | * [wiki:sip_session sip_session] - Setup interactive multiple SIP sessions with Audio (RTP), Instant Messaging and File Transfer (MSRP) |
89 | 103 | Adrian Georgescu | * [wiki:sip_message sip_message] - Send and receive short messages in paging mode using SIP MESSAGE method |
90 | 32 | Adrian Georgescu | |
91 | 21 | Adrian Georgescu | == Presence == |
92 | 12 | Adrian Georgescu | |
93 | 107 | Adrian Georgescu | You can use these scripts to Publish, Subscribe and handle Notifies to and from a Presence Agent. |
94 | 71 | Adrian Georgescu | |
95 | 53 | Adrian Georgescu | * [wiki:sip_publish_presence sip_publish_presence] - PUBLISH presence to a Presence Agent |
96 | 105 | Adrian Georgescu | * [wiki:sip_subscribe_presence sip_subscribe_presence] - SUBSCRIBE to Presence Event for a given SIP address |
97 | 105 | Adrian Georgescu | * [wiki:sip_subscribe_dialog sip_subscribe_dialog] - SUBSCRIBE to Dialog Event for a given SIP address |
98 | 105 | Adrian Georgescu | * [wiki:sip_subscribe_winfo sip_subscribe_winfo] - SUBSCRIBE to the watcher list for given SIP address on the Presence Agent |
99 | 1 | Adrian Georgescu | * [wiki:sip_subscribe_rls sip_subscribe_rls] - SUBSCRIBE for Presence Event to a list managed by a Resource List Server |
100 | 107 | Adrian Georgescu | |
101 | 107 | Adrian Georgescu | == XCAP == |
102 | 107 | Adrian Georgescu | |
103 | 107 | Adrian Georgescu | You can use these scripts to manipulate documents on an XCAP server: |
104 | 107 | Adrian Georgescu | |
105 | 106 | Adrian Georgescu | * [wiki:xcap_directory xcap_directory] - Show the XCAP documents stored in the XCAP server for the given account |
106 | 106 | Adrian Georgescu | * [wiki:xcap_icon xcap_icon] - Stores and retrieves the icon for the given account |
107 | 1 | Adrian Georgescu | * [wiki:xcap_pres_rules xcap_pres_rules] - Manage the content of the pres-rules XCAP document |
108 | 105 | Adrian Georgescu | * [wiki:xcap_dialog_rules xcap_dialog_rules] - Manage the content of the dialog-rules XCAP document |
109 | 1 | Adrian Georgescu | * [wiki:xcap_rls_services] - Manage the content of a RLS services XCAP document |
110 | 99 | Adrian Georgescu | * [wiki:xcapclient xcapclient] - Manage documents on an XCAP server |