diff -urN asterisk-11.2.1.orig/res/res_fax_spandsp.c asterisk-11.2.1/res/res_fax_spandsp.c --- asterisk-11.2.1.orig/res/res_fax_spandsp.c 2012-11-05 15:09:30.000000000 -0800 +++ asterisk-11.2.1/res/res_fax_spandsp.c 2013-03-13 16:37:23.949210925 -0700 @@ -544,7 +544,7 @@ p->stats = &spandsp_global_stats.g711; - if (s->details->caps & AST_FAX_TECH_T38) { + if (s->details->caps & (AST_FAX_TECH_T38 | AST_FAX_TECH_AUDIO)) { if ((s->details->caps & AST_FAX_TECH_AUDIO) == 0) { /* audio mode was not requested, start in T.38 mode */ p->ist38 = 1; @@ -554,9 +554,7 @@ /* init t38 stuff */ t38_terminal_init(&p->t38_state, caller_mode, t38_tx_packet_handler, s); set_logging(&p->t38_state.logging, s->details); - } - if (s->details->caps & AST_FAX_TECH_AUDIO) { /* init audio stuff */ fax_init(&p->fax_state, caller_mode); set_logging(&p->fax_state.logging, s->details);