Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
dave at dawoodfall.net
Guest





PostPosted: Fri Mar 21, 2014 11:39 am    Post subject: [asterisk-users] ast_writefile: No such format 'h261', yet h Reply with quote

Built asterisk 11.8.1 on a Debian VPS. Testing using ekiga.

If h261 is checked in ekiga's video format list I have video, and
mouse over the video window shows it to be using h261.

But then I get the following lines a dozen or more times in the CLI:

[Mar 21 16:25:32] WARNING[31818][C-00000010]: file.c:1241
ast_writefile: No such format 'h261'

The problem is that I can't seem to get h263 or h264 to show video.
They are checked in 'make menuconfig'.

./configure output shows h323.h to be missing.
If I install everything I can find to do with h323 using apt-get then
configure throws an error about not finding ptlib-config and halts.

I did search for this ptlib-config and found some old ML posts
reporting the same thing. I didn't find a cure though unfortunately.

I tried installing ptlib and openh323 from source but make in ptlib
errored out with something that I couldn't fathom out.

Any help/suggestions greatly appreciated.

-Dave


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
wealwildwon at wombit.com
Guest





PostPosted: Fri Mar 21, 2014 12:28 pm    Post subject: [asterisk-users] ast_writefile: No such format 'h261', yet h Reply with quote

Quote:
If h261 is checked in ekiga's video format list I have video, and

Quote:
[Mar 21 16:25:32] WARNING[31818][C-00000010]: file.c:1241
ast_writefile: No such format 'h261'

Ekiga can do SIP. Maybe try that? And set/prioritize the codec in
ekiga to desired codec, not h261.

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
dave at dawoodfall.net
Guest





PostPosted: Fri Mar 21, 2014 12:37 pm    Post subject: [asterisk-users] ast_writefile: No such format 'h261', yet h Reply with quote

On (21/03/14 13:2Cool, Adrian Serafini <wealwildwon@wombit.com> put forth the proposition:
Quote:

Quote:
If h261 is checked in ekiga's video format list I have video, and

Quote:
[Mar 21 16:25:32] WARNING[31818][C-00000010]: file.c:1241
ast_writefile: No such format 'h261'

Ekiga can do SIP. Maybe try that? And set/prioritize the codec in
ekiga to desired codec, not h261.

I am using SIP. I've tried all sorts of ordering/checking/unchecking.
The problem seems to be related to not having h323 installed.

-Dave

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
EWieling at nyigc.com
Guest





PostPosted: Fri Mar 21, 2014 12:51 pm    Post subject: [asterisk-users] ast_writefile: No such format 'h261', yet h Reply with quote

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.

-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of David Woodfall
Sent: Friday, March 21, 2014 1:37 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] ast_writefile: No such format 'h261', yet h261 is the only video format that works.

On (21/03/14 13:2Cool, Adrian Serafini <wealwildwon@wombit.com> put forth the proposition:
Quote:

Quote:
If h261 is checked in ekiga's video format list I have video, and

Quote:
[Mar 21 16:25:32] WARNING[31818][C-00000010]: file.c:1241
ast_writefile: No such format 'h261'

Ekiga can do SIP. Maybe try that? And set/prioritize the codec in
ekiga to desired codec, not h261.

I am using SIP. I've tried all sorts of ordering/checking/unchecking.
The problem seems to be related to not having h323 installed.

-Dave


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
dave at dawoodfall.net
Guest





PostPosted: Fri Mar 21, 2014 1:10 pm    Post subject: [asterisk-users] ast_writefile: No such format 'h261', yet h Reply with quote

Quote:
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
etc.

Which is what I'm going by. The address that I'm connecting to /is/ a
sip: address. I assumed from the 'H.323' that it was needed. If that's
not the case, then something else is missing for the codecs to not be
built.

-Dave

Quote:
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of David Woodfall
Sent: Friday, March 21, 2014 1:37 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] ast_writefile: No such format 'h261', yet h261 is the only video format that works.

On (21/03/14 13:2Cool, Adrian Serafini <wealwildwon@wombit.com> put forth the proposition:
Quote:

Quote:
If h261 is checked in ekiga's video format list I have video, and

Quote:
[Mar 21 16:25:32] WARNING[31818][C-00000010]: file.c:1241
ast_writefile: No such format 'h261'

Ekiga can do SIP. Maybe try that? And set/prioritize the codec in
ekiga to desired codec, not h261.

I am using SIP. I've tried all sorts of ordering/checking/unchecking.
The problem seems to be related to not having h323 installed.

-Dave


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
wealwildwon at wombit.com
Guest





PostPosted: Fri Mar 21, 2014 2:21 pm    Post subject: [asterisk-users] ast_writefile: No such format 'h261', yet h Reply with quote

On 03/21/2014 02:09 PM, David Woodfall wrote:
Quote:
Quote:
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. Also try
another SIP video phone maybe on android?

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
dave at dawoodfall.net
Guest





PostPosted: Fri Mar 21, 2014 3:07 pm    Post subject: [asterisk-users] ast_writefile: No such format 'h261', yet h Reply with quote

On (21/03/14 15:20), Adrian Serafini <wealwildwon@wombit.com> put forth the proposition:
Quote:
On 03/21/2014 02:09 PM, David Woodfall wrote:
Quote:
Quote:
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. Also try
another SIP video phone maybe on android?

core show codecs shows all 4 loaded:

200001 video h261 (H.261 Video)
200002 video h263 (H.263 Video)
200003 video h263p (H.263+ Video)
200004 video h264 (H.264 Video)

Unfortunately my android phone only has a camera on the back so it is
useless for video conferencing. I will give linphone a try to see if
it's any better.


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
dave at dawoodfall.net
Guest





PostPosted: Fri Mar 21, 2014 3:28 pm    Post subject: [asterisk-users] ast_writefile: No such format 'h261', yet h Reply with quote

On (21/03/14 20:07), Dave Woodfall <dave@dawoodfall.net> put forth the proposition:
Quote:
On (21/03/14 15:20), Adrian Serafini <wealwildwon@wombit.com> put forth the proposition:
Quote:
On 03/21/2014 02:09 PM, David Woodfall wrote:
Quote:
Quote:
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.
Also try another SIP video phone maybe on android?

core show codecs shows all 4 loaded:

200001 video h261 (H.261 Video)
200002 video h263 (H.263 Video)
200003 video h263p (H.263+ Video)
200004 video h264 (H.264 Video)

Unfortunately my android phone only has a camera on the back so it is
useless for video conferencing. I will give linphone a try to see if
it's any better.

Well linphone doesn't help. It doesn't even see my video device...

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
dave at dawoodfall.net
Guest





PostPosted: Fri Mar 21, 2014 3:42 pm    Post subject: [asterisk-users] ast_writefile: No such format 'h261', yet h Reply with quote

On (21/03/14 15:20), Adrian Serafini <wealwildwon@wombit.com> put forth the proposition:
Quote:
On 03/21/2014 02:09 PM, David Woodfall wrote:
Quote:
Quote:
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


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services