[Freeswitch-users] Fax with Trunk

Hermouet Erwan ehermouet at bluetel.fr
Tue Sep 9 17:08:30 MSD 2014


 

Ths for your reply 

First: 

We have freeswitch server on ubuntu 11. we use freeswitch as provider
serveur for others sip serveur. So my other sip serveur are extension of
freeswitch. 

if one 1 my extension (other sip server) try to make outbound fax, it's
not work. 

if i send fax directly from FS server it's work. 

the syntaxe is : originate
{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/xxON/xx


So in my configuration public.xml i create this rule for my outbound
fax: 

<extension name="FAX" >
<condition field="network_addr" expression="^(xxx)$"> 
</condition>
<condition field="destination_number" expression="^(xxx)$" >
<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="set" data="proxy_media=true"/>
<action application="set" data="bypass_media=false"/>
<action application="bridge"
data="{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/xxx/xxxx"
/>
</condition>
</extension> 

But it's not work, my fax is not send. 

I search config which can permit to my extension sip server to send fax
between FS. 

Tks 

Le 2014-09-09 14:52, Michael Jerris a écrit : 

> Its such a vague question without a real description of the problem, so no one has a solution because they do not understand what your problem is. 
> 
> On Sep 9, 2014, at 1:41 AM, Hermouet Erwan <ehermouet at bluetel.fr> wrote: 
> 
> hi all
> 
> nobody have config when extension is fax system ?
> 
> tks
> 
> On 8 septembre 2014 12:21:47 CEST, Hermouet Erwan <ehermouet at bluetel.fr> wrote: 
> 
> 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>

_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org
http://www.freeswitchsolutions.com [1]

Official FreeSWITCH Sites
http://www.freeswitch.org [2]
http://confluence.freeswitch.org [3]
http://www.cluecon.com [4]


 [5]

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users [6]
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
[7]
http://www.freeswitch.org [2]

-- 

 

Links:
------
[1] http://www.freeswitchsolutions.com
[2] http://www.freeswitch.org
[3] http://confluence.freeswitch.org
[4] http://www.cluecon.com
[5] 
[6] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
[7] http://lists.freeswitch.org/mailman/options/freeswitch-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140909/ec435510/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list