[Freeswitch-users] Gateway

Hossein Gholizadeh hggh96.hg at gmail.com
Tue May 29 10:10:00 UTC 2018

hi ... i have my gateway on 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 :
   <gateway name="provider">
     <param name="proxy" value=""/>
     <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"/>

2.and in acl.conf added this node :
      <node type="allow" cidr=""/>

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

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}" />

    <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"/>

Can any one help me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180529/e2612538/attachment.html>

More information about the FreeSWITCH-users mailing list