i started to read AmSdp.cpp code in order to find out why
a=direction:active
media attribute causes error:
Apr 11 10:21:01 localhost sems[6068]: Debug: (AmSdp.cpp)(attr_check)(1143):
sdp_parse_attr: Unknow attribute name used:direction, plz see RFC4566
the reason is that parse_sdp_attr function calls attr_check(attr) if
attr is not "rtpmap" or "fmtp", and attr_check does not know about
"direction". instead it (i think erroneously) checks direction values:
else if(attr == "both")
return true;
else if(attr == "active")
return true;
else if(attr == "passive")
return true;
i'll try to replace those with "direction" to see if that helps or if
something else needs to be changed too.
-- juha
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev