[Freeswitch-users] Gateway Configuration on Virtual Machine

Martin Paterson martin.paterson at technologywithin.com
Mon Oct 19 15:55:08 UTC 2020


Nothing different required for a VM setup.

The error below (503 Service Unavailable) looks like it’s coming from the gateway you’re talking to, so check the gateway config on FreeSWITCH – are you definitely pointing to a SIP gateway and not something else, for example. Check that the gateway you’re talking to (if it’s yours) is properly set up and running. You could try registering to the gateway directly with a SIP phone and see what happens.

Martin.


Martin Paterson
Development Team
Phone: 0207 953 8840
Email: martin.paterson at technologywithin.com
Chevron Business Park, Limekiln Lane, Southampton, Hampshire, SO45 2QL
Registered Office: CP House, Otterspool Way, Watford, WD25 8JJ, U.K 
​Registered in England No: 5964349 | VAT Number: GB 902 5369 37 
From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> On Behalf Of Harshita Pandey
Sent: 19 October 2020 09:47
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: [Freeswitch-users] Gateway Configuration on Virtual Machine

Hi all,
I have installed freeswitch on Virtual Machine. However, when I try to do the gateway configuration, it gives an error. Are some additional changes required to be made in the Virtual machine while installing freeswitch as compared to installing freeswitch on the local machine?

I get the following error message

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<http://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.


Thanks in advance.
Regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201019/7ad45fdd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image879187.png
Type: image/png
Size: 2305 bytes
Desc: image879187.png
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201019/7ad45fdd/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image444062.png
Type: image/png
Size: 32472 bytes
Desc: image444062.png
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201019/7ad45fdd/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image029722.png
Type: image/png
Size: 402 bytes
Desc: image029722.png
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201019/7ad45fdd/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image921457.png
Type: image/png
Size: 589 bytes
Desc: image921457.png
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201019/7ad45fdd/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image345875.png
Type: image/png
Size: 725 bytes
Desc: image345875.png
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201019/7ad45fdd/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image598131.png
Type: image/png
Size: 932 bytes
Desc: image598131.png
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201019/7ad45fdd/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image458435.png
Type: image/png
Size: 146627 bytes
Desc: image458435.png
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201019/7ad45fdd/attachment-0013.png>


More information about the FreeSWITCH-users mailing list