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?
Thanks
Jeremy
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
We too have noticed this, and always assumed has_sdp() was a "pseudocode" example, which doesn't translate into an actually- existing function. that the documentation simply failed to indicate as being that.
-- Alex Balashov - Principal Evariste Systems LLC 1170 Peachtree Street 12th Floor, Suite 1200 Atlanta, GA 30309 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/
On Nov 30, 2010, at 3:09 AM, Jeremya jeremy@electrosilk.net 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?
Thanks
Jeremy _______________________________________________ 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
On 11/30/10 11:58 AM, Alex Balashov wrote:
We too have noticed this, and always assumed has_sdp() was a "pseudocode" example, which doesn't translate into an actually-existing function. that the documentation simply failed to indicate as being that.
As long as nobody actually pointed it, there was no action. Now that we know, maybe some devs with git access will take care of ;-)
Thanks, Daniel
-- Alex Balashov - Principal Evariste Systems LLC 1170 Peachtree Street 12th Floor, Suite 1200 Atlanta, GA 30309 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/
On Nov 30, 2010, at 3:09 AM, Jeremya jeremy@electrosilk.net 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?
Thanks
Jeremy _______________________________________________ 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
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