Menu

t38modem 2.0 can't create modem

Help
Armyanin
2011-05-26
2013-05-28
  • Armyanin

    Armyanin - 2011-05-26

    Hi, i get last version t38modem + OPAL-24174
    Use make USE_OPAL=1 USE_UNIX_PTY=1 opt
    But? when i try to run it: t38modem -tt -no-sip -n *@192.168.1.250 -p +/dev/ttyx0,+/dev/ttyx1  -h323-bearer-capability 0:16:1:3

    I get some error:
    T38Modem Version 2.0.0
    (OPAL-3.9.0/3.9beta0, PTLIB-2.8.4/2.8.4 (svn:24307)) by Vyacheslav Frolov on Unix Linux (2.6.18-92.el5-i686)

    2011/05/26 14:23:37.943                T38Modem         Version 2.0.0 by Vyacheslav Frolov on Unix Linux (2.6.18-92.el5-i686) with PTLib (v2.8.4 (svn:24307)) at 2011/5/26 14:23:37.942
    2011/05/26 14:23:37.944                T38Modem T38Modem Version 2.0.0 (OPAL-3.9.0/3.9beta0, PTLIB-2.8.4/2.8.4 (svn:24307)) on Unix Linux (2.6.18-92.el5-i686)
    2011/05/26 14:23:37.946                T38Modem Detecting V4L2 devices
    2011/05/26 14:23:37.947                T38Modem Unable to detect v4l2 directory
    2011/05/26 14:23:37.965                T38Modem ModemEndPoint::ModemEndPoint
    2011/05/26 14:23:37.967                T38Modem PseudoModemDrivers::CreateModem +/dev/ttyx0 is not a valid value
    Can't create modem for +/dev/ttyx0
    2011/05/26 14:23:37.968                T38Modem PseudoModemDrivers::CreateModem +/dev/ttyx1 is not a valid value
    Can't create modem for +/dev/ttyx1
    Waiting for incoming H.323 calls from tcp$*:1720,tcps$*:1300
    Disabled SIP protocol
    What's wrong?
    Thx

     
  • Vyacheslav Frolov

    Use make USE_OPAL=1 USE_UNIX_PTY=1 opt

    USE_UNIX98_PTY=1

     
  • Armyanin

    Armyanin - 2011-05-31

    Sorry, I was sealed up.
    I was remove from anywhere old libs ptlib-3.8.4/opal-3.8.4 and recompile again.
    But, i still get some error on faxgetty run:
    ./obj_linux_x86_opal/t38modem -tt -no-sip -n *@192.168.1.250 -p +/dev/ttyT38-1,+/dev/ttyT38-2  -h323-bearer-capability 0:16:1:3 -route "modem: .*=h323:<dn>@127.0.0.1" -route "h323:.*=modem:<dn>"
    2011/05/31 11:43:28.346                T38Modem         Version 2.0.0 by Vyacheslav Frolov on Unix Linux (2.6.18-92.el5-i686) with PTLib (v2.9beta0 (svn:24165)) at 2011/5/31 11:43:28.346
    2011/05/31 11:43:28.347                T38Modem T38Modem Version 2.0.0 (OPAL-3.9.0/3.9beta0, PTLIB-2.9.0/2.9beta0 (svn:24165)) on Unix Linux (2.6.18-92.el5-i686)
    2011/05/31 11:43:28.349                T38Modem Detecting V4L2 devices
    2011/05/31 11:43:28.350                T38Modem Unable to detect v4l2 directory
    2011/05/31 11:43:28.367                T38Modem ModemEndPoint::ModemEndPoint
    Waiting for incoming H.323 calls from tcp$*:1720,tcps$*:1300
    Disabled SIP protocol
    Route table:
      modem: .*=h323:<1002>@127.0.0.1
      h323:.*=modem:<dn>
    2011/05/31 11:43:28.401 ttyT38-1(b…0xb7f4cb90 RenameCurrentThread old ThreadName=PseudoModemPty:0xb7f4cb90
    2011/05/31 11:43:28.402 ttyT38-1(b…0xb7f4cb90 Started for /dev/ttyT38-1 (accepts all)
    2011/05/31 11:43:28.403 ttyT38-1(b…0xb7f4cb90 ModemEndPoint::OnMyCallback command=addmodem extra=10
    2011/05/31 11:43:28.403 ttyT38-1(b…0xb7f4cb90 ModemEndPoint::OnMyCallback request={
    command=addmodem
    response=confirm
    modemtoken=ttyT38-1
    }
    2011/05/31 11:43:28.404 ttyT38-1(b…0xb7f4cb90 PseudoModemPty::OpenPty removed link /dev/ttyT38-1 -> /dev/pts/3
    2011/05/31 11:43:28.405 ttyT38-1(b…0xb7f4cb90 PseudoModemPty::OpenPty added link /dev/ttyT38-1 -> /dev/pts/1
    2011/05/31 11:43:28.406 ttyT38-2(b…0xb7f0bb90 RenameCurrentThread old ThreadName=PseudoModemPty:0xb7f0bb90
    2011/05/31 11:43:28.407 ttyT38-2(b…0xb7f0bb90 Started for /dev/ttyT38-2 (accepts all)
    2011/05/31 11:43:28.408 ttyT38-2(b…0xb7f0bb90 ModemEndPoint::OnMyCallback command=addmodem extra=10
    2011/05/31 11:43:28.409 ttyT38-2(b…0xb7f0bb90 ModemEndPoint::OnMyCallback request={
    command=addmodem
    response=confirm
    modemtoken=ttyT38-2
    }
    2011/05/31 11:43:28.412 ttyT38-2(b…0xb7f0bb90 PseudoModemPty::OpenPty removed link /dev/ttyT38-2 -> /dev/pts/5
    2011/05/31 11:43:28.413 ttyT38-2(b…0xb7f0bb90 PseudoModemPty::OpenPty added link /dev/ttyT38-2 -> /dev/pts/3
    2011/05/31 11:43:28.414 ttyT38-1(e…0xb7e48b90 RenameCurrentThread old ThreadName=ModemEngine:0xb7e48b90
    2011/05/31 11:43:28.415 ttyT38-1(e…0xb7e48b90 <-> Started
    2011/05/31 11:43:28.416 ttyT38-2(e…0xb7d85b90 RenameCurrentThread old ThreadName=ModemEngine:0xb7d85b90
    2011/05/31 11:43:28.416 ttyT38-2(e…0xb7d85b90 <-> Started
    2011/05/31 11:43:28.417 ttyT38-2(i…0xb7d44b90 RenameCurrentThread old ThreadName=InPty:0xb7d44b90
    2011/05/31 11:43:28.418 ttyT38-2(i…0xb7d44b90 -> Started
    2011/05/31 11:43:28.418 ttyT38-2(o…0xb7d03b90 RenameCurrentThread old ThreadName=OutPty:0xb7d03b90
    2011/05/31 11:43:28.419 ttyT38-2(o…0xb7d03b90 <- Started
    2011/05/31 11:43:28.420 ttyT38-1(i…0xb7e07b90 RenameCurrentThread old ThreadName=InPty:0xb7e07b90
    2011/05/31 11:43:28.420 ttyT38-1(i…0xb7e07b90 -> Started
    2011/05/31 11:43:28.421 ttyT38-1(o…0xb7dc6b90 RenameCurrentThread old ThreadName=OutPty:0xb7dc6b90
    2011/05/31 11:43:28.421 ttyT38-1(o…0xb7dc6b90 <- Started

    2011/05/31 11:43:56.398 ttyT38-1(e…0xb7e48b90 -> ATZ
    2011/05/31 11:43:56.400 ttyT38-1(e…0xb7e48b90 <-  {
      0d 0a 4f 4b 0d 0a                                  ..OK.. }
    2011/05/31 11:43:59.508 ttyT38-1(e…0xb7e48b90 -> ATS0=0
    2011/05/31 11:43:59.509 ttyT38-1(e…0xb7e48b90 <-  {
      0d 0a 4f 4b 0d 0a                                  ..OK.. }
    2011/05/31 11:43:59.539 ttyT38-2(e…0xb7d85b90 -> ATZ
    2011/05/31 11:43:59.540 ttyT38-2(e…0xb7d85b90 <-  {
      0d 0a 4f 4b 0d 0a                                  ..OK.. }
    2011/05/31 11:43:59.612 ttyT38-1(e…0xb7e48b90 -> ATE0
    2011/05/31 11:43:59.613 ttyT38-1(e…0xb7e48b90 <-  {
      0d 0a 4f 4b 0d 0a                                  ..OK.. }
    2011/05/31 11:43:59.715 ttyT38-1(e…0xb7e48b90 -> ATV1
    2011/05/31 11:43:59.716 ttyT38-1(e…0xb7e48b90 <-  {
      0d 0a 4f 4b 0d 0a                                  ..OK.. }
    2011/05/31 11:43:59.818 ttyT38-1(e…0xb7e48b90 -> ATQ0
    2011/05/31 11:43:59.818 ttyT38-1(e…0xb7e48b90 <-  {
      0d 0a 4f 4b 0d 0a                                  ..OK.. }
    2011/05/31 11:43:59.920 ttyT38-1(e…0xb7e48b90 -> ATS8=2
    2011/05/31 11:43:59.920 ttyT38-1(e…0xb7e48b90 <-  {
      0d 0a 4f 4b 0d 0a                                  ..OK.. }
    2011/05/31 11:44:00.023 ttyT38-1(e…0xb7e48b90 -> ATS7=60
    2011/05/31 11:44:00.023 ttyT38-1(e…0xb7e48b90 <-  {
      0d 0a 4f 4b 0d 0a                                  ..OK.. }
    2011/05/31 11:44:00.125 ttyT38-1(e…0xb7e48b90 -> AT+FCLASS=?
    2011/05/31 11:44:00.125 ttyT38-1(e…0xb7e48b90 <-  {
      0d 0a 31 2c 38 0d 0a 4f  4b 0d 0a                  ..1,8..OK.. }
    2011/05/31 11:44:00.229 ttyT38-1(i…0xb7e07b90 -> read ERROR -1 Input/output error
    2011/05/31 11:44:00.229 ttyT38-1(i…0xb7e07b90 -> Stopped
    2011/05/31 11:44:00.232 ttyT38-1(o…0xb7dc6b90 <- Stopped
    2011/05/31 11:44:00.233 ttyT38-1(e…0xb7e48b90 <-> Stopped
    2011/05/31 11:44:00.234 ttyT38-1(b…0xb7f4cb90 PseudoModemPty::OpenPty removed link /dev/ttyT38-1 -> /dev/pts/1
    2011/05/31 11:44:00.235 ttyT38-1(b…0xb7f4cb90 PseudoModemPty::OpenPty read ERROR -1 Input/output error
    2011/05/31 11:44:00.237 ttyT38-1(b…0xb7f4cb90 PseudoModemPty::OpenPty added link /dev/ttyT38-1 -> /dev/pts/1
    2011/05/31 11:44:00.238 ttyT38-1(e…0xb7e48b90 RenameCurrentThread old ThreadName=ModemEngine:0xb7e48b90
    2011/05/31 11:44:00.240 ttyT38-1(e…0xb7e48b90 <-> Started
    2011/05/31 11:44:00.241 ttyT38-1(i…0xb7dc6b90 RenameCurrentThread old ThreadName=InPty:0xb7dc6b90
    2011/05/31 11:44:00.242 ttyT38-1(i…0xb7dc6b90 -> Started
    2011/05/31 11:44:00.243 ttyT38-1(o…0xb7e07b90 RenameCurrentThread old ThreadName=OutPty:0xb7e07b90
    2011/05/31 11:44:00.245 ttyT38-1(o…0xb7e07b90 <- Started\

    THX

     

Log in to post a comment.