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

eXosip2 INVITE and Call Management(3)				    libeXosip2				     eXosip2 INVITE and Call Management(3)

NAME
eXosip2 INVITE and Call Management - Functions int eXosip_call_set_reference (int id, void *reference) void * eXosip_call_get_reference (int cid) int eXosip_call_build_initial_invite (osip_message_t **invite, const char *to, const char *from, const char *route, const char *subject) int eXosip_call_send_initial_invite (osip_message_t *invite) int eXosip_call_build_request (int did, const char *method, osip_message_t **request) int eXosip_call_build_ack (int did, osip_message_t **ack) int eXosip_call_send_ack (int did, osip_message_t *ack) int eXosip_call_build_refer (int did, const char *refer_to, osip_message_t **request) int eXosip_call_build_info (int did, osip_message_t **request) int eXosip_call_build_options (int did, osip_message_t **request) int eXosip_call_build_update (int did, osip_message_t **request) int eXosip_call_build_notify (int did, int subscription_status, osip_message_t **request) int eXosip_call_send_request (int did, osip_message_t *request) int eXosip_call_build_answer (int tid, int status, osip_message_t **answer) int eXosip_call_send_answer (int tid, int status, osip_message_t *answer) int eXosip_call_terminate (int cid, int did) int eXosip_call_build_prack (int tid, osip_message_t **prack) int eXosip_call_send_prack (int tid, osip_message_t *prack) int eXosip_transfer_send_notify (int did, int subscription_status, char *body) int eXosip_call_get_referto (int did, char *refer_to, size_t refer_to_len) int eXosip_call_find_by_replaces (char *replaces) Detailed Description Function Documentation int eXosip_call_set_reference (intid, void *reference) Set a new application context for an existing call Parameters: id call-id or dialog-id of call reference New application context. void* eXosip_call_get_reference (intcid) Get the application context pointer for an existing call. Parameters: cid id of the call. Returns: Application context reference int eXosip_call_build_initial_invite (osip_message_t **invite, const char *to, const char *from, const char *route, const char *subject) Build a default INVITE message for a new call. Parameters: invite Pointer for the SIP element to hold. to SIP url for callee. from SIP url for caller. route Route header for INVITE. (optional) subject Subject for the call. int eXosip_call_send_initial_invite (osip_message_t *invite) Initiate a call. Parameters: invite SIP INVITE message to send. int eXosip_call_build_request (intdid, const char *method, osip_message_t **request) Build a default request within a call. (INVITE, OPTIONS, INFO, REFER) Parameters: did dialog id of call. method request type to build. request The sip request to build. int eXosip_call_build_ack (intdid, osip_message_t **ack) Build a default ACK for a 200ok received. Parameters: did dialog id of call. ack The sip request to build. int eXosip_call_send_ack (intdid, osip_message_t *ack) Send the ACK for the 200ok received.. Parameters: did dialog id of call. ack SIP ACK message to send. int eXosip_call_build_refer (intdid, const char *refer_to, osip_message_t **request) Build a default REFER for a call transfer. Parameters: did dialog id of call. refer_to url for call transfer (Refer-To header). request The sip request to build. int eXosip_call_build_info (intdid, osip_message_t **request) Build a default INFO within a call. Parameters: did dialog id of call. request The sip request to build. int eXosip_call_build_options (intdid, osip_message_t **request) Build a default OPTIONS within a call. Parameters: did dialog id of call. request The sip request to build. int eXosip_call_build_update (intdid, osip_message_t **request) Build a default UPDATE within a call. Parameters: did dialog id of call. request The sip request to build. int eXosip_call_build_notify (intdid, intsubscription_status, osip_message_t **request) Build a default NOTIFY within a call. Parameters: did dialog id of call. subscription_status Subscription status of the request. request The sip request to build. int eXosip_call_send_request (intdid, osip_message_t *request) send the request within call. (INVITE, OPTIONS, INFO, REFER, UPDATE) Parameters: did dialog id of call. request The sip request to send. int eXosip_call_build_answer (inttid, intstatus, osip_message_t **answer) Build default Answer for request. Parameters: tid id of transaction to answer. status Status code to use. answer The sip answer to build. int eXosip_call_send_answer (inttid, intstatus, osip_message_t *answer) Send Answer for invite. Parameters: tid id of transaction to answer. status response status if answer is NULL. (not allowed for 2XX) answer The sip answer to send. int eXosip_call_terminate (intcid, intdid) Terminate a call. send CANCEL, BYE or 603 Decline. Parameters: cid call id of call. did dialog id of call. int eXosip_call_build_prack (inttid, osip_message_t **prack) Build a PRACK for invite. Parameters: tid id of the invite transaction. prack The sip prack to build. int eXosip_call_send_prack (inttid, osip_message_t *prack) Send a PRACK for invite. Parameters: tid id of the invite transaction. prack The sip prack to send. int eXosip_transfer_send_notify (intdid, intsubscription_status, char *body) Send a NOTIFY containing the information about a call transfer. THIS METHOD WILL BE REPLACED or REMOVED, please use the new API to build NOTIFY. Parameters: did dialog id of call. subscription_status the subscription status. body the body to attach to NOTIFY. int eXosip_call_get_referto (intdid, char *refer_to, size_trefer_to_len) Get Refer-To header with Replace parameter from dialog. Parameters: did id of the dialog. refer_to buffer to be filled with refer-to info. refer_to_len size of refer_to buffer. int eXosip_call_find_by_replaces (char *replaces) Return did (or cid) for the replace header. Parameters: replaces buffer to be filled with refer-to info. Author Generated automatically by Doxygen for libeXosip2 from the source code. Version 3.1.0 Sun Jun 24 2012 eXosip2 INVITE and Call Management(3)
Man Page