Ignore:
Timestamp:
Sep 26, 2006 1:21:02 PM (18 years ago)
Author:
bennylp
Message:

Added support for specifying IP address in PJSUA-LIB/pjsua.
This option can be used for example to select the IP
interface of SIP/RTP/RTCP transports, or to specify the
public IP address of NAT/router in case port forwarding is
used.

For SIP transports, this feature works for both UDP and
TCP transports.

Changes:

  • added public_ip field in pjsua_transport_config, and change SIP and media transport creation to consider this option.
  • added --ip-addr option in pjsua
  • added pjsip_tcp_transport_start2() which allows specifying alternate TCP published address when creating TCP transports.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_transport.h

    r736 r742  
    727727    PJ_DECL_LIST_MEMBER(struct pjsip_tpfactory); 
    728728 
     729    char                    obj_name[PJ_MAX_OBJ_NAME];  /**< Name.      */ 
     730 
    729731    pj_pool_t              *pool;           /**< Owned memory pool.     */ 
    730732    pj_lock_t              *lock;           /**< Lock object.           */ 
Note: See TracChangeset for help on using the changeset viewer.