<div dir="ltr">


















<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">More info:<span></span></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span> </span></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">As I said my gateway is on 192.168.30.32. I want to send a fax from a
fax server which is out of my network for example a website that gives me fax
server like <a href="http://fax.ir">fax.ir</a> . my topology :<span></span></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span> </span></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><b>Fax.ir <==> gateway(it's on 192.168.30.32) <==>
freeswitch(it's running on 192.168.30.211) <span> </span><span></span></b></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span> </span></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">When I send fax from <a href="http://fax.ir">fax.ir</a> to my freeswitch , I want the gateway
receive the fax and detect it and then send it to fax_receive extension which
saves the fax in a directory .<span></span></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span> </span></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">Also I must say that my phone number(984432250161) is connected to the
gateway modem FXO1.<span></span></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span> </span></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">The issue is that when I want to send fax from <a href="http://fax.ir">fax.ir</a> to freeswitch ,
fax is not received . <span></span></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">And I have to say that my gateway is not registered in freeswitch . is
the problem because of that gate way is not registered ? <span></span></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span> </span></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">Here is screenshot of my freeswitch gateway configurations on HX4E and
my dialplan configs for detection and receiving fax<span></span></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span> </span></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">Best regards<span></span></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">Hossein<span></span></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span> </span></p>

<p class="MsoNormal" dir="LTR" style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span> </span></p>





<br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, May 30, 2018 at 1:54 PM Tihomir Culjaga <<a href="mailto:tculjaga@gmail.com">tculjaga@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">you didn't explain the scenario you are trying to achieve so im afraid not many can help you.</span>

<br><div><br></div><div>here i don't understand if you are trying to register freeswitch to an external provider or you need freeswitch to be a registrar for inbound registration.</div><div>Also, you didn't explain how remote fax machine communicates with your freeswitch.</div><div><br></div><div><br></div><div>you need to explain the topology as simple as this:</div><div><br></div><div>fax_machine <==> something <==> freeswitch</div><div><br></div><div><br></div><div>here from your e-mail i cannot guess whether you are trying to register freeswitch to a provider or you want to register a remote gateway to freeswitch. These are 2 different things and you need to explain it better in order to get help.</div><div><br></div><div>Regards,</div><div>Tihomir.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 30 May 2018 at 07:22, Hossein Gholizadeh <span dir="ltr"><<a href="mailto:hggh96.hg@gmail.com" target="_blank">hggh96.hg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all<div>I need to send fax from a fax machine which is out of our network to our freeswitch </div><div>i need to register my gateway in freeswitch . my gateway configs is on HX4E which is on 192.168.30.32 .</div><div>here i added a xml file in /conf/sip-profiles/external which content is like this:</div><div><br></div><div>-------------------------------------------------------------------------------------------------------</div><div><div><font color="#0000ff"><include></font></div><div><font color="#0000ff">   <gateway name="provider"></font></div><div><font color="#0000ff"><span style="white-space:pre-wrap"> </span> <param name="realm" value="192.168.30.32"/></font></div><div><font color="#0000ff">     <param name="proxy" value="<a href="http://192.168.30.211:5060" target="_blank">192.168.30.211:5060</a>"/></font></div><div><font color="#0000ff">     <param name="register" value="true"/></font></div><div><font color="#0000ff">     <param name="caller-id-in-from" value="true"/> </font></div><div><font color="#0000ff">     <param name="username" value="<b>Etraabb2018</b>"/></font></div><div><font color="#0000ff">     <param name="password" value="<b>ET2018@)!*</b>"/></font></div><div><font color="#0000ff">   </gateway></font></div><div><font color="#0000ff"></include></font></div></div><div>------------------------------------------------------------------------------------------------------</div><div><br></div><div>but after running freeswitch it cannot be registered and says :</div><div>----------------------------------------------------------------------------------------------------------</div><div><div><b><font color="#ff0000">2018-05-30 09:47:58.634332 [NOTICE] sofia_reg.c:448 Registering providerA</font></b></div><div><b><font color="#ff0000">2018-05-30 09:47:58.634332 [NOTICE] sofia_reg.c:448 Registering provider</font></b></div><div><b><font color="#ff0000">2018-05-30 09:47:58.655309 [WARNING] sofia_reg.c:2906 Can't find user [<a href="mailto:Etraab2018@192.168.30.211" target="_blank">Etraab2018@192.168.30.211</a>] from 192.168.30.211</font></b></div><div><b><font color="#ff0000">You must define a domain called '192.168.30.211' in your directory and add a user with the id="Etraab2018" attribute</font></b></div><div><b><font color="#ff0000">and you must configure your device to use the proper domain in it's authentication credentials.</font></b></div><div><b><font color="#ff0000">2018-05-30 09:47:58.675323 [ERR] sofia_reg.c:2447 provider Failed Registration with status Forbidden [403]. failure #8</font></b></div><div><b><font color="#ff0000">2018-05-30 09:47:58.684466 [ERR] sofia_reg.c:2447 providerA Failed Registration with status Method Not Allowed [405]. failure #8</font></b></div><div><b><font color="#ff0000">2018-05-30 09:47:59.634936 [WARNING] sofia_reg.c:505 providerA Failed Registration [405], setting retry to 240 seconds.</font></b></div><div><b><font color="#ff0000">2018-05-30 09:47:59.644552 [WARNING] sofia_reg.c:505 provider Failed Registration [403], setting retry to 240 seconds.</font></b></div></div><div>

<br class="m_8627435202407810342m_708805372826627864gmail-Apple-interchange-newline"><span style="color:rgb(34,34,34);font-family:sans-serif;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">----------------------------------------------------------------------------------------------------------</span> </div><div>can anyone help me?  <br></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div>