Asterisk 13 and distinct source IP addresses

Hello.

I run Asterisk 13.3.1 + PJSIP, which has two transports, defined as:

[transport-A]
type = transport
protocol = udp
bind = 10.100.1.1:5060

[transport-B]
type = transport
protocol = udp
bind = 10.200.1.1:5060

10.100.1.1 and 10.200.1.1 are assigned to two physical interfaces on the same machine. There are also two endpoints defined, every of which is assigned to its own transport from those above.

The problem is that when Asterisk establishes the outgoing call, the SIP traffic originates from the address assigned to an according transport, while RTP traffic always originates from 10.100.1.1, no matter which endpoint is used. I’ve had tried combinations of external_media_address, external_signaling_address, media_address, but it seems that Asterisk simply ignores these.

Would really appreciate your answers. Thank you.