Le Wed, 6 Nov 2013 12:48:47 +0100,
Daniel-Constantin Mierla <miconda(a)gmail.com> a écrit :
What defines you set for each of the cases? I see
there is an else
left open inside the #!ifdef, which ends up in getting an append_hf()
if the define id is set.
Hello Daniel,
thanks, you figured it right: the WITH_NAT define was set. I changed the
pcscf cfg example and somehow misread the #!ifdef/#!else and if/else
logic.
I changed the config back to
#!ifdef WITH_NAT
if (...) {
} else
#!endif
append_hf("Path: <sip:term@" +
NETWORK_INTERNAL_IP_S+":"+SIP_INTERNAL_PORT+";lr>\r\n");
as it was intended in the first place, and everything went back to
normal.
Thanks
--
Camlle