logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sip-options - Query SIP OPTIONS

Author

       Written by Pekka Pessi <pekka -dot pessi -at- nokia -dot- com>

Command Line Options

       The options utility accepts following command line options:

       -murl|--contact=url|--bind=url
           Specifies the SIP URL to which the options utility binds.

       --1XX|-1
           Print  also  preliminary responses. If this option is not present, preliminary responses are silently
           discarded.

       --all|-a
           All SIP headers will be printed. If the --all option is given, the options utility also prints  From,
           Via, Call-ID or CSeq headers.

       --from=url
           Specifies  the From header. Unless this option is used or the environment variable SIPADDRESS is set,
           local Contact URL is used as From header as well.

       --mf=n
           Specify the initial Max-Forwards count (defaults to 70, stack default).

       --method=s
           Specify the request method (defaults to OPTIONS).

       --extra|-x/dt>
           Read extra headers (and optionally a message body) from the standard input

Description

       The sip-options utility sends a SIP OPTIONS request (or any other SIP request) to a SIP server.

       The sip-options tool will print out status line and interesting headers from the response, excluding
       From, Via, Call-ID, and CSeq. The message body is also printed.

Environment

       #SIPADDRESS, #sip_proxy, #NTA_DEBUG, #TPORT_DEBUG, #TPORT_LOG.

Examples

       You want to query supported features of sip:essip00net.nokia.com:

       $ options sip:essip00net.nokia.com

Name

       sip-options - Query SIP OPTIONS

Reporting Bugs

Return Codes

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

Synopsis

       sip-options [OPTIONS] target-uri

See Also