[Spce-user] G.729 codec is being removed from the answer SDP
Rahul Dhuri
rahul.dhuri at symbio.global
Thu Feb 12 20:38:29 EST 2026
Hi,
Looking for some suggestion on the scenario below and see what our options are.
We see RtpEngine deletes the G729 codec from the 'answer' when there is a mismatch in the 'annexb' attribute of G729. The original Invite was with annexb=yes attribute, and the 183 response from B party is coming back with annexb=no attribute.
I see below message in RTPEngine logs, which looks like this is done on purpose.
[1770617053.569755] DEBUG: [159450353296313653]: [codec] Not adding stray answer codec G729/8000/annexb=no (18)
Is there a way so that RTPengine does not delete the G729 codec in this case ?
RtpEngine response of command 'offer':
====================
t=0 0
m=audio 44234 RTP/AVP 18 8 0 96
a=maxptime:40
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
a=sendrecv
a=rtcp:44235
183 response from B-party:
====================
t=0 0
m=audio 15036 RTP/AVP 18 96
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
a=sendrecv
a=maxptime:20
RtpEngine response of command 'answer':
==================================
c=IN IP4 172.28.0.5
t=0 0
m=audio 30266 RTP/AVP 96
a=maxptime:20
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
a=sendrecv
a=rtcp:30267
Thanks,
Rahul
Rahul Dhuri
Senior Software Engineer
Erahul.dhuri at symbio.global
W
symbio.global
This communication is intended only for the person to whom it is addressed and may contain confidential material. If you received this communication in error, please inform the sender immediately and delete all copies. Please think of the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20260213/95d7cb78/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image573445.png
Type: image/png
Size: 34272 bytes
Desc: image573445.png
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20260213/95d7cb78/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image684413.png
Type: image/png
Size: 114827 bytes
Desc: image684413.png
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20260213/95d7cb78/attachment-0003.png>
More information about the Spce-user
mailing list