hi, 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 Regards, Bipin ------------------------------------------------------------------------ -------- Original Message -------- Subject: Re: [Freeswitch-users] Gateway From: Hossein Gholizadeh <hggh96.hg@gmail.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Date: 5/30/2018, 2:38:41 PM
More info:
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 fax.ir <http://fax.ir> . my topology :
*Fax.ir <==> gateway(it's on 192.168.30.32) <==> freeswitch(it's running on 192.168.30.211) *
When I send fax from fax.ir <http://fax.ir> 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 .
Also I must say that my phone number(984432250161) is connected to the gateway modem FXO1.
The issue is that when I want to send fax from fax.ir <http://fax.ir> to freeswitch , fax is not received .
And I have to say that my gateway is not registered in freeswitch . is the problem because of that gate way is not registered ?
Here is screenshot of my freeswitch gateway configurations on HX4E and my dialplan configs for detection and receiving fax
Best regards
Hossein
On Wed, May 30, 2018 at 1:54 PM Tihomir Culjaga <tculjaga@gmail.com <mailto:tculjaga@gmail.com>> wrote:
you didn't explain the scenario you are trying to achieve so im afraid not many can help you.
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. Also, you didn't explain how remote fax machine communicates with your freeswitch.
you need to explain the topology as simple as this:
fax_machine <==> something <==> freeswitch
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.
Regards, Tihomir.
On 30 May 2018 at 07:22, Hossein Gholizadeh <hggh96.hg@gmail.com <mailto:hggh96.hg@gmail.com>> wrote:
Hello all I need to send fax from a fax machine which is out of our network to our freeswitch i need to register my gateway in freeswitch . my gateway configs is on HX4E which is on 192.168.30.32 . here i added a xml file in /conf/sip-profiles/external which content is like this:
------------------------------------------------------------------------------------------------------- <include> <gateway name="provider"> <param name="realm" value="192.168.30.32"/> <param name="proxy" value="192.168.30.211:5060 <http://192.168.30.211:5060>"/> <param name="register" value="true"/> <param name="caller-id-in-from" value="true"/> <param name="username" value="*Etraabb2018*"/> <param name="password" value="*ET2018@)!**"/> </gateway> </include> ------------------------------------------------------------------------------------------------------
but after running freeswitch it cannot be registered and says : ---------------------------------------------------------------------------------------------------------- *2018-05-30 09:47:58.634332 [NOTICE] sofia_reg.c:448 Registering providerA* *2018-05-30 09:47:58.634332 [NOTICE] sofia_reg.c:448 Registering provider* *2018-05-30 09:47:58.655309 [WARNING] sofia_reg.c:2906 Can't find user [Etraab2018@192.168.30.211 <mailto:Etraab2018@192.168.30.211>] from 192.168.30.211* *You must define a domain called '192.168.30.211' in your directory and add a user with the id="Etraab2018" attribute* *and you must configure your device to use the proper domain in it's authentication credentials.* *2018-05-30 09:47:58.675323 [ERR] sofia_reg.c:2447 provider Failed Registration with status Forbidden [403]. failure #8* *2018-05-30 09:47:58.684466 [ERR] sofia_reg.c:2447 providerA Failed Registration with status Method Not Allowed [405]. failure #8* *2018-05-30 09:47:59.634936 [WARNING] sofia_reg.c:505 providerA Failed Registration [405], setting retry to 240 seconds.* *2018-05-30 09:47:59.644552 [WARNING] sofia_reg.c:505 provider Failed Registration [403], setting retry to 240 seconds.*
----------------------------------------------------------------------------------------------------------
can anyone help me?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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 Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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 Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org