Port Required to communicate with Gateway
Hi, I have installed freeswitch on a Virtual Machine, and I am not able to configure the gateway for some reason. Can someone tell me which ports are required and need to be opened on the virtual machine to communicate with Gateway in freeswitch? Since all the ports are not opened in the Virtual Machine, this could help me open up those ports and configure Gateway for freeswitch Much help is needed. It's Urgent Thanks in advance.
For the SIP control channel the conventional port is 5060 for UDP, or 5061 for TLS. But these can be changed in each config file under ${conf_dir}/sip_profiles If you run more than one SIP profile on a single IP address, each profile must use a different port, of course. The RTP media ports can be configured in ${conf_dir}/autoload_configs/switch.conf.xml: <param name="rtp-start-port" value="16384"/> <param name="rtp-end-port" value="32768"/> You must restart FreeSWITCH after changing these values. These articles on the wiki might help you further: https://freeswitch.org/confluence/display/FREESWITCH/Amazon+EC2 https://freeswitch.org/confluence/display/FREESWITCH/NAT+Traversal Hope this helps. --- John Boteler BnC Group U.S.A. From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Harshita Pandey Sent: Thursday, 8 October, 2020 07:02 To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Port Required to communicate with Gateway Hi, I have installed freeswitch on a Virtual Machine, and I am not able to configure the gateway for some reason. Can someone tell me which ports are required and need to be opened on the virtual machine to communicate with Gateway in freeswitch? Since all the ports are not opened in the Virtual Machine, this could help me open up those ports and configure Gateway for freeswitch Much help is needed. It's Urgent Thanks in advance.
On Thu, 08 Oct 2020 07:01:45 -0400, Harshita Pandey wrote:
[1 <multipart/alternative (7bit)>] [1.1 <text/plain; UTF-8 (7bit)>] Hi,
I have installed freeswitch on a Virtual Machine, and I am not able to configure the gateway for some reason. Can someone tell me which ports are required and need to be opened on the virtual machine to communicate with Gateway in freeswitch? Since all the ports are not opened in the Virtual Machine, this could help me open up those ports and configure Gateway for freeswitch
Depending on your configuration, you may need 5060 through 5080. But you need to know the ports, each freeswitch profile must specify the ip address and port it listens on. I hope that helps. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una covici@ccs.covici.com
How do I find The IP address and port to which the freeswitch I have installed is listening? Actually, I tried running the command "sudo netstat nltp" and it is showing various ports in which freeswitch is running. On Thu, Oct 8, 2020 at 5:43 PM John Covici <covici@ccs.covici.com> wrote:
On Thu, 08 Oct 2020 07:01:45 -0400, Harshita Pandey wrote:
[1 <multipart/alternative (7bit)>] [1.1 <text/plain; UTF-8 (7bit)>] Hi,
I have installed freeswitch on a Virtual Machine, and I am not able to configure the gateway for some reason. Can someone tell me which ports
are
required and need to be opened on the virtual machine to communicate with Gateway in freeswitch? Since all the ports are not opened in the Virtual Machine, this could help me open up those ports and configure Gateway for freeswitch
Depending on your configuration, you may need 5060 through 5080. But you need to know the ports, each freeswitch profile must specify the ip address and port it listens on.
I hope that helps.
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici wb2una covici@ccs.covici.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
Freeswitch uses different profiles for outgoing and incoming calls. The default port for an internal profile is 5060 and external profile uses 5080. Can you provide more details about the gateway and what you are trying to do? On Thu, Oct 8, 2020 at 4:58 PM Harshita Pandey <harshita19012@iiitd.ac.in> wrote:
Hi,
I have installed freeswitch on a Virtual Machine, and I am not able to configure the gateway for some reason. Can someone tell me which ports are required and need to be opened on the virtual machine to communicate with Gateway in freeswitch? Since all the ports are not opened in the Virtual Machine, this could help me open up those ports and configure Gateway for freeswitch
Much help is needed. It's Urgent Thanks in advance. _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
Okay. I am actually trying to configure Gateway so that I can start making calls through a number. The virtual machine in which I have installed freeswitch has only port 22 opened, so wanted to know the other ports which need to be opened to configure the Gateway correctly. I get the following errors: MySIP Failed Registration with status Forbidden [403]. failure #1still getting the same error OR MySIP failed Registration error [503]. retrying in 30 seconds. According to what I have understood this is because some ports are not opened in the VM On Thu, Oct 8, 2020 at 7:52 PM Jay Desai <rangeare.01@gmail.com> wrote:
Freeswitch uses different profiles for outgoing and incoming calls. The default port for an internal profile is 5060 and external profile uses 5080. Can you provide more details about the gateway and what you are trying to do?
On Thu, Oct 8, 2020 at 4:58 PM Harshita Pandey <harshita19012@iiitd.ac.in> wrote:
Hi,
I have installed freeswitch on a Virtual Machine, and I am not able to configure the gateway for some reason. Can someone tell me which ports are required and need to be opened on the virtual machine to communicate with Gateway in freeswitch? Since all the ports are not opened in the Virtual Machine, this could help me open up those ports and configure Gateway for freeswitch
Much help is needed. It's Urgent Thanks in advance. _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
I suspect this to be something related to your sip configuration. If you are getting 4XX or 5XX response from gateway means the ports are open (you don't have to open ports for outbound connections unless they are explicitly blocked by any firewall or program.) Share your sip trace by executing *sofia global sip trace on* or by using the *tcpdump* command. On Thu, Oct 8, 2020 at 8:44 PM Harshita Pandey <harshita19012@iiitd.ac.in> wrote:
Okay. I am actually trying to configure Gateway so that I can start making calls through a number. The virtual machine in which I have installed freeswitch has only port 22 opened, so wanted to know the other ports which need to be opened to configure the Gateway correctly.
I get the following errors: MySIP Failed Registration with status Forbidden [403]. failure #1still getting the same error OR MySIP failed Registration error [503]. retrying in 30 seconds.
According to what I have understood this is because some ports are not opened in the VM
On Thu, Oct 8, 2020 at 7:52 PM Jay Desai <rangeare.01@gmail.com> wrote:
Freeswitch uses different profiles for outgoing and incoming calls. The default port for an internal profile is 5060 and external profile uses 5080. Can you provide more details about the gateway and what you are trying to do?
On Thu, Oct 8, 2020 at 4:58 PM Harshita Pandey <harshita19012@iiitd.ac.in> wrote:
Hi,
I have installed freeswitch on a Virtual Machine, and I am not able to configure the gateway for some reason. Can someone tell me which ports are required and need to be opened on the virtual machine to communicate with Gateway in freeswitch? Since all the ports are not opened in the Virtual Machine, this could help me open up those ports and configure Gateway for freeswitch
Much help is needed. It's Urgent Thanks in advance. _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
I executed the sofia global siptrace on command and get the following error 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 sip-ip [192.168.2.215] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 ext-rtp-ip [103.25.231.107] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 ext-sip-ip [103.25.231.107] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 rtp-timeout-sec [300] 2020-10-19 07:18:34.576508 [WARNING] sofia.c:5192 rtp-timeout-sec deprecated use media_timeout variable. 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 rtp-hold-timeout-sec [1800] 2020-10-19 07:18:34.576508 [WARNING] sofia.c:5199 rtp-hold-timeout-sec deprecated use media_hold_timeout variable. 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls [false] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-only [false] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-bind-params [transport=tls] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-sip-port [5081] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-passphrase [] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-verify-date [true] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-verify-policy [none] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-verify-depth [2] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-verify-in-subjects [] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-version [tlsv1,tlsv1.1,tlsv1.2] 2020-10-19 07:18:34.576508 [INFO] sofia.c:5993 Setting MAX Auth Validity to 0 Attempts 2020-10-19 07:18:34.576508 [NOTICE] sofia.c:6160 Started Profile external [sofia_reg_external] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3134 Creating agent for external 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3253 Created agent for external 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3302 Set params for external 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3349 Activated db for external 2020-10-19 07:18:34.576508 [INFO] switch_core_sqldb.c:1870 sofia:external Starting SQL thread. 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3387 Starting thread for external 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3034 Launching worker thread for external 2020-10-19 07:18:34.576508 [NOTICE] sofia_reg.c:3426 Added gateway 'MySIP' to profile 'external' 2020-10-19 07:18:34.576508 [NOTICE] sofia_reg.c:3426 Added gateway 'MySIP1' to profile 'external' 2020-10-19 07:18:34.576508 [NOTICE] sofia_reg.c:3426 Added gateway 'example.com' to profile 'external' 2020-10-19 07:18:35.576510 [NOTICE] sofia_reg.c:453 Registering MySIP1 2020-10-19 07:18:35.576510 [NOTICE] sofia_reg.c:453 Registering MySIP 2020-10-19 07:18:35.756510 [ERR] sofia_reg.c:2469 MySIP1 Failed Registration with status Service Unavailable [503]. failure #1 2020-10-19 07:18:35.756510 [ERR] sofia_reg.c:2469 MySIP Failed Registration with status Service Unavailable [503]. failure #1 2020-10-19 07:18:36.576508 [WARNING] sofia_reg.c:510 MySIP1 Failed Registration [503], setting retry to 5 seconds. 2020-10-19 07:18:36.576508 [WARNING] sofia_reg.c:510 MySIP Failed Registration [503], setting retry to 30 seconds. 2020-10-19 07:18:42.596508 [NOTICE] sofia_reg.c:453 Registering MySIP1 2020-10-19 07:18:42.956509 [ERR] sofia_reg.c:2469 MySIP1 Failed Registration with status Service Unavailable [503]. failure #2 2020-10-19 07:18:43.596508 [WARNING] sofia_reg.c:510 MySIP1 Failed Registration [503], setting retry to 5 seconds. 2020-10-19 07:18:49.596509 [NOTICE] sofia_reg.c:453 Registering MySIP1 2020-10-19 07:18:49.956507 [ERR] sofia_reg.c:2469 MySIP1 Failed Registration with status Service Unavailable [503]. failure #3 2020-10-19 07:18:50.596510 [WARNING] sofia_reg.c:510 MySIP1 Failed Registration [503], setting retry to 5 seconds. On Fri, Oct 9, 2020 at 2:52 AM Jay Desai <rangeare.01@gmail.com> wrote:
I suspect this to be something related to your sip configuration. If you are getting 4XX or 5XX response from gateway means the ports are open (you don't have to open ports for outbound connections unless they are explicitly blocked by any firewall or program.)
Share your sip trace by executing *sofia global sip trace on* or by using the *tcpdump* command.
On Thu, Oct 8, 2020 at 8:44 PM Harshita Pandey <harshita19012@iiitd.ac.in> wrote:
Okay. I am actually trying to configure Gateway so that I can start making calls through a number. The virtual machine in which I have installed freeswitch has only port 22 opened, so wanted to know the other ports which need to be opened to configure the Gateway correctly.
I get the following errors: MySIP Failed Registration with status Forbidden [403]. failure #1still getting the same error OR MySIP failed Registration error [503]. retrying in 30 seconds.
According to what I have understood this is because some ports are not opened in the VM
On Thu, Oct 8, 2020 at 7:52 PM Jay Desai <rangeare.01@gmail.com> wrote:
Freeswitch uses different profiles for outgoing and incoming calls. The default port for an internal profile is 5060 and external profile uses 5080. Can you provide more details about the gateway and what you are trying to do?
On Thu, Oct 8, 2020 at 4:58 PM Harshita Pandey < harshita19012@iiitd.ac.in> wrote:
Hi,
I have installed freeswitch on a Virtual Machine, and I am not able to configure the gateway for some reason. Can someone tell me which ports are required and need to be opened on the virtual machine to communicate with Gateway in freeswitch? Since all the ports are not opened in the Virtual Machine, this could help me open up those ports and configure Gateway for freeswitch
Much help is needed. It's Urgent Thanks in advance.
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 sip-ip [192.168.2.215] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 ext-rtp-ip [103.25.231.107] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 ext-sip-ip [103.25.231.107] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 rtp-timeout-sec [300] 2020-10-19 07:18:34.576508 [WARNING] sofia.c:5192 rtp-timeout-sec deprecated use media_timeout variable. 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 rtp-hold-timeout-sec [1800] 2020-10-19 07:18:34.576508 [WARNING] sofia.c:5199 rtp-hold-timeout-sec deprecated use media_hold_timeout variable. 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls [false] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-only [false] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-bind-params [transport=tls] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-sip-port [5081] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-passphrase [] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-verify-date [true] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-verify-policy [none] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-verify-depth [2] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-verify-in-subjects [] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-version [tlsv1,tlsv1.1,tlsv1.2] 2020-10-19 07:18:34.576508 [INFO] sofia.c:5993 Setting MAX Auth Validity to 0 Attempts 2020-10-19 07:18:34.576508 [NOTICE] sofia.c:6160 Started Profile external [sofia_reg_external] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3134 Creating agent for external 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3253 Created agent for external 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3302 Set params for external 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3349 Activated db for external 2020-10-19 07:18:34.576508 [INFO] switch_core_sqldb.c:1870 sofia:external Starting SQL thread. 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3387 Starting thread for external 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3034 Launching worker thread for external 2020-10-19 07:18:34.576508 [NOTICE] sofia_reg.c:3426 Added gateway 'MySIP' to profile 'external' 2020-10-19 07:18:34.576508 [NOTICE] sofia_reg.c:3426 Added gateway 'MySIP1' to profile 'external' 2020-10-19 07:18:34.576508 [NOTICE] sofia_reg.c:3426 Added gateway ' example.com' to profile 'external' 2020-10-19 07:18:35.576510 [NOTICE] sofia_reg.c:453 Registering MySIP1 2020-10-19 07:18:35.576510 [NOTICE] sofia_reg.c:453 Registering MySIP 2020-10-19 07:18:35.756510 [ERR] sofia_reg.c:2469 MySIP1 Failed Registration with status Service Unavailable [503]. failure #1 2020-10-19 07:18:35.756510 [ERR] sofia_reg.c:2469 MySIP Failed Registration with status Service Unavailable [503]. failure #1 2020-10-19 07:18:36.576508 [WARNING] sofia_reg.c:510 MySIP1 Failed Registration [503], setting retry to 5 seconds. 2020-10-19 07:18:36.576508 [WARNING] sofia_reg.c:510 MySIP Failed Registration [503], setting retry to 30 seconds. 2020-10-19 07:18:42.596508 [NOTICE] sofia_reg.c:453 Registering MySIP1 2020-10-19 07:18:42.956509 [ERR] sofia_reg.c:2469 MySIP1 Failed Registration with status Service Unavailable [503]. failure #2 2020-10-19 07:18:43.596508 [WARNING] sofia_reg.c:510 MySIP1 Failed Registration [503], setting retry to 5 seconds. 2020-10-19 07:18:49.596509 [NOTICE] sofia_reg.c:453 Registering MySIP1 2020-10-19 07:18:49.956507 [ERR] sofia_reg.c:2469 MySIP1 Failed Registration with status Service Unavailable [503]. failure #3 2020-10-19 07:18:50.596510 [WARNING] sofia_reg.c:510 MySIP1 Failed Registration [503], setting retry to 5 seconds. On Mon, Oct 19, 2020 at 12:50 PM Harshita Pandey <harshita19012@iiitd.ac.in> wrote:
I executed the sofia global siptrace on command and get the following error
2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 sip-ip [192.168.2.215] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 ext-rtp-ip [103.25.231.107] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 ext-sip-ip [103.25.231.107] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 rtp-timeout-sec [300] 2020-10-19 07:18:34.576508 [WARNING] sofia.c:5192 rtp-timeout-sec deprecated use media_timeout variable. 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 rtp-hold-timeout-sec [1800] 2020-10-19 07:18:34.576508 [WARNING] sofia.c:5199 rtp-hold-timeout-sec deprecated use media_hold_timeout variable. 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls [false] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-only [false] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-bind-params [transport=tls] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-sip-port [5081] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-passphrase [] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-verify-date [true] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-verify-policy [none] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-verify-depth [2] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-verify-in-subjects [] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:4597 tls-version [tlsv1,tlsv1.1,tlsv1.2] 2020-10-19 07:18:34.576508 [INFO] sofia.c:5993 Setting MAX Auth Validity to 0 Attempts 2020-10-19 07:18:34.576508 [NOTICE] sofia.c:6160 Started Profile external [sofia_reg_external] 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3134 Creating agent for external 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3253 Created agent for external 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3302 Set params for external 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3349 Activated db for external 2020-10-19 07:18:34.576508 [INFO] switch_core_sqldb.c:1870 sofia:external Starting SQL thread. 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3387 Starting thread for external 2020-10-19 07:18:34.576508 [DEBUG] sofia.c:3034 Launching worker thread for external 2020-10-19 07:18:34.576508 [NOTICE] sofia_reg.c:3426 Added gateway 'MySIP' to profile 'external' 2020-10-19 07:18:34.576508 [NOTICE] sofia_reg.c:3426 Added gateway 'MySIP1' to profile 'external' 2020-10-19 07:18:34.576508 [NOTICE] sofia_reg.c:3426 Added gateway 'example.com' to profile 'external' 2020-10-19 07:18:35.576510 [NOTICE] sofia_reg.c:453 Registering MySIP1 2020-10-19 07:18:35.576510 [NOTICE] sofia_reg.c:453 Registering MySIP 2020-10-19 07:18:35.756510 [ERR] sofia_reg.c:2469 MySIP1 Failed Registration with status Service Unavailable [503]. failure #1 2020-10-19 07:18:35.756510 [ERR] sofia_reg.c:2469 MySIP Failed Registration with status Service Unavailable [503]. failure #1 2020-10-19 07:18:36.576508 [WARNING] sofia_reg.c:510 MySIP1 Failed Registration [503], setting retry to 5 seconds. 2020-10-19 07:18:36.576508 [WARNING] sofia_reg.c:510 MySIP Failed Registration [503], setting retry to 30 seconds. 2020-10-19 07:18:42.596508 [NOTICE] sofia_reg.c:453 Registering MySIP1 2020-10-19 07:18:42.956509 [ERR] sofia_reg.c:2469 MySIP1 Failed Registration with status Service Unavailable [503]. failure #2 2020-10-19 07:18:43.596508 [WARNING] sofia_reg.c:510 MySIP1 Failed Registration [503], setting retry to 5 seconds. 2020-10-19 07:18:49.596509 [NOTICE] sofia_reg.c:453 Registering MySIP1 2020-10-19 07:18:49.956507 [ERR] sofia_reg.c:2469 MySIP1 Failed Registration with status Service Unavailable [503]. failure #3 2020-10-19 07:18:50.596510 [WARNING] sofia_reg.c:510 MySIP1 Failed Registration [503], setting retry to 5 seconds.
On Fri, Oct 9, 2020 at 2:52 AM Jay Desai <rangeare.01@gmail.com> wrote:
I suspect this to be something related to your sip configuration. If you are getting 4XX or 5XX response from gateway means the ports are open (you don't have to open ports for outbound connections unless they are explicitly blocked by any firewall or program.)
Share your sip trace by executing *sofia global sip trace on* or by using the *tcpdump* command.
On Thu, Oct 8, 2020 at 8:44 PM Harshita Pandey <harshita19012@iiitd.ac.in> wrote:
Okay. I am actually trying to configure Gateway so that I can start making calls through a number. The virtual machine in which I have installed freeswitch has only port 22 opened, so wanted to know the other ports which need to be opened to configure the Gateway correctly.
I get the following errors: MySIP Failed Registration with status Forbidden [403]. failure #1still getting the same error OR MySIP failed Registration error [503]. retrying in 30 seconds.
According to what I have understood this is because some ports are not opened in the VM
On Thu, Oct 8, 2020 at 7:52 PM Jay Desai <rangeare.01@gmail.com> wrote:
Freeswitch uses different profiles for outgoing and incoming calls. The default port for an internal profile is 5060 and external profile uses 5080. Can you provide more details about the gateway and what you are trying to do?
On Thu, Oct 8, 2020 at 4:58 PM Harshita Pandey < harshita19012@iiitd.ac.in> wrote:
Hi,
I have installed freeswitch on a Virtual Machine, and I am not able to configure the gateway for some reason. Can someone tell me which ports are required and need to be opened on the virtual machine to communicate with Gateway in freeswitch? Since all the ports are not opened in the Virtual Machine, this could help me open up those ports and configure Gateway for freeswitch
Much help is needed. It's Urgent Thanks in advance.
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
On 2020-10-08 16:31 (Thu), Harshita Pandey wrote:
Can someone tell me which ports are required and need to be opened on the virtual machine to communicate with Gateway in freeswitch?
I've snipped this from our dockerfile, not all might be needed thou. ports: - "16384:16384" - "1719:1719" - "1720:1720" - "3478:3478" - "3479:3479" - "5002:5002" - "5003:5003" - "5060:5060/tcp" - "5060:5060/udp" - "5066:5066" - "5070:5070" - "5080:5080/tcp" - "5080:5080/udp" - "7443:7443" - "8021:8021" - "64535-64555:64535-64555/udp" Best, Per.
I made some changes and now when I run sofia status, it shows either FAIL_WAIT or sometimes it shows UNREGED. What may be the reasons for these ? On Thu, Oct 8, 2020 at 4:31 PM Harshita Pandey <harshita19012@iiitd.ac.in> wrote:
Hi,
I have installed freeswitch on a Virtual Machine, and I am not able to configure the gateway for some reason. Can someone tell me which ports are required and need to be opened on the virtual machine to communicate with Gateway in freeswitch? Since all the ports are not opened in the Virtual Machine, this could help me open up those ports and configure Gateway for freeswitch
Much help is needed. It's Urgent Thanks in advance.
Something is not working, but it’s impossible to say what without more specific information. I’m guessing that UNREGED means that you have configured a gateway to register with some other switch or service, but FreeSWITCH can not reach it for some reason. Bote From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Harshita Pandey Sent: Saturday, 10 October, 2020 01:06 To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] Port Required to communicate with Gateway I made some changes and now when I run sofia status, it shows either FAIL_WAIT or sometimes it shows UNREGED. What may be the reasons for these ? On Thu, Oct 8, 2020 at 4:31 PM Harshita Pandey <harshita19012@iiitd.ac.in <mailto:harshita19012@iiitd.ac.in> > wrote: Hi, I have installed freeswitch on a Virtual Machine, and I am not able to configure the gateway for some reason. Can someone tell me which ports are required and need to be opened on the virtual machine to communicate with Gateway in freeswitch? Since all the ports are not opened in the Virtual Machine, this could help me open up those ports and configure Gateway for freeswitch Much help is needed. It's Urgent Thanks in advance.
Can you give remote access? On Sat, Oct 10, 2020 at 10:55 AM Harshita Pandey <harshita19012@iiitd.ac.in> wrote:
I made some changes and now when I run sofia status, it shows either FAIL_WAIT or sometimes it shows UNREGED. What may be the reasons for these ?
On Thu, Oct 8, 2020 at 4:31 PM Harshita Pandey <harshita19012@iiitd.ac.in> wrote:
Hi,
I have installed freeswitch on a Virtual Machine, and I am not able to configure the gateway for some reason. Can someone tell me which ports are required and need to be opened on the virtual machine to communicate with Gateway in freeswitch? Since all the ports are not opened in the Virtual Machine, this could help me open up those ports and configure Gateway for freeswitch
Much help is needed. It's Urgent Thanks in advance.
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
participants (5)
-
Bote Man
-
Harshita Pandey
-
Jay Desai
-
John Covici
-
Per Modin