Hello;
    I am trying to rtp processing with rtpproxy.  i couldnt find why it truncate the sdp body. there is no clue in debug mod 4.
Could you hava a look what is wrong?

rtpproxy running like that "rtpproxy -l public_ip -s udp:127.0.0.1:7723 -F -m 10000 -M 20000 -d DBUG:LOG_DAEMON"
kamailio version  : 4.4.0-pre0
rtpproxy version  : Basic version: 20040107
...cfg..
modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7723")
modparam("rtpproxy", "nortpproxy_str", "a=sdpmangled:yes\r\n")

route[NATMANAGE] {
#!ifdef WITH_NAT
        if (is_request()) {
                if(has_totag()) {
                        if(check_route_param("nat=yes")) {
                                setbflag(FLB_NATB);
                        }
                }
        }
        if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB)))
                return;
        if (nat_uac_test("8")) {
                rtpproxy_manage("co");
        }else{
                rtpproxy_manage("cor");
        }

        if (is_request()) {
                if (!has_totag()) {
                        if(t_is_branch_route()) {
                                add_rr_param(";nat=yes");
                        }
                }
        }
        if (is_reply()) {
                if(isbflagset(FLB_NATB)) {
                        #fix_nated_contact();
                        if(is_first_hop())
                                set_contact_alias();
                }
        }
#!endif
        return;
}


....
Call flows

route[NATMANAGE] {
#!ifdef WITH_NAT
        if (is_request()) {
                if(has_totag()) {
                        if(check_route_param("nat=yes")) {
                                setbflag(FLB_NATB);
                        }
                }
        }
        if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB)))
                return;
        if (nat_uac_test("8")) {
                rtpproxy_manage("co");
        }else{
                rtpproxy_manage("cor");
        }

        if (is_request()) {
                if (!has_totag()) {
                        if(t_is_branch_route()) {
                                add_rr_param(";nat=yes");
                        }
                }
        }
        if (is_reply()) {
                if(isbflagset(FLB_NATB)) {
                        #fix_nated_contact();
                        if(is_first_hop())
                                set_contact_alias();
                }
        }
#!endif
        return;
}


UAC 1 ---> Kamailio ---> UAC 2
            RTPPROXY

Before kamailio
-----------
v=0

o=Z 0 0 IN IP4 192.168.0.223

s=Z

c=IN IP4 192.168.0.223

t=0 0

m=audio 8000 RTP/AVP 3 110 8 0 98 101

a=rtpmap:110 speex/8000

a=rtpmap:98 iLBC/8000

a=fmtp:98 mode=20

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=sendrecv
------

after kamailio
------------
v=0

o=Z 0 0 IN IP4 19
------------


--
_______________________________________________
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

Reply via email to