<html><head><style type='text/css'>p { margin: 0; }</style><style type='text/css'>body { font-family: 'Times New Roman'; font-size: 12pt; color: #000000}</style></head><body><BR>----- Forwarded Message -----<BR>From: "Durgesh Mishra" <durgesh.mishra@rancoretech.com><BR>To: "asterisk-users" <asterisk-users@lists.digium.com><BR>Sent: Wednesday, December 21, 2011 10:36:06 AM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi<BR>Subject: Help_video call not run<BR><BR>
<STYLE>p { margin: 0; }</STYLE>
<STYLE>body { font-family: 'Times New Roman'; font-size: 12pt; color: #000000}</STYLE>
<BR><BR><BR>
<STYLE>p { margin: 0; }</STYLE>
<STYLE>body { font-family: 'Times New Roman'; font-size: 12pt; color: #000000}</STYLE>
<P>Hi all</P>
<P> </P>
<P>In sip.conf</P>
<P>i take as </P>
<P>[general]</P>
<P>videosupport=yes</P>
<P> </P>
<P> </P>
<P>[phone1]<BR>type=friend<BR>host=dynamic<BR>context= employees<BR>disallow=all<BR>allow=ilbc<BR>allow=g729<BR>allow=gsm<BR>allow=g723<BR>allow=ulaw<BR>allow=alaw<BR>allow=adpcm<BR>allow=h263p<BR>allow=h264<BR>allow=h263</P>
<P>[phone2]<BR> type=friend<BR>host=dynamic<BR>context= employees<BR>disallow=all<BR>allow=ilbc<BR>allow=g729<BR>allow=gsm<BR>allow=g723<BR>allow=ulaw<BR>allow=alaw<BR>allow=adpcm<BR>allow=h263p<BR>allow=h261<BR>allow=h263</P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P>in extension.conf</P>
<P>[employees]</P>
<P>exten => 101,1,Dial(SIP/phone1,10)</P>
<P>exten => 102,1,Playback(song2_check)</P>
<P></P>
<P> </P>
<P> </P>
<P>in /var/lib/asterisk/sounds/en</P>
<P>i store song2_check file(which is video file ,which has audio format MPEG Layer 3)</P>
<P> </P>
<P><STRONG>i check in /var/lib/asterisk/sounds/en</STRONG></P>
<P><STRONG>its shows as</STRONG></P>
<P><STRONG>-rw-r--r-- 1 root root 89726486 Dec 20 10:18 song_check.mp4</STRONG></P>
<P><STRONG> </STRONG></P>
<P><STRONG>i check codecs of file through VLC player , its shows as its codec is using is H264.</STRONG></P>
<P> </P>
<P>i check through cli </P>
<P>core show codecs</P>
<P> :::::::::::::::::::::::::</P>
<P> 131072 (1 << 17) (0x20000) image png (PNG image)<BR> 262144 (1 << 18) (0x40000) video h261 (H.261 Video)<BR> 524288 (1 << 19) (0x80000) video h263 (H.263 Video)<BR> 1048576 (1 << 20) (0x100000) video h263p (H.263+ Video)<BR> 2097152 (1 << 21) (0x200000) video h264 (H.264 Video)<BR> 4194304 (1 << 22) (0x400000) video mpeg4 (MPEG4 Video)</P>
<P> :::::::::::::::::::::::::::::::::::::::::::::::</P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P>i dial 102 from 101 ----<BR> phone 101(xlite) has following codec support for H623 H623+</P>
<P> </P>
<P>check log as </P>
<P>[Dec 20 18:38:01] WARNING[10533] file.c: File song2_check does not exist in any format<BR>[Dec 20 18:38:01] WARNING[10533] file.c: Unable to open song2_check (format 0x180400 (ilbc|h263|h263p)): No such file or directory</P>
<P> </P>
<P> </P>
<P>phone1 goes just hung up. no vedio play </P>
<P> </P>
<P>I want to play video file. Plz tell me ,where i am wrong ,and how i can do it.</P>
<P> </P>
<P>thanks</P>
<P> </P>
<P> </P>
<P> </P></body></html>