# How to enable video in Asterisk 22

**URL:** <https://community.asterisk.org/t/how-to-enable-video-in-asterisk-22/106972>\
**Category:** Asterisk SIP\
**Created:** [February 15, 2025, 1:40pm UTC](https://community.asterisk.org/t/how-to-enable-video-in-asterisk-22/106972 "2025-02-15T13:40:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmitriano](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/dmitriano/32/8769_2.png) [@dmitriano](https://community.asterisk.org/u/dmitriano)\
**Post date:** [February 15, 2025, 1:40pm UTC](https://community.asterisk.org/t/how-to-enable-video-in-asterisk-22/106972/1 "2025-02-15T13:40:17Z")

</div>

I tried to add the following to endpoints configuration in my `pjsip.conf`:

```auto
allow=h263p
allow=h263
allow=h264
allow=vp8

```

and tried to make a video call, but the video was not displayed, but there was only the sound, see [here](https://developernote.com/2025/02/my-first-attempt-to-make-a-video-call-with-pjsip/) for more details and [logs](https://developernote.com/wp-content/uploads/2025/02/logCA-video1.txt). See the full configuration on [GitHub](https://github.com/dmitriano/DockerLemp/tree/master/asterisk/etc/asterisk).

The command

`core show channeltype PJSIP`

does not display video codecs:

```auto
-- Info about channel driver: PJSIP --
  Device State: yes
Presence State: no
    Indication: yes
     Transfer : yes
  Capabilities: (codec2|g723|ulaw|alaw|gsm|g726|g726aal2|adpcm|slin|slin12|slin16|slin24|slin32|slin44|slin48|slin96|slin192|lpc10|g729|speex|speex16|speex32|ilbc|g722|siren7|siren14|g719|opus|silk8|silk12|silk16|silk24)
   Digit Begin: yes
     Digit End: yes
    Send HTML : no
 Image Support: no
  Text Support: yes

```

What does it mean?

Should I add the codecs to `chan_pjsip` as mentioned [here](https://community.asterisk.org/t/pjsip-video-configuration/82415/3)?

Should I create `chan_pjsip.conf` or do something else?

---

<div class="post-metadata">

**Author:** ![penguinpbx](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/penguinpbx/32/8856_2.png) [@penguinpbx](https://community.asterisk.org/u/penguinpbx)\
**Post date:** [March 16, 2025, 1:00am UTC](https://community.asterisk.org/t/how-to-enable-video-in-asterisk-22/106972/2 "2025-03-16T01:00:48Z")

</div>

> [@dmitriano](#):
>
> What does it mean?

Doesn’t seem like the issue here. (Although it would be nice if some video codec information was displayed in that output.)

Probably the more interesting codec output from your endpoints would be the “allow” line from:

`pjsip show endpoint 1234`

As for video codecs to allow, vp8 and h264 should be sufficient. Generally, what you might consider, is starting out with the smallest configuration possible, and then expand from there.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [April 15, 2025, 1:01am UTC](https://community.asterisk.org/t/how-to-enable-video-in-asterisk-22/106972/3 "2025-04-15T01:01:22Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
