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

sofia_send_callee_id() should not always default name to number

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.8.1
    • Component/s: mod_sofia
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      ad3715d4be28012aea0d75ab67cff8623aededbc
    • GIT Master Revision hash::
      ad3715d4be28012aea0d75ab67cff8623aededbc
    • Target Version:

      Description

      In some scenarios the `display` field of callee-id should be left empty. Currently sofia_send_callee_id() in src/mod/endpoints/mod_sofia/sofia.c does (in two places):

                      if (zstr(name)) {
                              name = number;
                      }

      There should be a way to disable this default behavior at runtime.

      (Reporting this also so that people who have this issue when interop'ing with MetaSwitch know how to correct it. This is present in FS 1.2 which we used in production -- I worked around by removing the matching six lines and recompiling --, and I just checked and the code in current master still reads the same.)

        Attachments

          Activity

            People

            • Assignee:
              tc Travis Cross
              Reporter:
              stephalnet St├ęphane Alnet
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: