t38modem error Busy signal detected

"Walid Aweiwi" <[email protected]>
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <[email protected]>
Hello All,

 

I have asterisk 1.4.44 , HylaFAX (tm) Version 6.0.4 , T38Modem Version 2.0.0

(OPAL-3.9.0/3.9beta0, PTLIB-2.9.0/2.9beta0 (svn:24174)) by Vyacheslav Frolov
on Unix Linux (2.6.18-348.1.1.el5-i686)

 

HylaFAX scheduler on ihg.inetfax.ps: Running

Modem ttyT38-2 (HIDDEN_FOR_PRIVACY): Running and idle

Modem ttyT38-1 (HIDDEN_FOR_PRIVACY): Running and idle

Modem ttyT38-3 (HIDDEN_FOR_PRIVACY): Running and idle

 

JID  Pri S  Owner Number       Pages Dials     TTS Status

73   119 S   root 123           0:1   8:12   10:36 Busy signal detected

 

 

 

/bin/t38modem -tt -o /var/log/t38modem.log --no-h323 -u T38modem
--sip-listen udp\$127.0.0.1:6060 --ptty
+/dev/ttyT38-1,+/dev/ttyT38-2,+/dev/ttyT38-3 --route
"modem:.*=sip:<dn>@127.0.0.1" --route "sip:.*=modem:<dn>"

 

 

 

[root@ihg ~]# more /etc/asterisk/sip.conf

[general]

t38pt_udptl=yes

 

[root@ihg ~]# more /etc/asterisk/sip_custom.conf 

[T38modem]

type=friend

host=127.0.0.1

permit=127.0.0.1

context=from-internal

port=6060

allow=all

canreinvite=no

t38pt_udptl=yes

qualify=yes

 

[root@ihg ~]# asterisk -r -x "sip show peers"

Name/username              Host            Dyn Nat ACL Port     Status


321/321                    192.168.100.194  D   N   A  2048     OK (16 ms)


T38modem                   127.0.0.1            N   A  6060     OK (1 ms)


 

 

Call[C255dad678] from modem:T38modem to DAC123@+/dev/ttyT38-1, route to
sip:127.0.0.1

Call[C255dad678] cleared (Remote party host is off line)

Call[C6c666a679] from modem:T38modem to DAC123@+/dev/ttyT38-2, route to
sip:127.0.0.1

Call[C6c666a679] cleared (Remote party host is off line)

Call[Cc426667610] from modem:T38modem to DAC123@+/dev/ttyT38-3, route to
sip:127.0.0.1

Call[Cc426667610] cleared (Remote party host is off line)

Call[Cccb6487d11] from modem:T38modem to DAC123@+/dev/ttyT38-1, route to
sip:127.0.0.1

Call[Cccb6487d11] cleared (Remote party host is off line)

 

 

 

[root@ihg ~]# tail -200 /var/log/t38modem.log 

