[SR-Users] has_sdp()??

Juha Heinanen jh at tutpro.com
Wed Oct 17 17:38:11 CEST 2012


while reading rtpproxy module readme, i found this kind of example:

    if (is_method("INVITE")) {
        if (has_sdp()) {
            if (rtpproxy_offer())
                t_on_reply("1");
        } else {
            t_on_reply("2");
        }
    }
    if (is_method("ACK") && has_sdp())
        rtpproxy_answer();

does has_sdp() function really exist?  it is not listed on wiki page:

http://www.kamailhttp://www.kamailio.org/wiki/alphaindexes/3.4.x/modfunctions#h

-- juha



More information about the sr-users mailing list