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

Replace core uuid with cc_instance_id taken from callcenter.conf.xml

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.0
    • Component/s: mod_callcenter
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      84540ea857cd189c08103d7c8c21d6420ea8b8b6
    • GIT Master Revision hash::
      84540ea857cd189c08103d7c8c21d6420ea8b8b6

      Description

      Using globals.core_uuid = switch_core_get_uuid(); for member's system field was introduced in FS-9757.
      By default, the system field had the 'single_box' value.
      With the core_uuid it became pseudo unique which is ok until freeswitch restarts. switch_core_get_uuid() returns different values each time freeswitch is loaded. All database data related to that uuid become a garbage not linked to any freeswitch instance.
      We need to declare that uniqueness specifically.
      This is possible having the cc-instance-id variable in the callcenter.conf.xml.
      It is still "single_box" when not set.
      <!--<param name="cc-instance-id" value="single_box"/>-->
      Here is another example (instance specific value is taken from vars.xml):
      <param name="cc-instance-id" value="$${domain}"/>

        Attachments

          Activity

            People

            • Assignee:
              italorossi Italo Rossi
              Reporter:
              andywolk Andrey Volk
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: