Details

    • Type: Bug Bug
    • Status: Closed
    • Severity: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.1.0
    • Target Release Version/s: 13.17.0, 14.6.0, 15.0.0
    • Component/s: PBX/pbx_realtime
    • Security Level: None
    • Labels:
      None
    • Environment:
      Debian wheezy with 3.1.0 custom kernel
    • Frequency of Occurrence:
      Constant

      Description

      When user hangs up during playing audio files in Background used in realtime extensions with postgres I am getting this log on the console:
      [Feb  1 23:04:54] ERROR[4831]: res_config_pgsql.c:166 _pgsql_exec: PostgreSQL RealTime: Failed to query 'extensions_conf@asterisk'.
      [Feb  1 23:04:54] ERROR[4831]: res_config_pgsql.c:167 _pgsql_exec: PostgreSQL RealTime: Query Failed: SELECT * FROM extensions_conf WHERE exten LIKE '�%' AND context = 'Ivr-main' AND priority = '1'
      [Feb  1 23:04:54] ERROR[4831]: res_config_pgsql.c:168 _pgsql_exec: PostgreSQL RealTime: Query Failed because: ERROR:  postgres invalid byte sequence for encoding "UTF8": 0xff
       (PGRES_FATAL_ERROR)
      In never happend during execution of other applications in realtime; always in Background.

      1. dialplan_extensions_conf.txt
        2 kB
        Andrew Nowrot
      2. issue_19291_full_log
        83 kB
        Andrew Nowrot

        Activity

        Hide
        Matt Jordan added a comment -

        I've acknowledged this as an issue to move this into the Open status. Please keep in mind that realtime extensions is in extended support, which means that support for it primarily comes from the Asterisk Developer community. Response times may reflect that.

        https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States

        Show
        Matt Jordan added a comment - I've acknowledged this as an issue to move this into the Open status. Please keep in mind that realtime extensions is in extended support, which means that support for it primarily comes from the Asterisk Developer community. Response times may reflect that. https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States
        Hide
        Walter Doekes added a comment -

        Andrew, if you add a #define NEED_DEBUG_HERE at the top of main/pbx.c, like this:

        --- main/pbx.c	(revision 362353)
        +++ main/pbx.c	(working copy)
        @@ -1,3 +1,4 @@
        +#define NEED_DEBUG_HERE
         /*
          * Asterisk -- An open source telephony toolkit.
          *
        

        and reupload a debug log with the new information, that might provide the needed clues for a quick fix.

        Show
        Walter Doekes added a comment - Andrew, if you add a #define NEED_DEBUG_HERE at the top of main/pbx.c, like this: --- main/pbx.c (revision 362353) +++ main/pbx.c (working copy) @@ -1,3 +1,4 @@ +#define NEED_DEBUG_HERE /* * Asterisk -- An open source telephony toolkit. * and reupload a debug log with the new information, that might provide the needed clues for a quick fix.
        Hide
        Friendly Automation added a comment -

        Change 5746 merged by Jenkins2:
        pbx_builtin: Properly handle hangup during Background

        https://gerrit.asterisk.org/5746

        Show
        Friendly Automation added a comment - Change 5746 merged by Jenkins2: pbx_builtin: Properly handle hangup during Background https://gerrit.asterisk.org/5746
        Hide
        Friendly Automation added a comment -

        Change 5748 merged by Joshua Colp:
        pbx_builtin: Properly handle hangup during Background

        https://gerrit.asterisk.org/5748

        Show
        Friendly Automation added a comment - Change 5748 merged by Joshua Colp: pbx_builtin: Properly handle hangup during Background https://gerrit.asterisk.org/5748
        Hide
        Friendly Automation added a comment -

        Change 5747 merged by Joshua Colp:
        pbx_builtin: Properly handle hangup during Background

        https://gerrit.asterisk.org/5747

        Show
        Friendly Automation added a comment - Change 5747 merged by Joshua Colp: pbx_builtin: Properly handle hangup during Background https://gerrit.asterisk.org/5747

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development