[Freeswitch-users] Gateway

Hossein Gholizadeh hggh96.hg at gmail.com
Fri Jun 1 07:08:46 UTC 2018


Thank you so much

Best regards

On Fri, Jun 1, 2018, 03:35 Nandy Dagondon <nandy1925 at gmail.com> wrote:

> Yes, the two "fax_enable_t38*" will signal to your gateway to enable T.38.
> Your gateway, of course, must be configured to T.38 mode when requested.
>
> Correction to my statement. mod_spandsp works with both ATA gateways and
> TDM cards.
>
>
>
> On Thu, May 31, 2018 at 4:10 AM, Hossein Gholizadeh <hggh96.hg at gmail.com>
> wrote:
>
>> You mean like this i have to enable T.38 ? may you explain it more about
>> configs?
>>
>> <action application="answer" />
>> <action application="playback" data="silence_stream://2000"/>
>> <action application="set" data="fax_enable_t38=true"/>
>> <action application="set" data="fax_enable_t38_request=true"/>
>> <action application="rxfax" data=" $${base_dir}/faxes/${uuid}.tif "/>
>> <action application="hangup"/>
>>
>>
>> On Thu, May 31, 2018 at 5:20 AM Nandy Dagondon <nandy1925 at gmail.com>
>> wrote:
>>
>>> If you're using an FXO gateway, use its T.38 feature.  In your dialplan,
>>> you're using spandsp (e.g. rxfax). They work only with FTDM analog cards
>>> e.g. Sangoma, Digium, etc. - I guess.
>>>
>>>
>>>
>>>
>>> On Tue, May 29, 2018 at 10:10 AM, Hossein Gholizadeh <
>>> hggh96.hg at gmail.com> wrote:
>>>
>>>> hi ... i have my gateway on 192.168.30.32 and a phone which connected
>>>> to gateway 984432250161.
>>>> I configured them like this :
>>>> 1.created a xml file in \conf\sip_profiles\external with
>>>> name cheap_tel.xml and the content is this :
>>>> <include>
>>>>    <gateway name="provider">
>>>>      <param name="proxy" value="192.168.30.32"/>
>>>>      <param name="register" value="false"/>
>>>>      <param name="caller-id-in-from" value="true"/> <!--Most gateways
>>>> seem to want this-->
>>>>      <param name="username" value="not-used"/>
>>>>      <param name="password" value="not-used"/>
>>>>    </gateway>
>>>> </include>
>>>>
>>>> 2.and in acl.conf added this node :
>>>>       <node type="allow" cidr="192.168.30.32/32"/>
>>>>
>>>> is my gateway config right ? because when i want to send a fax file by
>>>> loopback with this command i have no error but fax is not saved in
>>>> directory :
>>>> Command ----> originate sofia/gateway/provider/984432250161
>>>> &txfax(C:/test.tiff)
>>>>
>>>> And also my dialplan configs for fax is this :
>>>>  <extension name="fax_detect">
>>>>       <condition field="destination_number" expression="^984432250161$">
>>>>         <action application="answer" />
>>>>         <action application="set" data="transfer_ringback=${us-ring}" />
>>>> <action application="spandsp_start_fax_detect" data="transfer '9978
>>>>                                 XML default' 10 ced"/>
>>>>         <action application="bridge" data="user/$1@${domain_name}" />
>>>>       </condition>
>>>>     </extension>
>>>>
>>>>     <extension name="fax_receive">
>>>>   <condition field="destination_number" expression="^9978$">
>>>> <action application="answer" />
>>>> <action application="playback" data="silence_stream://2000"/>
>>>> <action application="rxfax" data="$${base_dir}/faxes/${uuid}.tif"/>
>>>> <action application="hangup"/>
>>>>   </condition>
>>>>     </extension>
>>>>
>>>> Can any one help me?
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> 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
>>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Services
>>> sales at freeswitch.com
>>> https://freeswitch.com
>>>
>>> Official FreeSWITCH Sites
>>> https://freeswitch.com/oss
>>> https://freeswitch.org/confluence
>>> https://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
>>> https://freeswitch.com
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://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
>> https://freeswitch.com
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180601/1c469e31/attachment.html>


More information about the FreeSWITCH-users mailing list