Ignore:
Timestamp:
Jun 20, 2012 10:39:05 AM (12 years ago)
Author:
ming
Message:

Fixed #1537: Via rewrite: putting the right IP address in Via sent-by for outgoing requests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip-simple/publish.h

    r3553 r4173  
    238238 
    239239/** 
     240 * Set the "sent-by" field of the Via header for outgoing requests. 
     241 * 
     242 * @param pubc      The client publication structure. 
     243 * @param via_addr  Set via_addr to use for the Via header or NULL to use 
     244 *                  the transport's published name. 
     245 * @param via_tp    via_addr will only be used if we are using via_tp 
     246 *                  transport. 
     247 * 
     248 * @return          PJ_SUCCESS on success. 
     249 */ 
     250PJ_DECL(pj_status_t) pjsip_publishc_set_via_sent_by(pjsip_publishc *pubc, 
     251                                                    pjsip_host_port *via_addr, 
     252                                                    pjsip_transport *via_tp); 
     253 
     254 
     255/** 
    240256 * Create PUBLISH request for the specified client publication structure. 
    241257 * Application can use this function to both create initial publication 
Note: See TracChangeset for help on using the changeset viewer.