Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-11636

mod_say_de.c bug when SST_CURRENT_DATE_TIME is used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 20.19.2, 1.8.6
    • Component/s: mod_say_en
    • Labels:
      None
    • Environment:
      Debian
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      1.6.20
    • GIT Master Revision hash::
      1.6
    • Target Version:

      Description

      The date is not spoken when CURRENT_DATE_TIME is used and the language is german.

      At
      case SST_CURRENT_DATE_TIME in mod_say_de.c
      the variable say_date and set_time are set to 1

      But the if clause

      if (say_date)

      { say_dow = say_day = say_month = say_year = 1; say_today = say_yesterday = 0; }

      is placed behind the evaluation of the variables !!!

      It should be directly placed behind the

      switch (say_args->type) {

      }

      construct.
      Then the date is processed.

      Btw.: the module mod_say_de is not available here in jira!

        Attachments

          Activity

            People

            • Assignee:
              dragos_oancea Dragos Oancea
              Reporter:
              ednt_gmbh Bernd Krüger-Knauber
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: