diff options
-rw-r--r-- | apps/app_fax.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_fax.c b/apps/app_fax.c index 3d2117ddf..b6a4b02f6 100644 --- a/apps/app_fax.c +++ b/apps/app_fax.c @@ -377,8 +377,8 @@ static int transmit_audio(fax_session *s) .transcoding_jbig = 1, }; - /* if in receive mode, try to use T.38 */ - if (!s->direction) { + /* if in called party mode, try to use T.38 */ + if (s->caller_mode == FALSE) { /* check if we are already in T.38 mode (unlikely), or if we can request * a switch... if so, request it now and wait for the result, rather * than starting an audio FAX session that will have to be cancelled |