pjsip logo pjsip.org
Open source SIP stack and media stack for presence, im/instant messaging, and multimedia communication
Loading

HOME

SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port

FAQ

Documentation

Licensing

Download

Development (Trac)

Projects using pjsip

Mailing List

Open Source Links


About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono
<bennylp@pjsip.org>


 

Home --> Documentations --> PJSIP Reference

pjsip_response_addr Struct Reference
[Message Creation and Stateless Operations]

#include <sip_util.h>

Data Fields

pjsip_transporttransport
pj_sockaddr addr
int addr_len
pjsip_host_info dst_host

Detailed Description

This structure describes destination information to send response. It is initialized by calling pjsip_get_response_addr().

If the response message should be sent using transport from which the request was received, then transport, addr, and addr_len fields are initialized.

The dst_host field is also initialized. It should be used when server fails to send the response using the transport from which the request was received, or when the transport is NULL, which means server must send the response to this address (this situation occurs when maddr parameter is set, or when rport param is not set in the request).


Field Documentation

Immediate transport to be used.

Immediate address to send to.

Destination host to contact.


The documentation for this struct was generated from the following file:
  • sip_util.h

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.