2015/08/24 13:36:43.554 ttyT38-1(i...0xb7c7db90 --> Stopped

2015/08/24 13:36:43.554 ttyT38-1(o...0xb7cbeb90 <-- Stopped

2015/08/24 13:36:43.554 ttyT38-1(e...0xb7cffb90 <-> Stopped

2015/08/24 13:36:43.554 ttyT38-1(b...0xb7f5bb90 PseudoModemPty::OpenPty
removed link /dev/ttyT38-1 -> /dev/pts/8

2015/08/24 13:36:43.554 ttyT38-1(b...0xb7f5bb90 PseudoModemPty::OpenPty read
ERROR -1 Input/output error

2015/08/24 13:36:43.554 ttyT38-1(b...0xb7f5bb90 PseudoModemPty::OpenPty
added link /dev/ttyT38-1 -> /dev/pts/16

2015/08/24 13:36:43.554 ttyT38-1(e...0xb7cffb90 RenameCurrentThread old
ThreadName=ModemEngine:0xb7cffb90

2015/08/24 13:36:43.554 ttyT38-1(e...0xb7cffb90 <-> Started

2015/08/24 13:36:43.554 ttyT38-1(i...0xb7cbeb90 RenameCurrentThread old
ThreadName=InPty:0xb7cbeb90

2015/08/24 13:36:43.554 ttyT38-1(i...0xb7cbeb90 --> Started

2015/08/24 13:36:43.555 ttyT38-1(o...0xb7c7db90 RenameCurrentThread old
ThreadName=OutPty:0xb7c7db90

2015/08/24 13:36:43.555 ttyT38-1(o...0xb7c7db90 <-- Started

2015/08/24 13:36:47.235 ttyT38-1(i...0xb7cbeb90 --> read ERROR -1
Input/output error

2015/08/24 13:36:47.235 ttyT38-1(i...0xb7cbeb90 --> Stopped

2015/08/24 13:36:47.235 ttyT38-1(o...0xb7c7db90 <-- Stopped

2015/08/24 13:36:47.245 ttyT38-1(e...0xb7cffb90 <-> Stopped

2015/08/24 13:36:47.255 ttyT38-1(e...0xb7cffb90 RenameCurrentThread old
ThreadName=ModemEngine:0xb7cffb90

2015/08/24 13:36:47.255 ttyT38-1(e...0xb7cffb90 <-> Started

2015/08/24 13:36:47.255 ttyT38-1(i...0xb7c7db90 RenameCurrentThread old
ThreadName=InPty:0xb7c7db90

2015/08/24 13:36:47.255 ttyT38-1(i...0xb7c7db90 --> Started

2015/08/24 13:36:47.255 ttyT38-1(o...0xb7cbeb90 RenameCurrentThread old
ThreadName=OutPty:0xb7cbeb90

2015/08/24 13:36:47.255 ttyT38-1(o...0xb7cbeb90 <-- Started

2015/08/24 13:36:48.246 ttyT38-1(e...0xb7cffb90 --> ATZ

2015/08/24 13:36:48.246 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 4f 4b 0d 0a                                  ..OK.. }

2015/08/24 13:36:51.347 ttyT38-1(e...0xb7cffb90 --> AT#CID=10

2015/08/24 13:36:51.347 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 4f 4b 0d 0a                                  ..OK.. }

2015/08/24 13:36:51.447 ttyT38-1(e...0xb7cffb90 --> ATS0=0

2015/08/24 13:36:51.447 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 4f 4b 0d 0a                                  ..OK.. }

2015/08/24 13:36:51.547 ttyT38-1(e...0xb7cffb90 --> ATE0

2015/08/24 13:36:51.547 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 4f 4b 0d 0a                                  ..OK.. }

2015/08/24 13:36:51.647 ttyT38-1(e...0xb7cffb90 --> ATV1

2015/08/24 13:36:51.647 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 4f 4b 0d 0a                                  ..OK.. }

2015/08/24 13:36:51.747 ttyT38-1(e...0xb7cffb90 --> ATQ0

2015/08/24 13:36:51.747 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 4f 4b 0d 0a                                  ..OK.. }

2015/08/24 13:36:51.847 ttyT38-1(e...0xb7cffb90 --> ATS8=2

2015/08/24 13:36:51.847 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 4f 4b 0d 0a                                  ..OK.. }

2015/08/24 13:36:51.947 ttyT38-1(e...0xb7cffb90 --> ATS7=60

2015/08/24 13:36:51.947 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 4f 4b 0d 0a                                  ..OK.. }

2015/08/24 13:36:52.047 ttyT38-1(e...0xb7cffb90 --> AT+FCLASS=?

2015/08/24 13:36:52.047 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 31 2c 38 0d 0a 4f  4b 0d 0a                  ..1,8..OK.. }

2015/08/24 13:36:52.147 ttyT38-1(e...0xb7cffb90 --> AT+FCLASS=1

2015/08/24 13:36:52.147 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 4f 4b 0d 0a                                  ..OK.. }

2015/08/24 13:36:52.247 ttyT38-1(e...0xb7cffb90 --> ATI3

2015/08/24 13:36:52.247 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 56 79 61 63 68 65  73 6c 61 76 20 46 72 6f   ..Vyacheslav Fro

  6c 6f 76 0d 0a 4f 4b 0d  0a                        lov..OK.. }

2015/08/24 13:36:52.346 ttyT38-1(e...0xb7cffb90 --> ATI0

2015/08/24 13:36:52.347 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 54 33 38 46 41 58  0d 0a 4f 4b 0d 0a         ..T38FAX..OK.. }

2015/08/24 13:36:52.446 ttyT38-1(e...0xb7cffb90 --> AT+FREV?

2015/08/24 13:36:52.446 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 32 2e 30 2e 30 0d  0a 4f 4b 0d 0a            ..2.0.0..OK.. }

2015/08/24 13:36:52.546 ttyT38-1(e...0xb7cffb90 --> AT+FTM=?

2015/08/24 13:36:52.546 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 32 34 2c 34 38 2c  37 32 2c 37 33 2c 37 34   ..24,48,72,73,74

  2c 39 36 2c 39 37 2c 39  38 2c 31 32 31 2c 31 32   ,96,97,98,121,12

  32 2c 31 34 35 2c 31 34  36 0d 0a 4f 4b 0d 0a      2,145,146..OK.. }

2015/08/24 13:36:52.646 ttyT38-1(e...0xb7cffb90 --> AT+FRM=?

2015/08/24 13:36:52.646 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 32 34 2c 34 38 2c  37 32 2c 37 33 2c 37 34   ..24,48,72,73,74

  2c 39 36 2c 39 37 2c 39  38 2c 31 32 31 2c 31 32   ,96,97,98,121,12

  32 2c 31 34 35 2c 31 34  36 0d 0a 4f 4b 0d 0a      2,145,146..OK.. }

2015/08/24 13:36:52.747 ttyT38-1(e...0xb7cffb90 --> ATM0

2015/08/24 13:36:52.748 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 4f 4b 0d 0a                                  ..OK.. }

2015/08/24 13:36:52.867 ttyT38-1(e...0xb7cffb90 --> AT+FCLASS=1

2015/08/24 13:36:52.867 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 4f 4b 0d 0a                                  ..OK.. }

2015/08/24 13:36:52.867 ttyT38-1(e...0xb7cffb90 -->
ATDLHIDDEN_FOR_PRIVACYT123

2015/08/24 13:36:52.867 ttyT38-1(e...0xb7cffb90 Dial string: DAC123@LV - OK

2015/08/24 13:36:52.868 ttyT38-1(e...0xb7cffb90 ModemEndPoint::OnMyCallback
command=dial extra=5

2015/08/24 13:36:52.868 ttyT38-1(e...0xb7cffb90 PseudoModemQ::Dequeue
ttyT38-1

2015/08/24 13:36:52.868 ttyT38-1(e...0xb7cffb90 MyManager::OnMyCallback
SetUpCall(modem:, DAC123@+/dev/ttyT38-1)

2015/08/24 13:36:52.868 ttyT38-1(e...0xb7cffb90
ModemEndPoint::MakeConnection modem:

2015/08/24 13:36:52.868 ttyT38-1(e...0xb7cffb90
ModemConnection::SetUpConnection
Call[Cccb6487d11]-EP<modem>[modem:/Cccb6487d11/0]

2015/08/24 13:36:52.868 ttyT38-1(e...0xb7cffb90
MySIPEndPoint::CreateConnection for Call[Cccb6487d11]

2015/08/24 13:36:52.869 ttyT38-1(e...0xb7cffb90 Call[Cccb6487d11] from
modem:T38modem to DAC123@+/dev/ttyT38-1, route to sip:127.0.0.1

2015/08/24 13:36:52.869 ttyT38-1(e...0xb7cffb90 Outgoing call routed to
sip:127.0.0.1 for Call[Cccb6487d11]-EP<modem>[modem:/Cccb6487d11/0]

2015/08/24 13:36:52.869 ttyT38-1(e...0xb7cffb90
MySIPConnection::SetUpConnection
Call[Cccb6487d11]-EP<sip>[9c03e1b3-b948-e511-935f-0050568b70e2]
name=T38modem

2015/08/24 13:36:52.869 ttyT38-1(e...0xb7cffb90
ModemEndPoint::GetMediaFormats

2015/08/24 13:36:52.877 ttyT38-1(e...0xb7cffb90
ModemEndPoint::GetMediaFormats

2015/08/24 13:36:52.884 ttyT38-1(e...0xb7cffb90
ModemEndPoint::GetMediaFormats

2015/08/24 13:36:52.891 ttyT38-1(e...0xb7cffb90 ModemEndPoint::OnMyCallback
request={

calltoken=modem:/Cccb6487d11/0

localpartyname=

command=dial

response=confirm

number=DAC123

modemtoken=ttyT38-1

}

2015/08/24 13:37:24.415  Housekeeper:0xb7e57b90 SIP     Response received
for unknown handler ID: [email protected]

2015/08/24 13:37:24.415    OnRelease:0xb7875b90 ModemConnection::OnReleased
Call[Cccb6487d11]-EP<modem>[modem:/Cccb6487d11/0]

2015/08/24 13:37:24.416    OnRelease:0xb7875b90 Call[Cccb6487d11] cleared
(EndedByOffline)

2015/08/24 13:37:25.306 Opal Garbage:0xb7f9cb90
ModemEngineBody::OnTimerCallback stConnectWait Timeout 1

2015/08/24 13:37:25.306 Opal Garbage:0xb7f9cb90 ttyT38-1 AudioEngine
AudioEngine

2015/08/24 13:37:25.306 Opal Garbage:0xb7f9cb90 ttyT38-1 AudioEngine Attach

2015/08/24 13:37:25.306 Opal Garbage:0xb7f9cb90 ttyT38-1 AudioEngine
OnAttach Attached

2015/08/24 13:37:25.306 Opal Garbage:0xb7f9cb90 ttyT38-1 AudioEngine
OnResetModemState

2015/08/24 13:37:25.306 Opal Garbage:0xb7f9cb90 ttyT38-1 AudioEngine
ChangeModemClass to mcFax

2015/08/24 13:37:25.306 Opal Garbage:0xb7f9cb90 ttyT38-1 AudioEngine
OnChangeModemClass to mcFax

2015/08/24 13:37:25.306 Opal Garbage:0xb7f9cb90 ttyT38-1 AudioEngine
SendOnIdle dtNone

2015/08/24 13:37:25.306 Opal Garbage:0xb7f9cb90
ModemEngineBody::_AttachEngine Attached mceAudio

2015/08/24 13:37:25.306 Opal Garbage:0xb7f9cb90 ttyT38-1 AudioEngine
RecvOnIdle dtBusy

2015/08/24 13:37:25.306 ttyT38-1(e...0xb7cffb90 ttyT38-1 AudioEngine Detach

2015/08/24 13:37:25.306 ttyT38-1(e...0xb7cffb90 ttyT38-1 AudioEngine
OnChangeModemClass to mcUndefined

2015/08/24 13:37:25.306 ttyT38-1(e...0xb7cffb90 ttyT38-1 AudioEngine
OnDetach Detached

2015/08/24 13:37:25.306 ttyT38-1(e...0xb7cffb90 ttyT38-1 AudioEngine
OnResetModemState

2015/08/24 13:37:25.306 ttyT38-1(e...0xb7cffb90 ttyT38-1 AudioEngine
~AudioEngine

2015/08/24 13:37:25.306 ttyT38-1(e...0xb7cffb90
ModemEngineBody::_DetachEngine Detached mceAudio

2015/08/24 13:37:25.306 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 42 55 53 59 0d 0a                            ..BUSY.. }

2015/08/24 13:37:26.307 ttyT38-1(e...0xb7cffb90 --> ATH0

2015/08/24 13:37:26.307 ttyT38-1(e...0xb7cffb90 <--  {

  0d 0a 4f 4b 0d 0a                                  ..OK.. }

2015/08/24 13:37:26.308 ttyT38-1(i...0xb7c7db90 --> read ERROR -1
Input/output error

2015/08/24 13:37:26.308 ttyT38-1(i...0xb7c7db90 --> Stopped

2015/08/24 13:37:26.322 ttyT38-1(o...0xb7cbeb90 <-- Stopped

2015/08/24 13:37:26.332 ttyT38-1(e...0xb7cffb90 <-> Stopped

2015/08/24 13:37:26.342 ttyT38-1(b...0xb7f5bb90 PseudoModemPty::OpenPty
removed link /dev/ttyT38-1 -> /dev/pts/16

2015/08/24 13:37:26.343 ttyT38-1(b...0xb7f5bb90 PseudoModemPty::OpenPty read
ERROR -1 Input/output error

2015/08/24 13:37:26.343 ttyT38-1(b...0xb7f5bb90 PseudoModemPty::OpenPty
added link /dev/ttyT38-1 -> /dev/pts/8

2015/08/24 13:37:26.343 ttyT38-1(e...0xb7cffb90 RenameCurrentThread old
ThreadName=ModemEngine:0xb7cffb90

2015/08/24 13:37:26.343 ttyT38-1(e...0xb7cffb90 <-> Started

2015/08/24 13:37:26.343 ttyT38-1(i...0xb7cbeb90 RenameCurrentThread old
ThreadName=InPty:0xb7cbeb90

2015/08/24 13:37:26.343 ttyT38-1(i...0xb7cbeb90 --> Started

2015/08/24 13:37:26.343 ttyT38-1(o...0xb7c7db90 RenameCurrentThread old
ThreadName=OutPty:0xb7c7db90

2015/08/24 13:37:26.343 ttyT38-1(o...0xb7c7db90 <-- Started

2015/08/24 13:37:47.232 ttyT38-1(i...0xb7cbeb90 --> read ERROR -1
Input/output error

2015/08/24 13:37:47.232 ttyT38-1(i...0xb7cbeb90 --> Stopped

2015/08/24 13:37:47.232 ttyT38-1(o...0xb7c7db90 <-- Stopped

2015/08/24 13:37:47.242 ttyT38-1(e...0xb7cffb90 <-> Stopped

2015/08/24 13:37:47.252 ttyT38-1(e...0xb7cffb90 RenameCurrentThread old
ThreadName=ModemEngine:0xb7cffb90

2015/08/24 13:37:47.253 ttyT38-1(e...0xb7cffb90 <-> Started

2015/08/24 13:37:47.253 ttyT38-1(i...0xb7c7db90 RenameCurrentThread old
ThreadName=InPty:0xb7c7db90

2015/08/24 13:37:47.253 ttyT38-1(i...0xb7c7db90 --> Started

2015/08/24 13:37:47.253 ttyT38-1(o...0xb7cbeb90 RenameCurrentThread old
ThreadName=OutPty:0xb7cbeb90

2015/08/24 13:37:47.253 ttyT38-1(o...0xb7cbeb90 <-- Started

 

Where is my fault?

Please help J

 

Best Regards,

---------------------

 

      

 


-- 
This message has been scanned for viruses and
dangerous content by "iNET Solutions" security systems, and is
believed to be clean.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.