Hi all

 

we have configured freeswitch to be gateway server.

When we send fax with command :

originate {ignore_early_media=true,fax_enable_t38=false,fax_verbose=true,fax_use_ecm=false,fax_enable_t38_request=false}sofia/gateway/xx/xx &txfax('/usr/local/freeswitch/storage/fax/fax.tif')

 

it's work

 

but if my extension is fax system and i try to send fax it's not work.

here my config

 

<condition field="destination_number" expression="^(ccccc)$" >
<action application="set" data="sip_h_X-accountcode=$${accountcode}" />
<action application="set" data="sip_h_X-Tag=" />
<regex field="caller_id_number" expression="^1001$"/>
<action application="set" data="call_direction=outbound" />
<action application="set" data="hangup_after_bridge=true" />
<action application="set" data="effective_caller_id_name=$${outbound_caller_id_name}" />
<action application="set" data="effective_caller_id_number=$${outbound_caller_id_number}" />
<action application="set" data="inherit_codec=true" />
<action application="set" data="accountcode=44000"/>
<action application="bridge" data="{execute_on_answer=t38_gateway self,absolute_codec_string=PCMA,ignore_early_media=true,fax_enable_t38=false,fax_verbose=true,fax_use_ecm=false,fax_enable_t38_request=false}sofia/gateway/ccccc/ccccc" />
</condition>

 

 

Tks advance

 

--
 
--