[asterisk-bugs] [JIRA] (ASTERISK-27303) chan_sip: Choppy MoH when channel on hold and bridge is native_rtp

Vitezslav Novy (JIRA) noreply at issues.asterisk.org
Fri Sep 29 16:03:08 CDT 2017


Vitezslav Novy created ASTERISK-27303:
-----------------------------------------

             Summary: chan_sip: Choppy MoH when channel on hold and bridge is native_rtp
                 Key: ASTERISK-27303
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27303
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/General
    Affects Versions: 14.6.2, 13.17.2, 15.0.0
         Environment: Debian Linux
            Reporter: Vitezslav Novy
            Severity: Minor


Scenario:
answered call A <--> B, both chan_sip, bridged with bridge_native_rtp
HOLD button is pressed on phone B
reINVITE with a=sendonly is sent from B to asterisk

Now there are 2 variants
1/ direct media is in action
asterisk answers to reINVITE with IP address of A as media endpoint but puts A on hold and starts to feed A with MoH
Phone A receives 2 RTP streams one with MoH from asterisk, one directly from B 

2/ media via asterisk
answer to reINVITE is without problem here
A is put on hold
MoH generator started
function  native_rtp_framehook in bridge_native_rtp.c receives AST_CONTROL_HOLD from channel A and stops the bridge, which is good state
But immediatelly after that same function recieves AST_CONTROL_UPDATE_RTP_PEER and starts the bridge
Result is A receives 2 RTP streams, one from MoH genetartor, one from phone B via bridge
 

 



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



More information about the asterisk-bugs mailing list