[Freeswitch-users] Fwd: Fax with Trunk
Hermouet Erwan
ehermouet at bluetel.fr
Mon Sep 8 14:21:47 MSD 2014
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
--
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140908/a387aeca/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blocked.gif
Type: image/gif
Size: 118 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140908/a387aeca/attachment.gif
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list