From 8f176cf7c8af5c681b7b616500b6eb32adb28887 Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Wed, 20 Jun 2012 10:39:05 +0000 Subject: Fixed #1537: Via rewrite: putting the right IP address in Via sent-by for outgoing requests git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4173 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/include/pjsua-lib/pjsua_internal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pjsip/include/pjsua-lib/pjsua_internal.h') diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h index 911cad10..326f916d 100644 --- a/pjsip/include/pjsua-lib/pjsua_internal.h +++ b/pjsip/include/pjsua-lib/pjsua_internal.h @@ -212,6 +212,9 @@ typedef struct pjsua_acc pj_str_t reg_contact; /**< Contact header for REGISTER. It may be different than acc contact if outbound is used */ + pjsip_host_port via_addr; /**< Address for Via header */ + pjsip_transport *via_tp; /**< Transport associated with + the Via address */ pj_str_t srv_domain; /**< Host part of reg server. */ int srv_port; /**< Port number of reg server. */ -- cgit v1.2.3