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

502 response sent on codec mismatch

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.19
    • Fix Version/s: 1.6.20
    • Component/s: mod_sofia
    • Labels:
      None
    • Environment:
      Debian 8
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • uname:
      Linux dev-freeswitch01 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • lsb_release:
      Hide
      Distributor ID: Debian
      Description: Debian GNU/Linux 8.9 (jessie)
      Release: 8.9
      Codename: jessie
      Show
      Distributor ID: Debian Description: Debian GNU/Linux 8.9 (jessie) Release: 8.9 Codename: jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      FreeSWITCH (Version 1.6.19 -B-191-384f3c7 64bit) is ready
    • GIT Master Revision hash::
      FreeSWITCH (Version 1.6.19 -B-191-384f3c7 64bit) is ready
    • FSS Support Agreement Customer Number and Company name:
      Stratus Video

      Description

      Codec vars set as follows:

        <X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMU,PCMA,G722,H264,VP8"/>
        <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU,PCMA,G722,H264,VP8"/>

      When calling into a conference using a video client, I get a SIP 502 response from FreeSWITCH when there is a video codec match but not an audio codec match. (SIP client is set for video: H264 and audio: OPUS, GSM)

      If I disable video on the SIP client and try to connect audio-only using the same set of codecs, I get the SIP 488 Incompatible Destination as expected.

      If I disable the audio channel altogether and enable video, I connect video-only.

      In the case where there is an audio codec match but no video codec match, I get an audio-only call as expected.

      Expected behavior in the case where video codecs match but there is no audio codec match is EITHER connect video only or reply with SIP 488, but not SIP 502.

        Attachments

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              stratuswsimon Bill Simon
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: