Please add in all samples, default installed /etc/*.cfg files etc, etc, etc... RFC3311 processinging in a branch route:
} else if (is_method("INVITE|UPDATE")){ force_rtp_proxy(); instead of } else if (is_method("INVITE")){ force_rtp_proxy();
Or in last cvs version sample
if (nat_uac_test("3")) { .... if ( is_method("INVITE") ) { fix_nated_sdp("1"); # Add direction=active to SDP }; is_method("INVITE|UPDATE");
Thanks in advance !!!
Ether it's better to do:
if is_method("UPDATE") fix_nated_sdp(2);
for a counter ballance
Need your suggestions.
Thanks.
On 07/06/2011 03:45 PM, Andrew O. Zhukov wrote:
Please add in all samples, default installed /etc/*.cfg files etc, etc, etc... RFC3311 processinging in a branch route:
} else if (is_method("INVITE|UPDATE")){ force_rtp_proxy(); instead of } else if (is_method("INVITE")){ force_rtp_proxy();
Or in last cvs version sample
if (nat_uac_test("3")) { .... if ( is_method("INVITE") ) { fix_nated_sdp("1"); # Add direction=active to SDP }; is_method("INVITE|UPDATE");
Thanks in advance !!!
Ether it's better to do:
if is_method("UPDATE") fix_nated_sdp(2);
for rtp proxy counters ballance?
Need your suggestions.
Thanks.
On 07/06/2011 03:45 PM, Andrew O. Zhukov wrote:
Please add in all samples, default installed /etc/*.cfg files etc, etc, etc... RFC3311 processinging in a branch route:
} else if (is_method("INVITE|UPDATE")){ force_rtp_proxy(); instead of } else if (is_method("INVITE")){ force_rtp_proxy();
Or in last cvs version sample
if (nat_uac_test("3")) { .... if ( is_method("INVITE") ) { fix_nated_sdp("1"); # Add direction=active to SDP }; is_method("INVITE|UPDATE");
Thanks in advance !!!
Am 06.07.2011 16:37, schrieb Andrew O. Zhukov:
Ether it's better to do:
if is_method("UPDATE") fix_nated_sdp(2);
Actually I do not see any reason at all to use any features of fix_nated_sdp(), as force_rtp_proxy() will do all necessary changes to SDP.
regards Klaus
for rtp proxy counters ballance?
Need your suggestions.
Thanks.
On 07/06/2011 03:45 PM, Andrew O. Zhukov wrote:
Please add in all samples, default installed /etc/*.cfg files etc, etc, etc... RFC3311 processinging in a branch route:
} else if (is_method("INVITE|UPDATE")){ force_rtp_proxy(); instead of } else if (is_method("INVITE")){ force_rtp_proxy();
Or in last cvs version sample
if (nat_uac_test("3")) { .... if ( is_method("INVITE") ) { fix_nated_sdp("1"); # Add direction=active to SDP }; is_method("INVITE|UPDATE");
Thanks in advance !!!
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
On 07/06/2011 12:17 PM, Klaus Darilion wrote:
Actually I do not see any reason at all to use any features of fix_nated_sdp(), as force_rtp_proxy() will do all necessary changes to SDP.
We have found them to be downright mutually exclusive, since the SDP body gets changed twice.
Am 06.07.2011 14:45, schrieb Andrew O. Zhukov:
Please add in all samples, default installed /etc/*.cfg files etc, etc, etc... RFC3311 processinging in a branch route:
} else if (is_method("INVITE|UPDATE")){ force_rtp_proxy();
instead of } else if (is_method("INVITE")){ force_rtp_proxy();
btw: I always use (requests and replies)
if (has_body("application/sdp")) { force_rtp_proxy();