[asterisk-users] Playing Recorded .H263 files in Asterisk

Sharan Saxena ssaxena at devfoundry.com
Wed Jun 18 04:02:09 CDT 2008


Dear Users,
           I have been struggling to play .H263 files in Asterisk (1.6-beta
version) for a long while. In my dial-plan, I use:

exten=> 600,n,Record(/tmp/new.wav,2,1000)

to record a video call from the softphone Bria. This creates a .wav and a
.h263 file.

When I use 

exten=> 600,n,Playback(/tmp/new)

only the audio plays. Asterisk says: File /tmp/new has video but couldn't be
opened. The video fails to play.

I configure my sip.conf as:

[general]
				
disallow=all			; First disallow all codecs
allow=ulaw
allow=gsm
allow=alaw
allow=h263

videosupport=yes	

[600]
type=friend
secret=600
username=600
host=dynamic
videosupport=yes
port=5060
context=default
disallow=all
allow=gsm
allow=ulaw
allow=alaw
allow=h263

Thanks very much for your help,
Regards
Sharan




More information about the asterisk-users mailing list