<div dir="ltr"><div>I executed the sofia global siptrace on command and get the following error</div><div><br></div>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 '<a href="http://example.com">example.com</a>' 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.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 9, 2020 at 2:52 AM Jay Desai <<a href="mailto:rangeare.01@gmail.com">rangeare.01@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(68,68,68)">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.)</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(68,68,68)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(68,68,68)">Share your sip trace by executing <b>sofia global sip trace on</b> or by using the <b>tcpdump</b> command.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 8, 2020 at 8:44 PM Harshita Pandey <<a href="mailto:harshita19012@iiitd.ac.in" target="_blank">harshita19012@iiitd.ac.in</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">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.<div><br></div><div>I get the following errors:</div><div><span id="gmail-m_-3175334930961969003gmail-m_2254442304089697642gmail-m_6366221195636689256gmail-:5o.co" dir="ltr" style="color:rgb(38,50,56);font-family:Roboto,Arial,sans-serif;font-size:13px">MySIP Failed Registration with status Forbidden [403]. failure #1</span><span style="color:rgb(38,50,56);font-family:Roboto,Arial,sans-serif;font-size:13px">still getting the same error</span></div><div><span style="color:rgb(38,50,56);font-family:Roboto,Arial,sans-serif;font-size:13px">OR</span></div><div><span style="color:rgb(38,50,56);font-family:Roboto,Arial,sans-serif;font-size:13px">MySIP failed </span>Registration error [503]. retrying in 30 seconds.</div><div><br></div><div>According to what I have understood this is because some ports are not opened in the VM</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 8, 2020 at 7:52 PM Jay Desai <<a href="mailto:rangeare.01@gmail.com" target="_blank">rangeare.01@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(68,68,68)">Freeswitch uses different profiles for outgoing and incoming calls.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(68,68,68)">The default port for an internal profile is 5060 and external profile uses 5080.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(68,68,68)">Can you provide more details about the gateway and what you are trying to do?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 8, 2020 at 4:58 PM Harshita Pandey <<a href="mailto:harshita19012@iiitd.ac.in" target="_blank">harshita19012@iiitd.ac.in</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<br><div><br></div><div>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? </div><div>Since all the ports are not opened in the Virtual Machine, this could help me open up those ports and configure Gateway for freeswitch</div><div><br></div><div><br></div><div>Much help is needed. </div><div>It's Urgent</div><div>Thanks in advance.</div></div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://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="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://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="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://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="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://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="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>