[asterisk-bugs] [JIRA] (ASTERISK-25160) [patch]SIP: SDP: Audio-Codecs: Opus: rtpmap missing

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Jun 17 08:58:33 CDT 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226522#comment-226522 ] 

Rusty Newton commented on ASTERISK-25160:
-----------------------------------------

Once you've followed the Code Review process [1] and submitted your code to Gerrit [2] be sure to edit this JIRA issue and add the Gerrit review URL in the appropriate field.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Code+Review
[2] https://wiki.asterisk.org/wiki/display/AST/Gerrit+Usage





> [patch]SIP: SDP: Audio-Codecs: Opus: rtpmap missing
> ---------------------------------------------------
>
>                 Key: ASTERISK-25160
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25160
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/CodecHandling
>    Affects Versions: SVN, 13.4.0
>         Environment: Ubuntu 14.04 LTS
>            Reporter: Alexander Traud
>            Severity: Minor
>         Attachments: A_generate_sdp_fmtp_always.patch, B_register_interface_with_cached.patch
>
>
> Sometimes, Asterisk does not send a "rtpmap" line in SIP/SDP. This affects all formats with an attribute module like H.263, H.264, and Opus (res/res_format_attr_opus.c).
> This happens, because "ast_format_generate_sdp_fmtp" is called with a format without an attribute module (variable "interface" is NULL). This happens, because such a format was created before its attribute module got registered. This happens for
> I) cached formats: main » ast_codec_builtin_init » CODEC_REGISTER_AND_CACHE » ast_format_create | ast_format_cache_set » set_cached_format
> II) local capabilities: main » ast_local_init » ast_format_cap_append_by_type » ast_format_create
> Steps to reproduce:
> # make install samples
> # edit sip.conf to allow "opus"
> # dial echo-test extension (600)



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list