Hi,
it seems to me that the bandwidth field in the
SDP has too many entries ? The RFC states that
it should consist of a modifier, and the bandwidth
in kilobits/sec. In osipua/src/sdphandler.c, the
payload type is also added. This breaks communication
with some commercial SIP stacks.
Simple patch attached.
Sincerely
Sumit
------------------------------------------------------------------------
*** sdphandler.c Thu Mar 4 14:21:35 2004
--- sdphandler.c.orig Thu Mar 4 14:22:00 2004
***************
*** 230,236 ****
if (payload->b_as_bandwidth != 0)
{
attr_field =
! sstrdup_sprintf ("%i", payload->b_as_bandwidth);
sdp_b_bandwidth_add (offer, payload->line, sgetcopy ("AS"),
attr_field);
}
--- 230,237 ----
if (payload->b_as_bandwidth != 0)
{
attr_field =
! sstrdup_sprintf ("%i %i", payload->pt,
! payload->b_as_bandwidth);
sdp_b_bandwidth_add (offer, payload->line, sgetcopy ("AS"),
attr_field);
}
------------------------------------------------------------------------
_______________________________________________
Linphone-users mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/linphone-users