]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
reverse
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 19 Apr 2011 20:59:53 +0000 (15:59 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 20 Apr 2011 01:11:59 +0000 (20:11 -0500)
src/mod/applications/mod_spandsp/mod_spandsp_fax.c

index 1d260f30981e8797e0ee149f4566fa4810d12817..95eefd5c74436f96c6954f8845441882200a86ff 100644 (file)
@@ -1784,8 +1784,8 @@ switch_bool_t t38_gateway_start(switch_core_session_t *session, const char *app,
         switch_channel_set_variable(channel, "t38_peer", switch_core_session_get_uuid(other_session));
         switch_channel_set_variable(other_channel, "t38_peer", switch_core_session_get_uuid(session));
 
-        switch_channel_set_variable(peer ? other_channel : channel, "t38_gateway_format", "audio");
-        switch_channel_set_variable(peer ? channel : other_channel, "t38_gateway_format", "udptl");
+        switch_channel_set_variable(peer ? other_channel : channel, "t38_gateway_format", "udptl");
+        switch_channel_set_variable(peer ? channel : other_channel, "t38_gateway_format", "audio");
 
 
         switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s starting gateway mode to %s\n",