[SR-Users] has_sdp()??
Juha Heinanen
jh at tutpro.com
Wed Oct 17 18:35:32 CEST 2012
Ovidiu Sas writes:
> On the other hand, is_audio_on_hold():
> http://kamailio.org/docs/modules/devel/modules_k/textops.html#id2523065
> could be re-worked/re-named to provide media status.
i looked at the code and it has this:
if (0 == parse_sdp(msg)) {
...
}
return -1;
the problem is that parse_sdp returns -1 if there is no sdp, but also
when there is some error.
-- juha
More information about the sr-users
mailing list