[asterisk-bugs] [JIRA] (ASTERISK-21246) After RTP is negotiated (ALAW) between two SIP endpoints; Asterisk starts sending ULAW marker packets to both endpoints

Michael L. Young (JIRA) noreply at issues.asterisk.org
Wed Apr 24 09:17:39 CDT 2013


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

Michael L. Young edited comment on ASTERISK-21246 at 4/24/13 9:16 AM:
----------------------------------------------------------------------

Peter, thanks for the debug info.  The RTP debug has what we needed to pinpoint what is happening.

Rusty, looks like it might have something to do with comfort noise (CNG) in res/res_rtp_asterisk.  The debug message is wrong to start.  In looking at the code, the debug message is displayed after it increases the sequence number by one.  The PCAP has the correct seq number.  So, this part of the code needs to be looked at in order to make sure it is behaving properly (using the right codec for the CNG) as well as we need to correct the debug message.
                
      was (Author: elguero):
    Peter, thanks.

Rusty, looks like it might have something to do with comfort noise (CNG) in res/res_rtp_asterisk.  The debug message is wrong to start.  In looking at the code, the debug message is displayed after it increases the sequence number by one.  The PCAP has the correct seq number.  So, this part of the code needs to be looked at in order to make sure it is behaving properly (using the right codec for the CNG) as well as we need to correct the debug message.
                  
> After  RTP is negotiated (ALAW) between two SIP endpoints; Asterisk starts sending ULAW marker packets to both endpoints 
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-21246
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21246
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General, Resources/res_rtp_asterisk
>    Affects Versions: 1.8.17.0, 1.8.18.0, 1.8.19.0, 1.8.20.1
>         Environment: ubuntu 10.04
>            Reporter: Peter Katzmann
>            Assignee: Rusty Newton
>         Attachments: asterisk.conf.tar.gz, CallWithTranscoding, codecchange.0, codecchange.2, codecchange-24032013.bz2, codecchange-24032013-udp.pcap, codecchange.3, codecchange-filtered.pcap.gz, filtered1512-2-leg.pcap, filtered1512-2.pcap, myDebugLog, myDebugLog, negiot-switch, vanilla-trace.txt, ws-trace.txt
>
>
> See attached traces
> During call asterisk switches the negotiated codec (alaw) in the rtp to ulaw.
> If there is no renegotiation (like on my snom 720 sometimes), the user has a audible distortion.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list