Hello all,
i was trying to integrate My OpenSER with Mediaproxy server for nat traversal
Problems i was facing: 1)proxydispatcher.sock has not been built 2)when running with mediaproxy alone the audio was lost meaning in the first invite and 200 ok handshakes the sdp mangling was done perfect but next all reinvites( because of Session-Expires) lost the sdp mangling to respective global ips
Can anybody give a clue to these two problems
thanks in advance - Srinivas Antarvedi
Hi there Srinivas,
1) Proxy dispatcher must be activated in order to start (see mediaproxy.ini). 2) I suspect that you have not treated properly reinvites in loose routing block. Some traces and configuration samples could permit us helping you more.
Cheers, DanB
On 9/26/07, srinivas Antarvedi srinivas.antarvedi@gmail.com wrote:
Hello all,
i was trying to integrate My OpenSER with Mediaproxy server for nat traversal
Problems i was facing: 1)proxydispatcher.sock has not been built 2)when running with mediaproxy alone the audio was lost meaning in the first invite and 200 ok handshakes the sdp mangling was done perfect but next all reinvites( because of Session-Expires) lost the sdp mangling to respective global ips
Can anybody give a clue to these two problems
thanks in advance
Srinivas Antarvedi
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hi,
- I suspect that you have not treated properly reinvites in loose
routing block. Some traces and configuration samples could permit us helping you more.
What is the correct way of handling re-invites in a loose routing block? So far I have disabled al reinvites because I also had problems in this area...
Hi Andreas,
it should depend also by how well the sip ua implements the RFC. In normal cases, I mark the natted requests with ";nat=yes" when record routing, and after I I will treat all the packets containing "nat=yes" like generated from behind nat and force rtp_proxy in their case.
Some sample config:
# -------------------------------------- # NAT # --------------------------------------
if (nat_uac_test("7") || search("^Route:.*;nat=yes")) {
force_rport();
if (is_method("REGISTER")) { fix_nated_register(); setbflag(6); } else { setflag(7); fix_nated_contact();
if (is_method("INVITE")){ fix_nated_sdp("1"); };
};
}; # -------------------------------------- # Record Routing # --------------------------------------
if (method=="INVITE" && isflagset(7)) { record_route_preset("$var(listen_ip);nat=yes"); } else if (method!="REGISTER") { record_route(); };
if (isbflagset(6) || isflagset(7)) {
setbflag(10); force_rtp_proxy(); }
Hope that helps.
Cheers, DanB
On 9/27/07, Andreas Sikkema andreas.sikkema@bbeyond.nl wrote:
Hi,
- I suspect that you have not treated properly reinvites in loose
routing block. Some traces and configuration samples could permit us helping you more.
What is the correct way of handling re-invites in a loose routing block? So far I have disabled al reinvites because I also had problems in this area...
-- Andreas Sikkema
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users