-
Notifications
You must be signed in to change notification settings - Fork 937
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kamailio 5.1.8, error in sdpops, sdp_keep_codecs function #1983
Comments
We also found that it occurs everytime when RTPEngine is engaged. |
this is related to sdp_keep_codec which doesn't remove fmtp payload. |
The issue is related to the function call sdp_keep_codecs_by_id(..).
The resulting SDP that cause the error message is then this:
|
Debug log file that shows the problem, second "a=fmtp" is not removed |
It seems that the function sdp_remove_str_codec_id_attr(..) only removes the first attribute for a deleted codec. I am traveling for the next week, maybe somebody else could have a look to this issue. Otherwise I can investigate after my return. |
@henningw - did you get a chance to look deeper at this one? |
@miconda not yet unfortunately |
I looked into the SDPops module and also the SDP core parser. Furthermore I read the relevant RFCs more closely. It seems that this particular situation (having two ftmp for one media/codec) is not valid.
|
Hello,
I got this message under some circumstances (the number called)
Jun 12 15:15:01 proxy1 /usr/sbin/kamailio[16096]: ERROR: [core/parser/sdp/sdp.c:228]: set_sdp_payload_fmtp(): Invalid payload location
What means "Payload location" ?
SDP Debug from the callee:
Jun 12 15:15:01 proxy1 /usr/sbin/kamailio[16096]: DEBUG: sdpops [sdpops_mod.c:1626]: sdp_get_helper(): Found SDP v=0#015#012o=- 5793 1 IN IP4 192.168.50.50#015#012s=-#15#012t=0 0#015#012m=audio 24734 RTP/AVP 8 101#015#012c=IN IP4 217.112.190.YY#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:18 annexa=yes#015#012a=fmtp:101 0-15#015#012a=ptime:30#015#012a=silenceSupp:off - - - -#15#012a=sendrecv#015#012
SDP Debug called pbx:
Jun 12 15:15:01 proxy1 /usr/sbin/kamailio[16097]: DEBUG: sdpops [sdpops_mod.c:1626]: sdp_get_helper(): Found SDP v=0#015#012o=root 1673681431 1673681431 IN IP4 217.112.180.5#015#012s=Asterisk PBX 11.25.1#015#012c=IN IP4 217.112.180.YY#015#012t=0 0#015#012m=audio 10884 RTP/AVP 8 101#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101 0-16#015#012a=ptime:20#015#012a=sendrecv#015#012
The text was updated successfully, but these errors were encountered: