Summary:ASTERISK-19684: [T.38 gateway] [irroot t38gateway-1.8 branch] I can receive faxes with t38 gateway, but send fails
Reporter:Niccolò Belli (darkbasic)Labels:
Date Opened:2012-04-09 15:45:19Date Closed:2012-04-17 08:43:23
Versions:Frequency of
Environment:Attachments:( 0) t38_receive_sip-debug.log
( 1) t38_receive.log
( 2) t38_receive.pcap
( 3) t38_send_sip-debug.log
( 4) t38_send.log
( 5) t38_send.pcap
Description:I had the very same problem with some earlier t38 gw patches and it isn't still fixed in current irroot's t38gateway-1.8 branch.

I can receive faxes without problems, but I didn't succeed to send a single page: every time it fails before even starting to send something. My provider is Eutelia but I had the very same problems with another provider.



exten => <number>,1,Set(FAXOPT(gateway)=yes)
same => n,Dial(SIP/eutelia/${EXTEN},${DIALTIME})
same => n,Hangup()

exten => <number>,1,Answer()
same => n,Wait(2)
same => n,Hangup()

exten => fax,1,Dial(DAHDI/11,${DIALTIME})
same => n,Hangup()

I attached logs (with and without sip debug) and pcap dumps when I receive and when I send a fax with t38 gateway.

I just noticed I have redundancy in [general]'s t38pt_udptl and fec in [eutelia]'s, but since I had the very same problem with previous patches (and I tried every kind of t38pt_udptl in the past) I don't think this is the problem.
Comments:By: Niccolò Belli (darkbasic) 2012-04-09 15:50:19.778-0500

I'm using spandsp 0.0.6~pre20.

By: Matt Jordan (mjordan) 2012-04-12 08:37:50.650-0500

What version of Asterisk are you running?

By: Niccolò Belli (darkbasic) 2012-04-12 10:45:20.645-0500

I'm running asterisk 1.8.11.

By: Matt Jordan (mjordan) 2012-04-12 11:37:45.198-0500

Asterisk does not support T.38 gateway, as that is a feature that was developed specifically for Asterisk 10.

If you are not running a stock version of Asterisk 1.8.11, but are instead running a patched version using irroot's patches, then you should report that to the asterisk-dev mailing list - and more specifically, irroot himself.  The issue tracker is not intended for bug reports against custom patches to Asterisk.

By: Niccolò Belli (darkbasic) 2012-04-12 13:11:08.555-0500

Yes it's irroot's branch (as you can see from the [irroot t38gateway-1.8 branch] tag in the title).
I will post it to asterisk-devel.