# Video didn't work from the first time

**URL:** <https://community.asterisk.org/t/video-didnt-work-from-the-first-time/42284>\
**Category:** Asterisk Support\
**Created:** [March 29, 2013, 4:09pm UTC](https://community.asterisk.org/t/video-didnt-work-from-the-first-time/42284 "2013-03-29T16:09:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sinoptik](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@sinoptik](https://community.asterisk.org/u/sinoptik)\
**Post date:** [March 29, 2013, 4:09pm UTC](https://community.asterisk.org/t/video-didnt-work-from-the-first-time/42284/1 "2013-03-29T16:09:48Z")

</div>

HI!  
I try to make video call, but I cant =(

Step 1: Make a call between two users (User1, User2)  
Step 2: I try to switch to a video call on User1, but nothing happens.  
I try again. nothing happens.  
\*Step 3: But if after this!!! I’ll try to switch to the video call on another user(User2) I did it. 😕

INVITE (Step 2):

[code]\<— SIP read from UDP:89.209.100.91:22980 —\>  
INVITE sip:6000444@209.239.114.51:5060 SIP/2.0  
Via: SIP/2.0/UDP 192.168.3.96:22980;rport;branch=z9hG4bK227466744  
From: sip:6000333@vm.intersog.com:22071;tag=1351731604  
To: “Patient” sip:6000444@209.239.114.51;tag=as7db15ebe  
Call-ID: 291853999  
CSeq: 22 INVITE  
Contact: sip:linphone.iphone@89.209.100.91:22980  
Content-Type: application/sdp  
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO  
Max-Forwards: 70  
User-Agent: LinphoneIPhone/2.0.2 (eXosip2/3.6.0)  
Subject: Media change  
Content-Length: 532

v=0  
o=6000333 1786 3814 IN IP4 192.168.3.96  
s=Talk  
c=IN IP4 192.168.3.96  
b=AS:380  
t=0 0  
m=audio 7076 RTP/AVP 120 111 110 0 8 121 9 3 101  
a=rtpmap:120 SILK/16000  
a=rtpmap:111 speex/16000  
a=fmtp:111 vbr=on  
a=rtpmap:110 speex/8000  
a=fmtp:110 vbr=on  
a=rtpmap:121 SILK/24000  
a=rtpmap:9 G722/8000  
a=rtpmap:101 telephone-event/8000  
a=fmtp:101 0-11  
m=video 9078 RTP/AVP 103 102 99  
a=rtpmap:103 VP8/90000  
a=rtpmap:102 H264/90000  
a=fmtp:102 profile-level-id=428014  
a=rtpmap:99 MP4V-ES/90000  
a=fmtp:99 profile-level-id=3  
\<-------------\>[/code]  
Log:

```auto
DEBUG[1238][C-00000352]: chan_sip.c:13001 add_sdp: This call needs video offers, but caller probably did not offer it!
DEBUG[1238][C-00000352]: chan_sip.c:13054 add_sdp: ** Our capability: (gsm|ulaw|g722|h264|mpeg4|vp8) Video flag: False Text flag: True
DEBUG[1238][C-00000352]: chan_sip.c:13055 add_sdp: ** Our prefcodec: (nothing) 
DEBUG[1238][C-00000352]: chan_sip.c:13059 add_sdp: ** Our native-bridge filtered capablity: (gsm|ulaw|g722)
```

Full log: [pastebin.com/whqtkqYb](http://pastebin.com/whqtkqYb)

Why “Video flag: False” if I set “videosupport=yes”??? 😕  
But after few moments I saw in log " chan\_sip.c:13054 add\_sdp: \*\* Our capability: (gsm|ulaw|g722) Video flag: True" Why? 😕 I don’t understand.

Config:  
[6000333]  
secret=\*\*\*  
videosupport=yes  
dtmfmode=rfc2833  
context=webrtc  
host=dynamic  
type=friend  
nat=force\_rport,comedia  
qualify=yes  
allow=vp8,h264,h263p,h263  
callerid=User1 \<6000333\>

[6000444]  
secret=\*\*\*  
videosupport=yes  
dtmfmode=rfc2833  
context=webrtc  
host=dynamic  
type=friend  
nat=force\_rport,comedia  
qualify=yes  
allow=vp8,h264,h263p,h263  
callerid=User2 \<6000444\>

I found path with adding this functional: [lists.digium.com/pipermail/aster … 49150.html](http://lists.digium.com/pipermail/asterisk-commits/2011-May/049150.html)

I understand that the case in the settings, but did’t know what to do. ☹

Please Help  
Thank you!

---

<div class="post-metadata">

**Author:** ![sinoptik](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@sinoptik](https://community.asterisk.org/u/sinoptik)\
**Post date:** [April 10, 2013, 11:55am UTC](https://community.asterisk.org/t/video-didnt-work-from-the-first-time/42284/2 "2013-04-10T11:55:41Z")

</div>

I found this issue: [http://lists.digium.com/pipermail/svn-commits/2011-May/066565.html](http://lists.digium.com/pipermail/svn-commits/2011-May/066565.html)  
I think this is my situation.  
and this bug: [https://issues.asterisk.org/jira/browse/ASTERISK-14139](https://issues.asterisk.org/jira/browse/ASTERISK-14139) is very similar to my case.

Please help to understand how to fix it.  
Thank you.

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [April 10, 2013, 1:44pm UTC](https://community.asterisk.org/t/video-didnt-work-from-the-first-time/42284/3 "2013-04-10T13:44:57Z")

</div>

That bug report says it was fixed in a version that is now obsolete. Either you are using an even more obsolete version, or it is a different bug, or a regression.
