Hi,
since we integrated IPv6 into our existing routing logic, in
some cases "fix_nated_sdp" gets called for IPv6 calls, too.
(Actually, this just happens because of the mistakenly
detected NAT.) But that ends up with a an error in the log.
ERROR: nathelper [nathelper.c:1685]: replace_sdp_ip(): not an
IPv4 address in 'c=' SDP
So I'm looking for a way to exempt IPv6 calls from that. But I
can't find a pseudovariable which carries the SDP contact IP.
I guess I could take some function from the sdpops module, but
is there a more convenient way to get just the contact IP?