[SR-Users] has_sdp()??

Ron Hopson ronh at netweave.com
Wed Oct 17 17:48:30 CEST 2012


I use kamailio 3.3 and it does not exist.  Instead I use:
     if(has_body("application/sdp")){

On 10/17/2012 9:38 AM, Juha Heinanen wrote:
> 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
>
> _______________________________________________
> 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