<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font size="-1"><font face="Arial">hi,<br>
<br>
the things thats happening is your FS doesnt need to define a
gateway but it should have the user defined in the directory
folder or allowed by IP so this way then it can receive the
calls and then process the context and dialplan<br>
<br>
<br>
</font></font>
<div class="moz-signature">
<style>
body {
font-family: Verdana, sans-serif;
font-size: 0.8em;
color:#484848;
}
h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin:0in; margin-bottom:.0001pt; }
p.footr { font-family: "Trebuchet MS", Verdana, sans-serif; margin:0in; margin-bottom:.0001pt; }
h1 { font-size: 1.2em; }
h2, h3 { font-size: 1.1em; }
a, a:link, a:visited { color: #2A5685;}
a:hover, a:active { color: #c61a1a; }
a.wiki-anchor { display: none; }
hr {
width: 100%;
height: 1px;
background: #ccc;
border: 0;
}
</style>Regards,<br>
Bipin<br>
<br>
<br>
<hr>
</div>
<div class="moz-cite-prefix">-------- Original Message --------<br>
Subject: Re: [Freeswitch-users] Gateway<br>
From: Hossein Gholizadeh <a class="moz-txt-link-rfc2396E" href="mailto:hggh96.hg@gmail.com"><hggh96.hg@gmail.com></a><br>
To: FreeSWITCH Users Help
<a class="moz-txt-link-rfc2396E" href="mailto:freeswitch-users@lists.freeswitch.org"><freeswitch-users@lists.freeswitch.org></a><br>
Date: 5/30/2018, 2:38:41 PM<br>
</div>
<blockquote type="cite"
cite="mid:CAA7fESL+F+_g7yC4UxvRV209P=CiJkvMxxX7FYWGtwrhhAJw=g@mail.gmail.com">
<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" moz-do-not-send="true">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"
moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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"
moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank" moz-do-not-send="true">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">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"
moz-do-not-send="true">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
</div>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank"
moz-do-not-send="true">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank" moz-do-not-send="true">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
rel="noreferrer" target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.freeswitch.org</a></blockquote>
</div>
<!--'"--><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
</body>
</html>