This is a second post, with higher level details.
I am able to receive incoming fax, doing T38Gateway
I had no chance with GrandStream handytone, while I can receive OK with
Wellgate, both with ECM or not.
Now I am trying to send a fax throught the same path (callweaver
-->iax2 --> asterisk --> iaxmodem --> hylafax
It seems to me acting as in the incoming situation, but che fax doesn't
arrive.
on the full log, when receiving faxes, I see:
Jun 19 14:31:54 VERBOSE[3060046736] logger.c: -- Accepting
UNAUTHENTICATED call from 192.168.1.10:
> requested format = ulaw,
> requested prefs = (ulaw),
> actual format = ulaw,
> host prefs = (ulaw),
> priority = mine
Jun 19 14:31:54 VERBOSE[3056016272] logger.c: -- Executing
T38Gateway("IAX2/asterisk01-2", "SIP/4446|20|rt") in new stac
k
Jun 19 14:31:54 DEBUG[3056016272] chan_sip.c: Our T38 capability (12048)
Jun 19 14:31:54 DEBUG[3056016272] chan_sip.c: Setting NAT on RTP to 1
Jun 19 14:31:54 DEBUG[3056016272] chan_sip.c: Setting NAT on UDPTL to 1
Jun 19 14:31:54 ERROR[3056016272] app_t38gateway.c: Orig CID: 590 Dest
CID: 590
Jun 19 14:31:54 DEBUG[3056016272] chan_sip.c: Outgoing Call for 4446
Jun 19 14:31:54 DEBUG[3056016272] chan_sip.c: Our T38 capability
(12048), joint T38 capability (12048)
Jun 19 14:31:54 DEBUG[3059456912] chan_sip.c: (Provisional) Stopping
retransmission (but retaining packet) on '66460de1708e6
[EMAIL PROTECTED]' Request 102: Found
Jun 19 14:31:54 DEBUG[3059456912] chan_sip.c: (Provisional) Stopping
retransmission (but retaining packet) on '66460de1708e6
[EMAIL PROTECTED]' Request 102: Found
Jun 19 14:32:03 DEBUG[3059456912] chan_sip.c: Acked pending invite 102
Jun 19 14:32:03 DEBUG[3059456912] chan_sip.c: Stopping retransmission on
'[EMAIL PROTECTED]' of
Request 102: Match Found
Jun 19 14:32:03 DEBUG[3059456912] chan_sip.c: Activating RTP on response
[EMAIL PROTECTED] (1)
Jun 19 14:32:03 DEBUG[3059456912] chan_sip.c: T38 state changed to 0 on
channel SIP/4446-ba6b
Jun 19 14:32:03 DEBUG[3059456912] chan_sip.c: build_route: Contact hop:
<sip:[EMAIL PROTECTED]:5060>
Jun 19 14:32:03 DEBUG[3079506832] channel.c: Avoiding initial deadlock
for 'IAX2/asterisk01-2'
Jun 19 14:32:03 NOTICE[3056016272] app_t38gateway.c: Bridging frames
Jun 19 14:32:03 DEBUG[3060046736] chan_iax2.c: Ooh, voice format changed
to 4
Jun 19 14:32:03 DEBUG[3056016272] rtp.c: Had to change frame MS from 0
to 20
Jun 19 14:32:03 DEBUG[3056016272] rtp.c: Able to create smoother :) ms:
20 len 160
Jun 19 14:32:04 DEBUG[3056016272] app_t38gateway.c: Fax detected in T38
Gateway !!!
Jun 19 14:32:04 WARNING[3056016272] chan_sip.c: This function can only
be used on SIP channels.
Jun 19 14:32:07 DEBUG[3056016272] app_t38gateway.c: Fax detected in T38
Gateway !!!
Jun 19 14:32:07 WARNING[3056016272] chan_sip.c: This function can only
be used on SIP channels.
Jun 19 14:32:11 DEBUG[3056016272] app_t38gateway.c: Fax detected in T38
Gateway !!!
Jun 19 14:32:11 WARNING[3056016272] chan_sip.c: This function can only
be used on SIP channels.
Jun 19 14:32:12 DEBUG[3059456912] chan_sip.c: Activating UDPTL on
response [EMAIL PROTECTED] (1)
Jun 19 14:32:12 DEBUG[3059456912] chan_sip.c: T38 state changed to 4 on
channel SIP/4446-ba6b
Jun 19 14:32:12 DEBUG[3059456912] chan_sip.c: FaxVersion: 0
Jun 19 14:32:12 DEBUG[3059456912] chan_sip.c: T38MaxBitRate: 14400
Jun 19 14:32:12 DEBUG[3059456912] chan_sip.c: FillBitRemoval: 0
Jun 19 14:32:12 DEBUG[3059456912] chan_sip.c: Transcoding MMR: 0
Jun 19 14:32:12 DEBUG[3059456912] chan_sip.c: Transcoding JBIG: 0
Jun 19 14:32:12 DEBUG[3059456912] chan_sip.c: RateMangement:
transferredTCF
Jun 19 14:32:12 DEBUG[3059456912] chan_sip.c: MaxBufferSize:72
Jun 19 14:32:12 DEBUG[3059456912] chan_sip.c: FaxMaxDatagram: 316
Jun 19 14:32:12 DEBUG[3059456912] chan_sip.c: UDP EC: t38UDPRedundancy
Jun 19 14:32:12 DEBUG[3059456912] chan_sip.c: T38MaxFaxRate 14400 found
Jun 19 14:32:12 DEBUG[3059456912] chan_sip.c: T38 state changed to 5 on
channel SIP/4446-ba6b
Jun 19 14:32:12 DEBUG[3059456912] chan_sip.c: T38mode enabled for
channel SIP/4446-ba6b
Jun 19 14:32:12 NOTICE[3056016272] app_t38gateway.c: Doing T.38 gateway
Jun 19 14:32:12 DEBUG[3059456912] chan_sip.c: Stopping retransmission on
'[EMAIL PROTECTED]' of
Response 1: Match Found
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 304:
04
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 304:
indicator ced
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38G Queued
change - (0) ??? -> ced
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38G Changing
to ced
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38G non-ECM
mode
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 305:
06
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 305:
indicator v21-preamble
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38G Queued
change - (1440) ced -> v21-preamble
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 306:
06
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 306:
indicator v21-preamble
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 307:
06
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 307:
indicator v21-preamble
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 308:
c0 01 80 00 00 ff
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 308:
data v21/hdlc-data + 1 byte(s)
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 309:
c0 01 80 00 00 c0
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 309:
data v21/hdlc-data + 1 byte(s)
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 310:
c0 01 80 00 00 04
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 310:
data v21/hdlc-data + 1 byte(s)
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38G
Corrupting NSF message to prevent recognition
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 311:
c0 01 80 00 00 db
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 311:
data v21/hdlc-data + 1 byte(s)
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 312:
c0 01 80 00 00 00
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 312:
data v21/hdlc-data + 1 byte(s)
Jun 19 14:32:13 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 313:
c0 01 80 00 00 00
....
and so on a lot of data, and the faxes arrive perfectly (are received
perfectly through a iax channel , then converted to T38)
When sending I see:
Jun 19 15:01:09 DEBUG[3059456912] chan_sip.c: T38 state changed to 0 on
channel <none>
Jun 19 15:01:09 DEBUG[3059456912] chan_sip.c: Checking SIP call limits
for device 4446
Jun 19 15:01:09 DEBUG[3059456912] chan_sip.c: build_route: Contact hop:
<sip:[EMAIL PROTECTED]:5060>
Jun 19 15:01:09 DEBUG[3079506832] channel.c: Avoiding initial deadlock
for 'SIP/4446-e7f0'
Jun 19 15:01:09 VERBOSE[3056016272] logger.c: -- Executing
T38Gateway("SIP/4446-e7f0", "IAX2/asterisk01/597|30|tr") in n
ew stack
Jun 19 15:01:09 ERROR[3056016272] app_t38gateway.c: Orig CID: 4446 Dest
CID: 4446
Jun 19 15:01:09 VERBOSE[3060046736] logger.c: -- Call accepted by
192.168.1.10 (format ulaw)
Jun 19 15:01:09 VERBOSE[3060046736] logger.c: -- Format for call is
ulaw
Jun 19 15:01:10 DEBUG[3056016272] generator.c: Trying to deactivate
generator in SIP/4446-e7f0
Jun 19 15:01:10 DEBUG[3056016272] generator.c: Generator on
SIP/4446-e7f0 stopped after 0 iterations
Jun 19 15:01:10 NOTICE[3056016272] app_t38gateway.c: Bridging frames
Jun 19 15:01:10 DEBUG[3060046736] chan_iax2.c: Ooh, voice format changed
to 4
Jun 19 15:01:10 DEBUG[3056016272] rtp.c: Had to change frame MS from 0
to 20
Jun 19 15:01:10 DEBUG[3056016272] rtp.c: Able to create smoother :) ms:
20 len 160
Jun 19 15:01:10 DEBUG[3059456912] chan_sip.c: Stopping retransmission on
'[EMAIL PROTECTED]
1.11' of Response 2: Match Found
Jun 19 15:01:11 DEBUG[3056016272] app_t38gateway.c: Fax detected in T38
Gateway !!!
Jun 19 15:01:11 DEBUG[3056016272] chan_sip.c: T38MaxFaxRate 14400 found
Jun 19 15:01:11 DEBUG[3056016272] chan_sip.c: T38 state changed to 2 on
channel SIP/4446-e7f0
Jun 19 15:01:11 DEBUG[3059456912] chan_sip.c: Acked pending invite 102
Jun 19 15:01:11 DEBUG[3059456912] chan_sip.c: Activating UDPTL on
response [EMAIL PROTECTED]
.1.11 (1)
Jun 19 15:01:11 DEBUG[3059456912] chan_sip.c: T38 state changed to 4 on
channel SIP/4446-e7f0
Jun 19 15:01:11 DEBUG[3059456912] chan_sip.c: FaxVersion: 0
Jun 19 15:01:11 DEBUG[3059456912] chan_sip.c: T38MaxBitRate: 14400
Jun 19 15:01:11 DEBUG[3059456912] chan_sip.c: FillBitRemoval: 0
Jun 19 15:01:11 DEBUG[3059456912] chan_sip.c: Transcoding MMR: 0
Jun 19 15:01:11 DEBUG[3059456912] chan_sip.c: Transcoding JBIG: 0
Jun 19 15:01:11 DEBUG[3059456912] chan_sip.c: RateMangement:
transferredTCF
Jun 19 15:01:11 DEBUG[3059456912] chan_sip.c: MaxBufferSize:72
Jun 19 15:01:11 DEBUG[3059456912] chan_sip.c: FaxMaxDatagram: 316
Jun 19 15:01:11 DEBUG[3059456912] chan_sip.c: UDP EC: t38UDPRedundancy
Jun 19 15:01:11 DEBUG[3059456912] chan_sip.c: build_route: Contact hop:
<sip:[EMAIL PROTECTED]:5060>
Jun 19 15:01:11 DEBUG[3059456912] chan_sip.c: Channel Bridge information
is non-existant. T38 Termination requested.
Jun 19 15:01:11 NOTICE[3056016272] app_t38gateway.c: Doing T.38 gateway
Jun 19 15:01:11 DEBUG[3056016272] app_t38gateway.c: FLOW T.38G HDLC
carrier up
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 25:
04
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 25:
indicator ced
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38G Queued
change - (0) ??? -> ced
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38G Changing
to ced
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38G non-ECM
mode
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 26:
04
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 26:
indicator ced
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 27:
04
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 27:
indicator ced
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 28:
04
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 28:
indicator ced
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 29:
04
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 29:
indicator ced
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 30:
04
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 30:
indicator ced
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 31:
04
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 31:
indicator ced
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 32:
04
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 32:
indicator ced
Jun 19 15:01:12 DEBUG[3056016272] app_t38gateway.c: FLOW T.38 Rx 33:
04
.....
and so on a lot of data. The fax machine connected to the wellgate still
says "calling" and document is not scanned: it seems the
prliminar handshaking is failing
In my situation to send faxes is more important than to receive faxes.
Another question; is it correct to use T38Gateway also when passing from
T38 to ordinary analog protocol ?
thanks in advance,
Andrea
_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users