Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sip-options(1) [debian man page]

sip-options(1)							  sofia-sip-utils						    sip-options(1)

NAME
sip-options - Query SIP OPTIONS Synopsis sip-options [OPTIONS] target-uri 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. Command Line Options The options utility accepts following command line options: -m url | --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 Return Codes 0when successful (a 2XX-series response is received) 1when unsuccessful (a 3XX..6XX-series response is received) 2initialization failure Examples You want to query supported features of sip:essip00net.nokia.com: $ options sip:essip00net.nokia.com Environment #SIPADDRESS, #sip_proxy, #NTA_DEBUG, #TPORT_DEBUG, #TPORT_LOG. Reporting Bugs Report bugs to <sofia-sip-devel@lists.sourceforge.net>. Author Written by Pekka Pessi <pekka -dot pessi -at- nokia -dot- com> Copyright Copyright (C) 2005 Nokia Corporation. This program is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Version 1.12.11devel Sat May 7 2011 sip-options(1)

Check Out this Related Man Page

sip_get_request_uri_str(3SIP)			   Session Initiation Protocol Library Functions		     sip_get_request_uri_str(3SIP)

NAME
sip_get_request_uri_str - return request URI SYNOPSIS
cc [ flag ... ] file ... -lsip [ library ... ] #include <sip.h> const sip_str_t *sip_get_request_uri_str(sip_msg_t sip_msg, int *error); DESCRIPTION
For functions that return a pointer of type sip_str_t, sip_str_t is supplied by: typedef struct sip_str { char *sip_str_ptr; int sip_str_len; }sip_str_t; The sip_str_ptr parameter points to the start of the returned value and sip_str_len supplies the length of the returned value. For example, given the following request line in a SIP message input to sip_get_request_uri_str(): INVITE sip:marconi@radio.org SIP/2.0 the return is a pointer to sip_str_t with the sip_str_ptr member pointing to "s" of sip:marconi@radio.org and sip_str_len being set to 21, the length of sip:marconi@radio.org. The sip_get_request_uri_str() function returns the URI string from the request line in the SIP message sip_msg. RETURN VALUES
The sip_get_request_uri_str() function returns the URI string. The function returns NULL on failure. The value of errno is not changed by these calls in the event of an error. ERRORS
If the error is non-null, one of the following values is set: EINVAL For the sip_get_request_uri_str() function, there is no request line is in the SIP message. EPROTO For sip_get_request_uri_str, the request URI is invalid. On success, the value of the location pointed to by error is set to 0. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
libsip(3LIB) SunOS 5.11 25 Jan 2007 sip_get_request_uri_str(3SIP)
Man Page