Currently, Asterisk acts as a B2BUA server, and the location lookup/registration is handled by the Proxies. The Asterisk, is in the signalling as well as media (audio) path.
Problem Statement:
Asterisk should be in the audio path and not video path if the call is a audio+video call. So, audio goes from UA1, to RTPproxy, Asterisk to RTPProxy to UA2 and back. While video from UA1 to RTPProxy 1 to RTProxy2 to UA2.
Question:
Can Asterisk be configured/programed, so that it negotiates with RTPProxy1/2 video IP/port? While for Audio it does negotiation with its own IP and Port as its currently doing.
Or the other option, is the client UA1 sends a re-invite or update message to Asterisk (via Proxy) which contains only video m line and respective parameters, and Asterisk sends its Invite towards Proxy2/UA2 without fiddling with the SDP.
5 hours ago I was asleep and unconscious. As for your question the answer is still no, Asterisk is a B2BUA and except for limited cases (of which this is not one of them) does not pass such information through.