[OpenSIPS-Users] Calling engage_media_proxy per branch

Thomas Gelf thomas at gelf.net
Thu May 28 17:27:58 CEST 2009


Hi list,

I really like engage_media_proxy() as it really makes life easier.
However, currently it is dialog-based and cannot be called in a
branch_route. This has some side-effect:

a) if a call is forked to two users, one behind NAT and one with
   non-symmetric router and STUN or on public IP, mediaproxy is
   always used, even if the client without NAT picks up the call.

While I could live with this, a second scenario is really ugly:

b) A is calling B, both with public IP. B issues a conditional
   call forward (30x) to C, with C being behind NAT. As far as
   I understood the module there is no way to "engage" Mediaproxy
   in this scenario.

What I would like to know is:

- is there a known workaround for this issue, that I can apply
  to my config script?
- is it planned to change engage_media_proxy to make it "branch-
  aware"?
- if you can acknowledge neither of the above: do I really need
  to tear down/re-use Mediaproxy session on each ReINVITE? What
  is the current best practice in this case?

Many thanks for your answers!

Best regards,
Thomas Gelf




More information about the Users mailing list