<html><head><style type='text/css'>p { margin: 0; }</style><style type='text/css'>body { font-family: 'Arial'; font-size: 12pt; color: #000000}</style></head><body><P>Hello,</P>
<P>&nbsp;</P>
<P>I am trying to play a video file (H.263 format)&nbsp; using playback() application.</P>
<P><STRONG>extensions.conf:&nbsp;</STRONG></P>
<P>exten=&gt; 102,1,Playback(miss)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; miss.h263 is a video file and its playing in vlc player.</P>
<P>&nbsp;</P>
<P>sip.conf</P>
<P>videosupport = yes ; in general section</P>
<P>&nbsp;</P>
<P>[phone2]<BR>&nbsp;type=friend<BR>host=dynamic<BR>;secret=verysecretpassword2; put a strong, unique password here instead <BR>context= employees<BR>;context= phones<BR>;context= outbound-local<BR><A href="mailto:mailbox=102@default" target=_blank>mailbox=102@default</A><BR>callerid="phone2&lt;102&gt;"<BR><STRONG>videosupport=yes<BR></STRONG>disallow=all<BR>allow=ilbc<BR>allow=g729<BR>allow=gsm<BR>allow=g723<BR>allow=ulaw<BR>allow=alaw<BR>allow=adpcm<BR><STRONG>allow=h263</STRONG><BR>allow=h263p<BR>allow=h261</P>
<P>&nbsp;</P>
<P>I am getting the following warnings upon making a video call through mercuro client:</P>
<P>&nbsp;</P>
<P><FONT color=#3366ff>Dec 23 17:17:18] WARNING[976]: file.c:653 ast_openstream_full: File miss does not exist in any format<BR>[Dec 23 17:17:18] WARNING[976]: file.c:959 ast_streamfile: Unable to open miss (format 0x80004 (ulaw|h263)): No such file or directory<BR>[Dec 23 17:17:18] WARNING[976]: app_playback.c:475 playback_exec: ast_streamfile failed on SIP/phone1-00000000 for miss</FONT></P>
<P><FONT color=#3366ff></FONT>&nbsp;</P>
<P><FONT color=#000000>In function ast_openstream_full in file.c</FONT></P>
<P><FONT color=#3366ff></FONT>&nbsp;</P>
<P>fmts = fileexists_core(filename, NULL, preflang, buf, buflen);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </P>
<P><FONT color=#3333ff>//the&nbsp;value of fmts is coming as 524288 which is correct for h263 codec<BR></FONT>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (fmts &gt; 0)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fmts &amp;= AST_FORMAT_AUDIO_MASK;&nbsp;&nbsp;<FONT color=#3333ff> //#define AST_FORMAT_AUDIO_MASK 0xFFFF0000FFFFULL defined in frame.h</FONT></P>
<P>&nbsp;</P>
<P><FONT color=#3333ff>//The&nbsp;fmts becomes zero after 'and' operation with AST_FORMAT_AUDIO_MASK. First 16 bits&nbsp;are used for handling the audio.&nbsp;It seems that the video support is supressed.<BR></FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (fmts &lt; 1) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ast_log(LOG_WARNING, "File %s does not exist in any format\n", filename);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return NULL;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</P>
<P>&nbsp;</P>
<P>Please find attached the log messages file.</P>
<P>&nbsp;</P>
<P>Kindly tell me the steps/procedure for the video support in asterisk.</P>
<P>&nbsp;</P>
<P>Thanks in advance.</P>
<P><BR>Regards,<BR>Shalu </P><BR></body></html>