[SR-Users] RFC3311 troublefix

Klaus Darilion klaus.mailinglists at pernau.at
Wed Jul 6 18:17:28 CEST 2011



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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



More information about the sr-users mailing list