[Freeswitch-users] Fax with Trunk

Brian West brian at freeswitch.org
Tue Sep 9 18:34:01 MSD 2014


You still haven't really provided anything additional to go on, look at the
logs, the signaling, it should be apparent what is going on, You've also
not told us what rev of FreeSWITCH you're running,

On Tue, Sep 9, 2014 at 8:08 AM, Hermouet Erwan <ehermouet at bluetel.fr> wrote:

>  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.orghttp://www.freeswitchsolutions.com
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
> --
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 
> 
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140909/7105291b/attachment-0001.html 


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