HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] t38modem and freebsd tty error



Hello...

I also sent this to the h323plus mailing list.  I thought there
might be some C++ coders here that might recognize this error.




I am trying to run t38modem on a freebsd 6.x server (also running
hylafax).  Apparently the t38modem binary cannot attach to the tty
device.

PseudoModemPty::OpenPty tcgetattr ptypa ERROR: Resource temporarily
unavailable

I have tried many different combinations of tty choices and args, but
all fail in the same way.  Am I missing something? Or is this a bug?



I compiled with:
ptlib-v2_0_1-4
 ./configure --enable-openh323
 gmake

h323plus-v1_20_2
 ./configure --enable-t38 
 gmake

t38modem-1.0.1
  gmake optnoshared

[chrismcc@qwip t38modem-1.0.1]$ sudo ./obj_FreeBSD_x86_r/t38modem -p
ttypa --no-gatekeeper  --trace --trace --trace --trace 
T38Modem Version 1.0.1
 by OpenH323 Project on Unix FreeBSD (6.2-RELEASE-p12-i386)

2008/11/25 10:52:15.110	    T38Modem		Version 1.0.1 by OpenH323 Project
on Unix FreeBSD (6.2-RELEASE-p12-i386) at 2008/11/25 10:52:15.111
2008/11/25 10:52:15.111	    T38Modem	T38Modem Version 1.0.1 on Unix
FreeBSD (6.2-RELEASE-p12-i386)
2008/11/25 10:52:15.111	    T38Modem	PWLib	File handle high water mark
set: 8 Thread unblock pipe
2008/11/25 10:52:15.111	    T38Modem	PWLib	Thread high water mark set: 3
2008/11/25 10:52:15.112	    T38Modem	H323	Created endpoint.
2008/11/25 10:52:15.112	    T38Modem	PWLib	File handle high water mark
set: 10 Thread unblock pipe
2008/11/25 10:52:15.112	    T38Modem	PseudoModemList::Append ptypa (0)
OK
2008/11/25 10:52:15.112	    T38Modem	PWLib	Thread high water mark set: 4
2008/11/25 10:52:15.112	    T38Modem	H323	Added capability:
G.711-uLaw-64k <1>
2008/11/25 10:52:15.112	    T38Modem	H323	Added capability:
G.711-ALaw-64k <2>
2008/11/25 10:52:15.112	    T38Modem	H323	Added capability: T.38-UDP <3>
2008/11/25 10:52:15.113	    T38Modem	H323	Added capability:
UserInput/basicString <4>
Codecs (in preference order):
 Table:
   G.711-uLaw-64k <1>
   G.711-ALaw-64k <2>
   T.38-UDP <3>
   UserInput/basicString <4>
 Set:
   0:
     0:
       G.711-uLaw-64k <1>
       G.711-ALaw-64k <2>
       T.38-UDP <3>
       UserInput/basicString <4>

2008/11/25 10:52:15.113	    T38Modem	PWLib	File handle high water mark
set: 12 Thread unblock pipe
2008/11/25 10:52:15.113	    T38Modem	PWLib	File handle high water mark
set: 13 PTCPSocket
2008/11/25 10:52:15.113	    T38Modem	H323	Started listener Listener[ip
$*:1720]
2008/11/25 10:52:15.113	    T38Modem	PWLib	Thread high water mark set: 5
Waiting for incoming calls for "T38Modem v1.0.1"
2008/11/25 10:52:15.114	H323 Liste...er:8363c00	H323	Awaiting TCP
connections on port 1720
2008/11/25 10:52:15.114	H323 Cleaner	H323	Started cleaner thread
2008/11/25 10:52:15.115	ptypa(b):1...:137727488	RenameCurrentThread old
ThreadName=PseudoModemPty:08358c00
2008/11/25 10:52:15.115	ptypa(b):1...:137727488	Started for /dev/ttypa
(accepts all)
2008/11/25 10:52:15.115	H323 Liste...er:8363c00	TCP	Waiting on socket
accept on ip$*:1720
2008/11/25 10:52:15.115	ptypa(b):1...:137727488
MyH323EndPoint::OnMyCallback command=addmodem extra=10
2008/11/25 10:52:15.115	ptypa(b):1...:137727488	PseudoModemQ::Enqueue
ptypa
2008/11/25 10:52:15.115	ptypa(b):1...:137727488
MyH323EndPoint::OnMyCallback request={
command=addmodem
response=confirm
modemtoken=ptypa
}
2008/11/25 10:52:15.115	ptypa(b):1...:137727488	PseudoModemPty::OpenPty
tcgetattr ptypa ERROR: Resource temporarily unavailable
2008/11/25 10:52:15.116	ptypa(b):1...:137727488	Stopped 




-- 
Christopher <chrismcc@xxxxxxxxxxxxxxxx>



____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions