[Freeswitch-users] Gateway Configuration on Virtual Machine

Harshita Pandey harshita19012 at iiitd.ac.in
Thu Oct 22 15:55:18 UTC 2020


Hi,
I am not even able to connect to a softphone. When I had installed the
freeswitch on a local Machine I was able to connect it to a softphone, but
now I have installed freeswitch on a Virtual Machine and that too on a
server.

I have used the following credentials:

Username: 1001
Domain: The IP Address I get on executing eval${local_ip_v4} on the
freeswitch command line
Password: 1234 (the default password).

Where am I doing wrong, or is it that I need to add something else as well,
while installing freeswitch on server or VM while connecting to a
softphone. I have been using a Linphone as a softphone.

Thanks in advance for your help


On Mon, Oct 19, 2020 at 9:26 PM Martin Paterson <
martin.paterson at technologywithin.com> wrote:

> 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.
>
>
> Development Team​
> <https://technologywithin.com/>
> Phone:  *0207 953 8840* <0207%20953%208840>
> Email:  *martin.paterson at technologywithin.com*
> <martin.paterson at technologywithin.com>
> Chevron Business Park, Limekiln Lane ,  Southampton ,  Hampshire ,
> SO45 2QL
> <https://en-gb.facebook.com/we.are.technologywithin>
> <https://www.linkedin.com/company/technologywithin>
> <https://twitter.com/@techwithin>
> <https://www.instagram.com/technologywithin/>
> <https://zoom.us/webinar/register/6916019886550/WN_HjuT4R-uTD636gPHq18iRA>
> 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' 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
>
>
> _________________________________________________________________________
>
> 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201022/bd3d5732/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image879187.png
Type: image/png
Size: 2305 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201022/bd3d5732/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image444062.png
Type: image/png
Size: 32472 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201022/bd3d5732/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image029722.png
Type: image/png
Size: 402 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201022/bd3d5732/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image921457.png
Type: image/png
Size: 589 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201022/bd3d5732/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image345875.png
Type: image/png
Size: 725 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201022/bd3d5732/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image598131.png
Type: image/png
Size: 932 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201022/bd3d5732/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image458435.png
Type: image/png
Size: 146627 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201022/bd3d5732/attachment-0013.png>


More information about the FreeSWITCH-users mailing list