<div dir="ltr">Hello,<div><br></div><div>Maybe the password is wrong, <b>check the realm you have to use,</b> configure your xlite exactly like fs, that includes realm and domain/proxy.</div><div>Check the user actually exists, and also (again) check HIPATH's logs, there must be something in the logs as to why it sends a "Not Found"</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 29, 2016 at 11:50 AM, Scholz, Dieter <span dir="ltr"><<a href="mailto:rd-disc@gmx.net" target="_blank">rd-disc@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
thanks for your answer.<br>
<br>
I posted my sofia config in another mail today. I think that my config<br>
matches yours more or less. But when I start freeswitch the status of<br>
the connection is FAIL_WAIT. In the Wireshark log I saw that a REGISTER<br>
is send to the HIPATH but the answer is a 404. Any ideas what to test.<br>
Are there any sophia.conf.xml settings that are important?<br>
<br>
Dieter<br>
<div><div class="h5"><br>
Am 29.09.2016 um 11:31 schrieb David Villasmil:<br>
> this is what my gateway look like:<br>
><br>
> <gateways><br>
> <gateway name="whatever"><br>
> <param name="username" value="1001"/><br>
> <param name="realm" value="THE REALM AGAINST UPON<br>
> WHICH THE HASH WILL BE BUILT"/><br>
> <param name="password" value="password"/><br>
> <param name="extension" value="auto_to_user"/><br>
> <param name="context" value="public"/><br>
> <param name="proxy" value="IP ADDRESS OR DOMAIN"/><br>
> <param name="register" value="true"/><br>
> <param name="register-transport" value="tcp (or udp)"/><br>
> <param name="retry-seconds" value="15"/><br>
> </gateway><br>
> </gateways><br>
><br>
> This should work... If you get Not Found, try looking at your server's<br>
> log.<br>
><br>
> you also should create an outgoing gateway, even if you're not<br>
> registering, like:<br>
><br>
> assuming the outgoing gateway will not auth-challenge you:<br>
><br>
> <gateway name="outgoing_gw"><br>
> <param name="username" value="none"/><br>
> <param name="realm" value="whatever"/><br>
> <param name="password" value="none"/><br>
> <param name="context" value="public"/><br>
> <param name="proxy" value="IP ADDRESS OR DOMAIN"/><br>
> <param name="register" value="false"/><br>
> <param name="register-transport" value="tcp (or udp)"/><br>
> <param name="retry-seconds" value="15"/><br>
> </gateway><br>
><br>
> Adding it to the external is a good idea, so the final config will be:<br>
><br>
><br>
> <gateways><br>
><br>
> <gateway name="whatever"><br>
> <param name="username" value="1001"/><br>
> <param name="realm" value="THE REALM AGAINST UPON<br>
> WHICH THE HASH WILL BE BUILT"/><br>
> <param name="password" value="password"/><br>
> <param name="extension" value="auto_to_user"/><br>
> <param name="context" value="public"/><br>
> <param name="proxy" value="IP ADDRESS OR DOMAIN"/><br>
> <param name="register" value="true"/><br>
> <param name="register-transport" value="tcp (or udp)"/><br>
> <param name="retry-seconds" value="15"/><br>
> </gateway><br>
><br>
> <gateway name="outgoing_gw"><br>
> <param name="username"<br>
> value="does_not_matter_will_<wbr>not_be used_but_must_be_set"/><br>
> <param name="realm" value="SAME AS PROXY"/><br>
> <param name="password"<br>
> value="does_not_matter_will_<wbr>not_be used_but_must_be_set"/><br>
> <param name="context" value="public"/><br>
> <param name="proxy" value="IP ADDRESS OR DOMAIN"/><br>
> <param name="register" value="false"/><br>
> <param name="register-transport" value="tcp (or udp)"/><br>
> <param name="retry-seconds" value="15"/><br>
> </gateway><br>
><br>
> </gateways><br>
><br>
><br>
> Once this is working and you see it REGED, calls will be coming in (as<br>
> per "context") on the public dialplan... the you just need to bridge<br>
> it like:<br>
><br>
> <extension name="forward call"><br>
> <condition field="destination_number" expression="^(whatever your<br>
> regexp is)$"><br>
> <action application="info"/><br>
> <action application="bridge" data="sofia/gateway/outgoing_<wbr>gw/$1"/><br>
> <action application="hangup"/><br>
> </condition><br>
> </extension><br>
><br>
> I hope I was able to help..<br>
><br>
> Enjoy freeSWITCH, it's fantastic!<br>
><br>
> David<br>
><br>
> On Thu, Sep 29, 2016 at 9:40 AM, Scholz, Dieter <<a href="mailto:rd-disc@gmx.net">rd-disc@gmx.net</a><br>
</div></div><span class="">> <mailto:<a href="mailto:rd-disc@gmx.net">rd-disc@gmx.net</a>>> wrote:<br>
><br>
> Hello,<br>
><br>
> thanks for your comment. The URL you mentioned will be helpful, when I<br>
> reach the dialplan stage.<br>
><br>
> But at the moment I have problems connecting to the HIPATH maschine. I<br>
> gave some more details in another post.<br>
><br>
> Dieter<br>
><br>
><br>
> Am 28.09.2016 um 17:25 schrieb Stanislav Sinyagin:<br>
> > you need to create one more gateway that will communicate to<br>
> your SIP<br>
> > provider. This gateway can be configured with username and<br>
> password if<br>
> > the ITSP requires authentication.<br>
> ><br>
> > Then, you will need to create the dialplan that accepts calls from<br>
> > each of these gateways and routes them to the other gateway.<br>
> ><br>
> > It's quite trivial once you figure out how SIP profiles and dialplan<br>
> > contexts work together.<br>
> ><br>
> > Hopefully this will provide you some hints:<br>
> ><br>
> <a href="https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+PBX+Example" rel="noreferrer" target="_blank">https://freeswitch.org/<wbr>confluence/display/FREESWITCH/<wbr>FreeSWITCH+PBX+Example</a><br>
> <<a href="https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+PBX+Example" rel="noreferrer" target="_blank">https://freeswitch.org/<wbr>confluence/display/FREESWITCH/<wbr>FreeSWITCH+PBX+Example</a>><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > On Wed, Sep 28, 2016 at 2:22 PM, Scholz, Dieter <<a href="mailto:rd-disc@gmx.net">rd-disc@gmx.net</a><br>
</span><div><div class="h5">> <mailto:<a href="mailto:rd-disc@gmx.net">rd-disc@gmx.net</a>>> wrote:<br>
> >> Hello,<br>
> >><br>
> >> this is my problem:<br>
> >><br>
> >> I would like to use Freeswitch as a gateway between our Hipath<br>
> PBX and<br>
> >> an external SIP provider.<br>
> >><br>
> >> For that I created a Hipath SIP account that is working (tested<br>
> with<br>
> >> X-lite). Now I would like to let Freeswitch act as a client<br>
> using this<br>
> >> SIP account. Whenever there is an incoming call Freeswitch<br>
> should act on<br>
> >> it and forward this call to an external SIP provider.<br>
> >><br>
> >> Is this possible? Does that make sense? Are there alternatives?<br>
> >><br>
> >> At the moment I'm stuck to configure Freeswitch as a client. I<br>
> added the<br>
> >> Hipath SIP account as a gateway. When I compare the SIP traffic of<br>
> >> X-lite and Freeswitch using Wireshark I found out that<br>
> Freeswitch dows<br>
> >> not offer the 'Subscribe' option. Is this the reason why it fails?<br>
> >><br>
> >> Can you help me?<br>
> >><br>
> >> Thanks in advance.<br>
> >><br>
> >> Dieter<br>
> >><br>
> >><br>
> ______________________________<wbr>______________________________<wbr>_____________<br>
> >> Professional FreeSWITCH Consulting Services:<br>
</div></div>> >> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> <mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.<wbr>org</a>><br>
> >> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<span class="">> <<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>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>
</span>> >> <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a> <<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a>><br>
<span class="">> >> <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">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
</span>> <mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@<wbr>lists.freeswitch.org</a>><br>
> >> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
<span class="">> <<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a>><br>
> >><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
> <<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/options/freeswitch-<wbr>users</a>><br>
> >> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
> ><br>
> ______________________________<wbr>______________________________<wbr>_____________<br>
> > Professional FreeSWITCH Consulting Services:<br>
</span>> > <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> <mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.<wbr>org</a>><br>
> > <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<span class="">> <<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>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>
</span>> > <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a> <<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a>><br>
<span class="">> > <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">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
</span>> <mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@<wbr>lists.freeswitch.org</a>><br>
> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
<span class="">> <<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a>><br>
> ><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
> <<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/options/freeswitch-<wbr>users</a>><br>
> > <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
> ______________________________<wbr>______________________________<wbr>_____________<br>
> Professional FreeSWITCH Consulting Services:<br>
</span>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> <mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.<wbr>org</a>><br>
> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<span class="">> <<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>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>
</span>> <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a> <<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a>><br>
<span class="">> <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">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
</span>> <mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@<wbr>lists.freeswitch.org</a>><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
<div class="HOEnZb"><div class="h5">> <<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a>><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
> <<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/options/freeswitch-<wbr>users</a>><br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
><br>
><br>
> ______________________________<wbr>______________________________<wbr>_____________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>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.<wbr>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">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>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.<wbr>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">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>