Gotcha!
Maybe it will be useful for someone.
Problem was that SDPs in reinvite sequence have already "nortpproxy=yes"
flag set (from initial INVITE transaction I think), and SDP rewriting
just don't triggers when it should. One little line has solved this issue:
modparam("rtpproxy", "nortpproxy_str", "")
Pretty dumb solution, but for now it finally works. Sorry for annoying :)
14.08.2017 12:55, Yu Boot пишет:
Finally I find a root of a problem with my T.38
reinvites.
A->(NAT)->Kami->PSTN
When NATted caller does reinvite, and remote side answers with 200
OK+SDP, Kami (why?) doesn't rewrite SDP for its own IP (so NATted
caller can receive RTP) and leaves remote's IP as media address, so of
course there is no RTP/UDPTL. All other NAT related stuff works fine.
Even if remote side sends me T.38 reinvite first, everything works
properly. Config file is default from Kami sources.