PJSIP - SCCP Bridge

Hi all,

Recently upgraded a system to v20.11.1 and having problems with SCCP and PJSIP call bridging. PJSIP endpoiints work fine but res_rtp is giving codec errors, any help appreciated:

-- Channel SCCP/0091654B37EF-00000013 joined 'simple_bridge' basic-bridge <1f854730-7b92-4d6e-99d3-3949981f5368>
-- Channel PJSIP/siptrunk-00000062 joined 'simple_bridge' basic-bridge <1f854730-7b92-4d6e-99d3-3949981f5368>

"res_rtp_asterisk.c:5593 ast_rtp_write: Don't know how to send format ulaw packet"

-- Channel SCCP/0091654B37EF-00000013 left 'simple_bridge' basic-bridge <1f854730-7b92-4d6e-99d3-3949981f5368>
-- Channel PJSIP/siptrunk-00000062 left 'simple_bridge' basic-bridge <1f854730-7b92-4d6e-99d3-3949981f5368>
0091654B37EF

Codecs:

asterisk*CLI> core show codecs
Disclaimer: this command is for informational purposes only.
        It does not indicate anything about your configuration.
      ID TYPE  NAME         FORMAT           DESCRIPTION
------------------------------------------------------------------------------------------------
      30 image png          png              (PNG Image)
       6 audio g726         g726             (G.726 RFC3551)
       4 audio alaw         alaw             (G.711 a-law)
       2 audio g723         g723             (G.723.1)
      20 audio speex        speex            (SpeeX)
      21 audio speex        speex16          (SpeeX 16khz)
      22 audio speex        speex32          (SpeeX 32khz)
      24 audio g722         g722             (G722)
      25 audio siren7       siren7           (ITU G.722.1 (Siren7, licensed from Polycom))
      31 video h261         h261             (H.261 video)
      32 video h263         h263             (H.263 video)
       8 audio adpcm        adpcm            (Dialogic ADPCM)
      35 video h265         h265             (H.265 video)
      43 audio silk         silk8            (SILK Codec (8 KHz))
      44 audio silk         silk12           (SILK Codec (12 KHz))
      45 audio silk         silk16           (SILK Codec (16 KHz))
      46 audio silk         silk24           (SILK Codec (24 KHz))
      27 audio g719         g719             (ITU G.719)
      33 video h263p        h263p            (H.263+ video)
      34 video h264         h264             (H.264 video)
      19 audio g729         g729             (G.729A)
       9 audio slin         slin             (16 bit Signed Linear PCM)
      10 audio slin         slin12           (16 bit Signed Linear PCM (12kHz))
      11 audio slin         slin16           (16 bit Signed Linear PCM (16kHz))
      12 audio slin         slin24           (16 bit Signed Linear PCM (24kHz))
      13 audio slin         slin32           (16 bit Signed Linear PCM (32kHz))
      14 audio slin         slin44           (16 bit Signed Linear PCM (44kHz))
      15 audio slin         slin48           (16 bit Signed Linear PCM (48kHz))
      16 audio slin         slin96           (16 bit Signed Linear PCM (96kHz))
      17 audio slin         slin192          (16 bit Signed Linear PCM (192kHz))
       3 audio ulaw         ulaw             (G.711 u-law)
      18 audio lpc10        lpc10            (LPC10)
      42 audio none         none             (<Null> codec)
      41 image t38          t38              (T.38 UDPTL Fax)
      38 video vp9          vp9              (VP9 video)
      37 video vp8          vp8              (VP8 video)
       5 audio gsm          gsm              (GSM)
      36 video mpeg4        mpeg4            (MPEG4 video)
      23 audio ilbc         ilbc             (iLBC)
      39 text  red          red              (T.140 Realtime Text with redundancy)
      40 text  t140         t140             (Passthrough T.140 Realtime Text)
      28 audio opus         opus             (Opus Codec)
      29 image jpeg         jpeg             (JPEG image)
       7 audio g726aal2     g726aal2         (G.726 AAL2)
       1 audio codec2       codec2           (Codec 2)
      26 audio siren14      siren14          (ITU G.722.1 Annex C, (Siren14, licensed from Polycom))

Any thoughts? Banging head on desk :stuck_out_tongue:

Upgraded from what?

What does this mean? Only if SCCP is involved the issue occurs? If so, that is a third party module outside of the tree.

Replaced an Asterisk 13 system with a fresh install of 20, also tried 18 and can’t seem to get the bridge to work between pjsip and chan_sccp. Works fine on their old Asterisk 13.3.2. Googled and people are saying that have have chan_sccp working fine with 18 and 20.

Just posting should anyone have insights I may have overlooked, or confirmation it works.

Sipttunk is pjsip, pjsip configured endpoints work fine, issue is establishing bridge between sccp/pjsip.

For anyone else having this issue, the problem is with chan_sccp-b itself: