<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>WireShark does a good job showing the T38 communication. Most products you can also set packet redundancy to send 2 packets. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Your setup was T.38 ATA to T.38 Gateway with PRI/ANALOG/PSTN/G.711. I’ve heard various problems with SIP/PSTN and faxing, around jitter/packet loss and it’s not supported by Verizon SIP and others.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>P Z<br><b>Sent:</b> Thursday, July 29, 2010 7:49 AM<br><b>To:</b> asterisk-users@lists.digium.com<br><b>Subject:</b> [asterisk-users] T.38 fax between ATA's and Asterisk and Cisco PGW 2200<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>To provide a reliable fax solution for users connected to a Asterisk 1.6.2.6 server i have tested a few T.38 capable ATA's:<br>- Patton M-ATA<br>- Grandstream HandyTone 486<br>- Fritz!Box 7170<br><br>I have tried Asterisk 1.6.2.6 compiled with SpanDSP-0.0.6pre17 and also Asterisk 1.6.2.6 with Fax for Asterisk installed.<br><br>These Asterisk servers are connected to a Cisco PGW 2200 + AS5400XM.<br><br><br>Sending fax messages from all ATA's to the PSTN (so ATA -> Asterisk -> PGW -> PSTN) failed with a variety of error messages so i tested the different steps one by one.<br><br><br>ATA's -> Asterisk ReceiveFax:<br>So far i have only succeeded in sending fax messages from the Fritz!Box 7170 to both Asterisk configurations using the ReceiveFax application.<br>Sending fax messages from the other ATA's to Asterisk using the ReceiveFax application failed.<br><br><br>ATA's -> PGW:<br>To exclude Asterisk i have connected the ATA's directly to the PGW; no success either.<br><br><br>Asterisk -> PGW:<br>To exclude the ATA's i used the Asterisk SendFax application to send a TIFF file to a landline each time with a different fax machine connected to it. Results:<br><br><br>Asterisk 1.6.2.6 compiled with SpanDSP-0.0.6pre17 :<br><br>asterisk[1367]: WARNING[18591]: app_fax.c:223 in phase_e_handler: Error transmitting fax. result=19: Received other than DIS while waiting for DIS.<br>asterisk[1367]: WARNING[18591]: app_fax.c:820 in transmit: Transmission failed<br><br>asterisk[1367]: WARNING[18906]: app_fax.c:223 in phase_e_handler: Error transmitting fax. result=20: Received no response to DCS or TCF.<br>asterisk[1367]: WARNING[18906]: app_fax.c:820 in transmit: Transmission failed<br><br>asterisk[1367]: WARNING[18986]: app_fax.c:223 in phase_e_handler: Error transmitting fax. result=49: The call dropped prematurely.<br>asterisk[1367]: WARNING[18986]: app_fax.c:817 in transmit: Transmission error<br><br><br>Asterisk 1.6.2.6 with Fax for Asterisk :<br><br>asterisk[7092]: WARNING[3167]: res_fax.c:1529 in sendfax_t38_init: Audio FAX not allowed on channel 'SIP/out.to.pgw-000b3f49' and T.38 negotiation failed; aborting.<br>asterisk[7092]: ERROR[3167]: res_fax.c:1650 in sendfax_exec: error initializing channel 'SIP/out.to.pgw-000b3f49' in T.38 mode<br><br>asterisk[7092]: VERBOSE[3226]: -- FAX handle 0: [ 028.000627 ], entering CLOSING state<br>asterisk[7092]: VERBOSE[3225]: -- Channel 'SIP/out.to.pgw-000b3f72' FAX session '11' is complete, result: 'FAILED' (FAX_FAILURE_TRAINING), error: '3RD_FRM_CHECK_ERROR', pages: 0, resolution: 'unknown', transfer rate: '2400', remoteSID: ''<br><br>asterisk[7092]: WARNING[3272]: res_fax.c:1529 in sendfax_t38_init: Audio FAX not allowed on channel 'SIP/out.to.pgw-000b3f8b' and T.38 negotiation failed; aborting.<br>asterisk[7092]: ERROR[3272]: res_fax.c:1650 in sendfax_exec: error initializing channel 'SIP/out.to.pgw-000b3f8b' in T.38 mode<br><br><br>My questions:<br><br>- Does anyone have experience with T.38 fax with a setup like this: ATA -> Asterisk -> PGW -> PSTN?<br><br>- Does anyone have experience in connecting Asterisk to a Cisco PGW 2200 + AS5400XM?<br><br>- Are there any tools to debug T.38 traffic?<br><br>Thanks!<o:p></o:p></span></p></div></body></html>
<HTML><BODY><P><hr size=1></P>
<P><STRONG>
Disclaimer:
This e-mail communication and any attachments may contain confidential and privileged information and is for use by the designated addressee(s) named above only. If you are not the intended addressee, you are hereby notified that you have received this communication in error and that any use or reproduction of this email or its contents is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to this message and deleting it from your computer. Thank you.
</STRONG></P></BODY></HTML>