[asterisk-users] ast_writefile: No such format 'h261', yet h261 is the only video format that works.

David Woodfall dave at dawoodfall.net
Fri Mar 21 15:42:08 CDT 2014


On (21/03/14 15:20), Adrian Serafini <wealwildwon at wombit.com> put forth the proposition:
>On 03/21/2014 02:09 PM, David Woodfall wrote:
>>>H.323 is a communications protocol like SIP.   H261 is a codec like
>>>ulaw or gsm.      You do not need H323 unless you are using the H323
>>>protocol INSTEAD of SIP.
>>
>>I see. In Ekiga video codec window they are listed like:
>>
>>[ ] h261    90kHz H.323. SIP
>
>Ok so your all SIP.  Find the command to show the codecs for your 
>release.  The wiki has info to point you in the right direction.  For 
>old 1.4 releases, I set the codec in the sip.conf file peer. 

This is 11.8.1. The latest that I know of. I have no peers in sip.conf
since I only want it for conferencing.

I have checked the wiki and I /seem/ to be doing everything correctly.

sip.conf:

[general]
alwaysauthreject=yes
canreinvite=yes
Qualify=yes
allowguest=yes
context=incoming
allowsubscribe=yes
dtmfmode=auto
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
udpbindaddr=0.0.0.0
transport=udp
srvlookup=yes
limitonpeers=no
videosupport=yes
textsupport=yes
callevents=yes
notifyringing=yes
notifyhold=yes
registertimeout=60
limitonpeers=yes
call-limit=100
localnet=10.128.0.0/255.255.0.0
externhost=dev.somewhereelse.org
mailbox=dave
;musiconhold=custom
;preferred_codec_only=yes
disallow=all
allow=alaw
allow=ulaw
allow=gsm
allow=speex
allow=h261
allow=h263
allow=h263p
allow=h264

extensions:
[general]
static=yes
writeprotect=yes
autofallthrough=yes

[incoming]
exten => 1234,1,NoOp(${CALLERID(name)})
exten => 1234,n,Answer()
exten => 1234,n,GotoIf($["${CALLERID(name)}" = "Slackhead"]?admin)
exten => 1234,n,ConfBridge(1234)
exten => 1234,n,Hangup()
exten => 1234,n(admin),ConfBridge(1234,,admin)
exten => 1234,n,Hangup()

exten => 600,1,Answer()
exten => 600,n,Echo()
exten => 600,n,Hangup()

confbridge:
[general]

[default_bridge]
type=bridge
max_members=20
mixing_interval=10
internal_sample_rate=auto
record_conference=no
video_mode=follow_talker

[default_user]
type=user
announce_user_count_all=yes
announce_join_leave=yes
dsp_drop_silence=yes
denoise=yes
pin=5555




More information about the asterisk-users mailing list