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-ua/sip_regc.h

    r4038 r4173  
    192192 
    193193/** 
     194 * Set the "sent-by" field of the Via header for outgoing requests. 
     195 * 
     196 * @param regc      The client registration structure. 
     197 * @param via_addr  Set via_addr to use for the Via header or NULL to use 
     198 *                  the transport's published name. 
     199 * @param via_tp    via_addr will only be used if we are using via_tp 
     200 *                  transport. 
     201 * 
     202 * @return          PJ_SUCCESS on success. 
     203 */ 
     204PJ_DECL(pj_status_t) pjsip_regc_set_via_sent_by(pjsip_regc *regc, 
     205                                                pjsip_host_port *via_addr, 
     206                                                pjsip_transport *via_tp); 
     207 
     208/** 
    194209 * Set the number of seconds to refresh the client registration before 
    195210 * the registration expires. 
Note: See TracChangeset for help on using the changeset viewer.