[asterisk-users] Help_video call not run

Durgesh Mishra durgesh.mishra at rancoretech.com
Wed Dec 21 01:52:46 CST 2011


----- Forwarded Message ----- 
From: "Durgesh Mishra" <durgesh.mishra at rancoretech.com> 
To: "asterisk-users" <asterisk-users at lists.digium.com> 
Sent: Wednesday, December 21, 2011 10:36:06 AM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi 
Subject: Help_video call not run 






Hi all 



In sip.conf 

i take as 

[general] 

videosupport=yes 



                         

[phone1] 
type=friend 
host=dynamic 
context= employees 
disallow=all 
allow=ilbc 
allow=g729 
allow=gsm 
allow=g723 
allow=ulaw 
allow=alaw 
allow=adpcm 
allow=h263p 
allow=h264 
allow=h263 

[phone2] 
 type=friend 
host=dynamic 
context= employees 
disallow=all 
allow=ilbc 
allow=g729 
allow=gsm 
allow=g723 
allow=ulaw 
allow=alaw 
allow=adpcm 
allow=h263p 
allow=h261 
allow=h263 









in extension.conf 

[employees] 

exten => 101,1,Dial(SIP/phone1,10) 

exten => 102,1,Playback(song2_check) 







in /var/lib/asterisk/sounds/en 

i store song2_check file(which is video file ,which has audio format   MPEG Layer 3) 



i check in  /var/lib/asterisk/sounds/en 

its shows as 

-rw-r--r-- 1 root root 89726486 Dec 20 10:18 song_check.mp4 

  

i check codecs of file through VLC player , its shows as its codec is using is H264. 



i check through cli  

core show codecs 

           ::::::::::::::::::::::::: 

            131072 (1 << 17)            (0x20000)  image        png   (PNG image) 
             262144 (1 << 18)            (0x40000)  video       h261   (H.261 Video) 
             524288 (1 << 19)            (0x80000)  video       h263   (H.263 Video) 
            1048576 (1 << 20)           (0x100000)  video      h263p   (H.263+ Video) 
            2097152 (1 << 21)           (0x200000)  video       h264   (H.264 Video) 
            4194304 (1 << 22)           (0x400000)  video      mpeg4   (MPEG4 Video) 

          ::::::::::::::::::::::::::::::::::::::::::::::: 











i dial 102 from 101 ---- 
 phone 101(xlite)  has following codec support for H623 H623+ 



check log as 

[Dec 20 18:38:01] WARNING[10533] file.c: File song2_check does not exist in any format 
[Dec 20 18:38:01] WARNING[10533] file.c: Unable to open song2_check (format 0x180400 (ilbc|h263|h263p)): No such file or directory 





phone1 goes just hung up. no vedio play 



I want to play video file. Plz tell me ,where i am wrong ,and how i can do it. 



thanks 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111221/37aae3c7/attachment.htm>


More information about the asterisk-users mailing list