[asterisk-bugs] [JIRA] (ASTERISK-24393) rtptimeout=0 doesn't disable rtptimout

Alexander Anikin (JIRA) noreply at issues.asterisk.org
Tue Oct 7 02:29:31 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Anikin updated ASTERISK-24393:
----------------------------------------

    Assignee: Rusty Newton  (was: Alexander Anikin)
      Status: Triage  (was: Waiting for Feedback)

Hello,

It's trivial bug in reload_config function:

               } else if (!strcasecmp(v->name, "rtptimeout")) {
                        gRTPTimeout = atoi(v->value);
                        if (gRTPTimeout <= 0)
                                gRTPTimeout = 60;

Must be 'if (gRTPTimeout < 0)' not <=
It's actual only for rtptimeout=0 and only for [general] section.

Will fix it.

> rtptimeout=0 doesn't disable rtptimout
> --------------------------------------
>
>                 Key: ASTERISK-24393
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24393
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Addons/chan_ooh323
>    Affects Versions: 11.10.2
>         Environment: centos 6/x86-64
>            Reporter: Dmitry Melekhov
>            Assignee: Rusty Newton
>            Severity: Minor
>         Attachments: ooh323.conf
>
>
> Hello!
> I have {{rtptimeout=0}} in {{ooh323.conf}}, but just seen this on console:
> {noformat}
> [Oct  6 14:05:46] NOTICE[7230]: chan_ooh323.c:3952 do_monitor: Disconnecting call 'OOH323/192.168.135.251-18' for lack of RTP activity in 61 seconds
> {noformat}
> I though that rtptimeout=0 will disable timeout , because of this code
> {noformat}
> if (h323->rtp && h323->owner && h323->rtptimeout 
> {noformat}
> but looks like for some reason it is not set from config file (may be I mistyped it?) and , unfortunately, ooh323 show config doesn't show rtptimeout value.
> Thank you!



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



More information about the asterisk-bugs mailing list