[Asterisk-Users] chan_h323 passes no audio?
Tony Mountifield
tony at softins.clara.co.uk
Tue Jul 5 14:48:11 MST 2005
I'm attempting to get chan_h323 working on Asterisk CVS-STABLE.
I've compiled it ok using the Janus release of pwlib/openh323, by
editing the makefile as per the comments.
Call setup and cleardown seems to work fine, but no audio is being
passed in either direction.
Doing an "h.323 trace 9", I noticed the following sequence at the end
of the call setup:
h323.cxx(1685) H225 Handling PDU: Connect callRef=13295
h323.cxx(1925) H225 Set protocol version to 4
h323.cxx(2152) H225 Set remote party name: "root [192.168.0.20]"
h323.cxx(2160) H225 Set remote application name: "The NuFone Network's H.323 Channel Driver for Asterisk 1.0.0 (OpenH323 v1.13.5) 9/61"
h323ep.cxx(1992) H225 Received connect PDU.
h323.cxx(3205) H245 Started control channel
h323neg.cxx(540) H245 TerminalCapabilitySet already sent.
h323.cxx(3962) H323 InternalEstablishedConnectionCheck: connectionState=HasExecutedSignalConnect fastStartState=FastStartDisabled
h323.cxx(4019) H245 Default OnSelectLogicalChannels, FastStartDisabled
h323caps.cxx(1814) H323 FindCapability: G.711-ALaw-64k{sw} <1>
h323caps.cxx(1818) H323 Found capability: G.711-ALaw-64k{sw} <1>
h323.cxx(4066) H323 Selecting G.711-ALaw-64k{sw} <1>
h323neg.cxx(743) H245 Opening channel: T-101
rtp.cxx(1605) RTP_UDP Session 1 created: 192.168.0.1:5000-5001 ssrc=2079793508
rtp.cxx(1398) RTP Adding session RTP_UDP
channels.cxx(1048) H323RTP Transmitter created using session 1
channels.cxx(893) H323RTP OnSendingPDU
h323rtp.cxx(193) RTP OnSendingPDU
codecs.cxx(1271) Codec G711 ALaw encoder created for at 64k, 240 samples
h323ep.cxx(2143) Codec Could not open sound channel "/dev/dsp" for recording:
channels.cxx(1096) LogChan Transmit thread aborted (open fail) for G.711-ALaw-64k{sw} <1>
h323.cxx(4072) H323 OnSelectLogicalChannels, OpenLogicalChannel failed: G.711-ALaw-64k{sw} <1>
Why does it want to open /dev/dsp? I'm not trying to play or record using
a local sound device, I just want to pass digital audio between Asterisk
and the network.
The second machine that I am testing this with, trying to get them to talk
to each other, doesn't have any sound hardware, and the third message from
last reads: Could not open sound channel "" for recording:
I assume it is these errors that are preventing audio from being passed.
Can anyone suggest how I might overcome this to make chan_h323 work?
Thanks
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
More information about the asterisk-users
mailing list