[OpenSIPS-Users] OpenSips 1.7 with MediaProxy and Nat routing with LinPhone

Saúl Ibarra Corretgé saul at ag-projects.com
Thu Sep 8 18:58:23 CEST 2011


On Sep 8, 2011, at 2:00 PM, giovanni.piccardi at agilex.it wrote:

> Hi to all, I'm trying to use Opensips with MediaProxy to setup a Sip Proxy. I've configurated in a Linux Debian machine, i've installed and configurated "correctly" OpenSips server with modules, their could communicate each other. My actual configuration of OpenSips doesn't include use of DB and authentication.
> If i use my 2 uacs (LinPhone) in Nat context (intranet), and routing messages inside proxy this scenario work great.
> I have some problem when i use 1 or 2 uacs outside Nat, sip messages pass inside proxy, invite message arrive to client, client ringing but when i accept the call the 200->ok message doesn't arrive to proxy.
> Probably i have missed something in routing or module configuration, someone could hel me in this tricky problem?

You don't seem to be using any function for fixing the Contact header, because of this subsequent requests will not arrive to the proxy. Check the documentation for either nathelper or nat_traversal and use the appropriate functions to fix the Contact header.

Also, it's probably better if you use engage_media_proxy instead of use_media_proxy and end_media_session, since its easier to use.


Saúl Ibarra Corretgé
AG Projects

More information about the Users mailing list