[Spce-user] SEMS adds `a=direction:both` to SDP replies
Jon Bonilla (Manwe)
manwe at sipdoc.net
Fri Jan 16 10:32:32 EST 2026
El Fri, 16 Jan 2026 14:16:44 +0000
Ben Kaufman via Spce-user <spce-user at lists.sipwise.com> escribió:
> In sems 1.7 (1.7-dev-488-gb0cd42b7-dirty) It seems that SEMS is adding an SDP
> line of a=direction:both to SDP replies, looks to be causing us problems with
> audio not connecting. I have some very old versions of SEMS
> (1.5.0-49-gd756ee2) that are not doing this, even though they have the same
> config.
>
> Is there a setting, etc. that can be used to direct sems to not alter SDP at
> all, including and especially adding a=direction... values?
>
Hi Ben
Yes, that causes a lot of issues with some Sonus gateways. Your easiest way
(not best but easiest) is to remove those in kamailio-lb
#manwe patch for sonus based sbcs
#!ifdef CUSTOM_SONUS_FIX
if (has_body("application/sdp")) {
replace_body_all("a=direction:both\r?\n", "");
}
#!endif
#manwe end
cheers,
Jon
--
PekePBX, the multitenant PBX solution
https://pekepbx.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Firma digital OpenPGP
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20260116/ff1d319b/attachment.sig>
More information about the Spce-user
mailing list