Hello,
On 11/30/10 9:09 AM, Jeremya wrote:
Hi,
I've been following some examples using has_sdp() function but it
is
not supplied by 3.0.x TEXTOPS
I've seen some discussion on mailing lists about has_sdp() being
included since 1.5. But checking the online documentation is
doesn't
exist in any version.
I use has_body("application/sdp") as an
alternative
but perhaps the has_sdp() function could be included, or
references and
examples using it altered or removed?
I haven't found has_sdp() in any module, but you can use
has_body(content-type) function for this purpose:
if(has_body("application/sdp"))
...
See:
http://kamailio.org/docs/modules/stable/modules_k/textops.html#id2925178
Cheers,
Daniel
--
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
http://www.asipto.com