Then parse_sdp needs to be updated to return explicit error codes :(
-ovidiu
On Wed, Oct 17, 2012 at 12:35 PM, Juha Heinanen <jh(a)tutpro.com> wrote:
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