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