Re: [Opalvoip-user] t38modem: modem stuck after dropped call
Brought to you by:
csoutheren,
rjongbloed
|
From: Lorenzo M. <ma...@uf...> - 2014-10-20 13:18:01
|
> Yes, the original author of t38modem seems to have abandoned the project. You > may want to look at https://github.com/PeteDavidson/t38modem or > https://github.com/hehol/t38modem for more up-to-date source code. Please be > aware t38modem does not work with current versions of OPAL due to > incompatible API changes. Pete has modified the code to compile up to OPAL > version 3.10.11 while I'm still using 3.10.3. Yeah, I've seen Pete's readme and commit. > What compile time options for PTLib, OPAL and t38modem did you use? What > Linux distribution are you running t38modem on? What command line options do > you use for t38modem? Honestly I didn't compile it myself, I'm using Ubuntu packages. I'm on Ubuntu 12.04, but since t38modem package is not available for that distro I manually downloaded packages from 13.10, along with libopal (3.10.10), libpt (2.10.10), libx264 (123.2189). Debian and Ubuntu still use the old 2.x code, with patches to compile with their current version of opal. I'm in debug now, running with: /usr/bin/t38modem --no-h323 --ptty +/dev/ttyT38-1,+/dev/ttyT38-2,+/dev/ttyT38-3,+/dev/ttyT38-4,+/dev/ttyT38-5,+/dev/ttyT38-99 \ --sip-listen udp:5060 --route modem:.*=sip:<dn>@10.10.13.13:5070 --route sip:.*=modem:<dn> -t -o /var/log/t38debug.log --sip-audio G.711-uLaw-64k I tried checking out Pete's sources, but when I try "make opt" it says no rule to make target... I tried building a ubuntu package with Pete's sources, install it on a test server with ubuntu 12.04, but the issue still persist, the modem remains stuck after the dropped call. Hylafax config follows: TagLineFont: etc/lutRS18.pcf TagLineFormat: "From %%l|%c|Page %%P of %%T" MaxRecvPages: 200 ModemType: Class1 ModemFlowControl: rtscts ModemRevQueryCmd: AT+FREV? ModemResetCmds: "AT#CID=10" RingsBeforeAnswer: 2 CallIDPattern: "NMBR = " CallIDPattern: "NAME=" CallIDPattern: "NDID = " ModemDialCmd: ATDF%s FaxRcvdCmd: bin/faxrcvd.php DynamicConfig: bin/dynconf.php UseJobTSI: true Further debug raised the following errors, after a modem crashed. I hope it can help to 2014/10/20 13:36:40.991 ttyT38-5(e...fc256b4700 --> AT+FRH=3 2014/10/20 13:36:47.991 ttyT38-5(e...fc256b4700 Reset state stRecvBegWait 2014/10/20 13:36:47.992 ttyT38-5(e...fc256b4700 ttyT38-5 T38Engine OnResetModemState 2014/10/20 13:36:47.992 ttyT38-5(e...fc256b4700 ttyT38-5 T38Engine T38Engine::OnResetModemState stateModem(4) != stmIdle, reset 2014/10/20 13:36:47.992 ttyT38-5(e...fc256b4700 <-- { 0d 0a 4f 4b 0d 0a ..OK.. } 2014/10/20 13:36:48.095 ttyT38-5(e...fc256b4700 --> ATH0 2014/10/20 13:36:48.096 ttyT38-5(e...fc256b4700 ttyT38-5 T38Engine Detach 2014/10/20 13:36:48.096 ttyT38-5(e...fc256b4700 ttyT38-5 T38Engine OnChangeModemClass to mcUndefined 2014/10/20 13:36:48.096 ttyT38-5(e...fc256b4700 ttyT38-5 T38Engine OnDetach Detached 2014/10/20 13:36:48.096 ttyT38-5(e...fc256b4700 ttyT38-5 T38Engine OnResetModemState 2014/10/20 13:38:01.476 ttyT38-5(i...fc256f5700 --> read ERROR -1 Input/output error 2014/10/20 13:38:01.476 ttyT38-5(i...fc256f5700 --> Stopped 2014/10/20 13:38:01.477 ttyT38-5(o...fc2c062700 <-- Stopped thanks -- Lorenzo Milesi - lor...@ye... YetOpen S.r.l. - http://www.yetopen.it/ |