[asterisk-bugs] [JIRA] (ASTERISK-28342) Ast-to-Ast setup using the same rtcpinterval crashes RTCP and audio stream

Speed Dial Dave (JIRA) noreply at issues.asterisk.org
Tue Mar 26 18:44:47 CDT 2019


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

Speed Dial Dave edited comment on ASTERISK-28342 at 3/26/19 6:44 PM:
---------------------------------------------------------------------

[~jcolp], SELinux is disabled on the two machines used for this test but iptables is running - with a rather permissive and simple ruleset, passing all UDP traffic to the relevant ports between the machines. I'm a bit confused as to how an identical rtcpinterval configured on the two machines would somehow cause iptables to hiccup, because as stated I can solve the problem by just increasing or decreasing the rtcpinterval on *one* of the Asterisks with f.e. 500ms. I will perform a few more tests in the coming days, with iptables out of the picture, and let you know how that went.


was (Author: speeddialdave):
[~jcolp], SELinux is disabled on the two machines used for this test but iptables is running - with a rather permissive and simple ruleset, passing all UDP traffic to the relevant ports between the machines. I'm a bit confused as to how an identical rtcpinterval configured on the two machines would somehow cause iptables to hiccup, because as stated I can solve the problem by just increasing or decreasing the interval on *one* of the machines with f.e. 500ms. I will perform a few more tests in the coming days, with iptables out of the picture, and let you know how that went.

> Ast-to-Ast setup using the same rtcpinterval crashes RTCP and audio stream
> --------------------------------------------------------------------------
>
>                 Key: ASTERISK-28342
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28342
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 16.2.1
>         Environment: CentOS 7 (7.6-1810 x86_64)
>            Reporter: Speed Dial Dave
>            Assignee: Unassigned
>            Severity: Minor
>              Labels: pjsip
>
> When stress-testing PJSIP and Asterisk 16.2.1 by doing direct calls between two identically configured Asterisk setups (over both WAN and LAN) I noticed a specific error message that kept showing up in the logs:
> res_rtp_asterisk.c: RTCP SR transmission error to 1.2.3.4:12345, rtcp halted Operation not permitted
> This started showing up when my tests reached about 200 simultaneously connected calls between the two Asterisk setups. At this level, after a total of 15k calls, the error showed up about 70-80 times on the Asterisk doing the dialing, and about 10-15 times on the one receiving the calls; at ~350 simultaneous calls the number of errors was much higher. When this error popped up the outgoing audio stream ("us") also dropped out from the affected calls, but the channels didn't crash and the calls kept going and finalized normally without any other apparent error.
> As "operation not permitted"/EPERM should be a permission error I first fiddled around with increasing various ulimits as I thought it was some resource starvation, but without luck. After experimenting with various config changes for Asterisk I at one point had different rtcpinterval (rtp.conf) values on the two machines - one was set to 3000 and the other to 6000 - and this completely cleared the problem. Running my test several times more with the two machines having an rtcpinterval difference of only 500 I couldn't get the error to show up again, even when stepping it up to 600 simultaneous calls.



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



More information about the asterisk-bugs mailing list