Asterisk 1.8.32.3 : No Video (h.264)

Home » Asterisk Users » Asterisk 1.8.32.3 : No Video (h.264)
Asterisk Users 7 Comments

Hello

using asterisk 1.8.32.3

I am not able to make a call with video support. I do not know what I am missing to make this video call.

Codec h264 should be supported.

sip*CLI> core show codecs Disclaimer: this command is for informational purposes only.
It does not indicate anything about your configuration.
INT BINARY HEX TYPE NAME
DESCRIPTION
———————————————————————————

7 thoughts on - Asterisk 1.8.32.3 : No Video (h.264)

  • Hello

    you mean while placing a video call ? What info am I looking for in the debug output ?

    Kind regards.

    J.

  • From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jonas Kellens Sent: Friday, April 21, 2017 10:18 AM
    To: Asterisk Users Mailing List – Non-Commercial Discussion
    Subject: Re: [asterisk-users] Asterisk 1.8.32.3 : no video (h.264)

    Hello

    you mean while placing a video call ? What info am I looking for in the debug output ?

    Kind regards.

    J.

    Why not try removing all codecs from the SIP Peer (deny all, allow only H264), unregister the peer, and try a video call again? If it works, try adding G711 back but keep H264 at the top of the priority.

  • Hello

    this is the debug output of a test video call. You see codec negotiation but at the end only alaw is chosen and gone is the video !

    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: *** Our native formats are
    0x8 (alaw)
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: *** Joint capabilities are
    0x8 (alaw)
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: *** Our capabilities are
    0x20010a (gsm|alaw|g729|h264)
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: *** AST_CODEC_CHOOSE formats are 0x8 (alaw)
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: *** Our preferred formats from the incoming channel are 0x8 (alaw)
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: This channel can handle video! HOLLYWOOD next!

    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: This call needs video offers!
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: ** Our capability: 0x20000a
    (gsm|alaw|h264) Video flag: False Text flag: False
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: ** Our prefcodec: 0x8 (alaw)
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: — Done with adding codecs to SDP
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: Done building SDP. Settling with this capability: 0x20000a (gsm|alaw|h264)

    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: Initializing initreq for method INVITE – callid 6ca7f3fb70b56f6f6f9373b776cd495d@11.22.33.44:5060
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: Header 0 [ 54]: INVITE
    sip:sipaccount12@192.168.1.111:50104;ob SIP/2.0
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: Header 1 [ 65]: Via:
    SIP/2.0/UDP 11.22.33.44:5060;branch=z9hG4bK54e24150;rport
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: Header 2 [ 16]:
    Max-Forwards: 70
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: Header 3 [ 62]: From: “My Account” ;tag=as130bc3f0
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: Header 4 [ 45]: To:

    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: Header 5 [ 37]: Contact:

    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: Header 6 [ 61]: Call-ID:
    6ca7f3fb70b56f6f6f9373b776cd495d@11.22.33.44:5060
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: Header 7 [ 16]: CSeq: 102
    INVITE
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: Header 8 [ 21]: User-Agent:
    mydomain
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: Header 9 [ 35]: Date: Mon,
    26 Jun 2017 12:20:55 GMT
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: Header 10 [ 90]: Allow:
    INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: Header 11 [ 19]: Supported:
    replaces
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: Header 12 [ 42]: Alert-Info:
    <http://127.0.0.1>;info=intern
    [Jun 26 14:20:55] DEBUG[28609] chan_sip.c: Header 14 [ 29]:
    Content-Type: application/sdp

    [Jun 26 14:20:57] DEBUG[1932] chan_sip.c: Header 0 [ 14]: SIP/2.0 200 OK
    [Jun 26 14:20:57] DEBUG[1932] chan_sip.c: Header 1 [ 94]: Via:
    SIP/2.0/UDP
    11.22.33.44:5060;rportP60;received.22.33.44;branch=z9hG4bK54e24150
    [Jun 26 14:20:57] DEBUG[1932] chan_sip.c: Header 2 [ 61]: Call-ID:
    6ca7f3fb70b56f6f6f9373b776cd495d@11.22.33.44:5060
    [Jun 26 14:20:57] DEBUG[1932] chan_sip.c: Header 3 [ 62]: From: “My Account” ;tag=as130bc3f0
    [Jun 26 14:20:57] DEBUG[1932] chan_sip.c: Header 4 [ 76]: To:
    ;tag

  • For those never getting a decend answer by the community on this mailinglist, I share my solution to my video problem :

    preferred_codec_only=no

    (I had this on ‘yes’)

    Op 26-06-17 om 14:43 schreef Jonas Kellens: