1sip-options(1)                  sofia-sip-utils                 sip-options(1)
2
3
4

NAME

6       sip-options - Query SIP OPTIONS
7

Synopsis

9       sip-options [OPTIONS] target-uri
10

Description

12       The sip-options utility sends a SIP OPTIONS request (or any other SIP
13       request) to a SIP server.
14
15       The sip-options tool will print out status line and interesting headers
16       from the response, excluding From, Via, Call-ID, and CSeq. The message
17       body is also printed.
18

Options

20       The options utility accepts following command line options:
21
22       -m url | --contact=url | --bind=url
23           Specifies the SIP URL to which the options utility binds.
24
25       --1XX | -1
26           Print also preliminary responses. If this option is not present,
27           preliminary responses are silently discarded.
28
29       --all | -a
30           All SIP headers will be printed. If the --all option is given, the
31           options utility also prints From, Via, Call-ID or CSeq headers.
32
33       --from=url
34           Specifies the From header. Unless this option is used or the
35           environment variable SIPADDRESS is set, local Contact URL is used
36           as From header as well.
37
38       --mf=n
39           Specify the initial Max-Forwards count (defaults to 70, stack
40           default).
41
42       --method=s
43           Specify the request method (defaults to OPTIONS).
44
45       --extra | -x/dt>
46           Read extra headers (and optionally a message body) from the
47           standard input
48

Return Codes

50       0when successful (a 2XX-series response is received) 1when unsuccessful
51       (a 3XX..6XX-series response is received) 2initialization failure
52

Examples

54       You want to query supported features of sip:essip00net.nokia.com:
55
56        $ options sip:essip00net.nokia.com
57
58

Environment

60       SIPADDRESS, sip_proxy, NTA_DEBUG, TPORT_DEBUG, TPORT_LOG.
61

Reporting Bugs

63       Report bugs to <sofia-sip-devel@lists.sourceforge.net>.
64

Author

66       Written by Pekka Pessi <pekka -dot pessi -at- nokia -dot- com>
67
69       Copyright (C) 2005 Nokia Corporation.
70
71       This program is free software; see the source for copying conditions.
72       There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
73       PARTICULAR PURPOSE.
74
75
76
77Version 1.12.10                   8 Dec 2008                    sip-options(1)
Impressum