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

Confusing output in avmd log on avmd stop command

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.18
    • Fix Version/s: 1.6.20
    • Component/s: mod_avmd
    • Labels:
      None
    • Environment:
      All
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      not specified
    • GIT Master Revision hash::
      not specified
    • Target Version:

      Description

      This has been reported by Tomas Bajarunas on mod_avmd page:

      "
      Here is console output:
      ------------------------------
      freeswitch@ip-172-30-13-241> uuid_buglist 85f6990e-e3b3-463c-8765-ae645336259c
      <media-bugs>
      </media-bugs>
       
      freeswitch@ip-172-30-13-241> avmd 85f6990e-e3b3-463c-8765-ae645336259c start
      +OK
       [85f6990e-e3b3-463c-8765-ae645336259c] [sofia/internal/1234@192.168.175.140] started!
       
       
      2017-07-12 01:17:02.428332 [INFO] mod_avmd.c:372 Avmd session initialized, [8000] samples/s
      2017-07-12 01:17:02.428332 [DEBUG] switch_core_media_bug.c:828 Attaching BUG to sofia/internal/1234@192.168.175.140
      2017-07-12 01:17:02.428332 [INFO] mod_avmd.c:1520 Avmd on channel [sofia/internal/1234@192.168.175.140] started!
      2017-07-12 01:17:02.468346 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMU:0
      freeswitch@ip-172-30-13-241> uuid_buglist 85f6990e-e3b3-463c-8765-ae645336259c
      <media-bugs>
       <media-bug>
        <function>avmd</function>
        <target>N/A</target>
        <thread-locked>0</thread-locked>
       </media-bug>
      </media-bugs>
       
      freeswitch@ip-172-30-13-241> avmd 85f6990e-e3b3-463c-8765-ae645336259c stop
      +OK
       [85f6990e-e3b3-463c-8765-ae645336259c] [sofia/internal/1234@192.168.175.140] stopped
       
       
      2017-07-12 01:17:14.668350 [DEBUG] switch_core_media_bug.c:1198 Removing BUG from sofia/internal/1234@192.168.175.140
      2017-07-12 01:17:14.668350 [ERR] mod_avmd.c:495 Error, avmd session object not found in media bug!
      2017-07-12 01:17:14.668350 [INFO] mod_avmd.c:1419 Avmd on channel [sofia/internal/1234@192.168.175.140] stopped!
      freeswitch@ip-172-30-13-241> uuid_buglist 85f6990e-e3b3-463c-8765-ae645336259c
      <media-bugs>
      </media-bugs>
      ------------------------------
       
      The issue I want to point is that even when media bug is successfully removed, and everything seems to be working ok, we do see an error logged.
      "

        Attachments

          Activity

            People

            • Assignee:
              piotrgregor Piotr Gregor
              Reporter:
              piotrgregor Piotr Gregor
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: