Check firewall and NAT settings! <div><br></div><div>Monitoring sip and media flow from asterisk cli can help, use "sip set debug on", "rtp set debug on" and "udptl set debug on"</div><div><div>
<br></div><div>Nasir Iqbal<br><br>ICT Innovations<br><a href="http://www.ictinnovations.com/" target="_blank">http://www.ictinnovations.com/</a><br>
<br><br><div class="gmail_quote">On Fri, Oct 7, 2011 at 1:37 AM, James Sharp <span dir="ltr"><<a href="mailto:james@fivecats.org">james@fivecats.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi, folks.<br>
<br>
I'm having a heck of a time trying to get outgoing T38 faxing (I don't need inbound right now) working with FFA and Gafachi. G711 faxing works (as well as can be expected over the internet), but I want the higher reliability of T38.<br>
<br>
I'm running Asterisk 10-beta1.<br>
<br>
When I drop my callfile in to make the call, I get this:<br>
<br>
-- Attempting call on SIP/18884732963@gafachi1a for application SendFAX(/srv/httpd/htdocs/<u></u>upload/scantest2.tiff,dz) (Retry 1)<br>
== Using UDPTL CoS mark 5<br>
== Using SIP RTP CoS mark 5<br>
> Channel SIP/gafachi1a-0000000a was answered.<br>
> Launching SendFAX(/srv/httpd/htdocs/<u></u>upload/scantest2.tiff,dz) on SIP/gafachi1a-0000000a<br>
-- Channel 'SIP/gafachi1a-0000000a' sending FAX:<br>
-- /srv/httpd/htdocs/upload/<u></u>scantest2.tiff<br>
-- Channel 'SIP/gafachi1a-0000000a' FAX session '6' started<br>
-- FAX handle 0: [ 000.000594 ], STAT_EVT_STRT_TX st: IDLE rt: IDLENSTX<br>
-- FAX handle 0: [ 000.001139 ], STAT_EVT_TX_HW_RDY st: WT_TX_HW_RDY rt: TRDYNHTY<br>
-- FAX handle 0: [ 000.001724 ], P30EVN_SEND_STARTED<br>
[Oct 6 04:21:36] ERROR[11616]: res_fax.c:1421 generic_fax_exec: channel 'SIP/gafachi1a-0000000a' FAX session '6' failure, reason: 'fax session timed-out' (TIMEOUT)<br>
[Oct 6 04:21:36] NOTICE[11616]: pbx_spool.c:373 attempt_thread: Call completed to SIP/18884732963@gafachi1a<br>
<br>
---- THIS PART HAPPENS ABOUT 15 SECONDS LATER ----<br>
<br>
-- FAX handle 0: [ 040.000211 ], STAT_EVT_T1_EXP st: WT_DIS rt: WDISNT1X<br>
-- FAX handle 0: [ 042.499953 ], STAT_EVT_HW_CLOSE st: WT_HW_CLS rt: WCLSNCLS<br>
-- FAX handle 0: [ 042.500083 ], STAT_SES_COMPLETE<br>
-- FAX handle 0: [ 042.500110 ], P30EVN_COMPLETE<br>
-- Channel 'SIP/gafachi1a-0000000a' FAX session '6' is complete, result: 'FAILED' (FAX_NO_FAX), error: 'T1_TIMEOUT', pages: 0, resolution: 'unknown', transfer rate: '2400', remoteSID: ''<br>
<br>
<br>
A tcpdump trace shows the initial invite, ringing, answering, some G711 frames back and forth, the send-T38-invite-after-10-<u></u>seconds reinvite (as specified by the Z option), then the far end sends a bunch of T38 traffic until Asterisk times out and drops the call.<br>
<br>
What also confuses me is this (and this may just be semantics or a true bug):<br>
<br>
asterisk*CLI> fax show stats<br>
<br>
FAX Statistics:<br>
---------------<br>
<br>
Current Sessions : 0<br>
Reserved Sessions : 0<br>
Transmit Attempts : 8<br>
Receive Attempts : 0<br>
Completed FAXes : 7<br>
Failed FAXes : 7<br>
<br>
<br>
How can I have 8 attempted transmits, 7 completed faxes, and 7 failed faxes? I know 1 transmit didn't go through because I tried to place one call while another was in progess and I only have one licensed channel.<br>
<br>
<br>
<br>
Thanks,<br>
<br>
James Sharp<br>
<a href="mailto:james@fivecats.org" target="_blank">james@fivecats.org</a><br><font color="#888888">
<br>
--<br>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</font></blockquote></div><br></div></div>