[Freeswitch-users] users registering from IP or FQDN
David Villasmil
david.villasmil.work at gmail.com
Fri Jan 22 15:05:40 UTC 2021
Does the user actually exists in an xml file with its domain name?
On Fri, 22 Jan 2021 at 14:52, Joli Martinez <mrjoli021 at gmail.com> wrote:
> Hello,
>
> I am running a small freeswitch system with several phones, users register
> with the IP of the freeswitch box. Since they are now working from home
> more, they need to be able to connect remotely. I have built a kamailio
> proxy and exposed it. I created an FQDN sip.mydomain.com and pointed it
> to the kamailio box. The registration comes in and kamailio sends it to
> freeswitch.
>
> I have added my doemain underneath the internal sip profile like this. I
> have also reloaded it.
> <domain name="all" alias="false" parse="false"/>
> <domain name="sip.mydomain.com" alias="true" parse="true"/>
>
> Registrations from the public internet still fail, but users registering
> with the IP work. What am I missing?
>
> 2021-01-19 12:19:37.480591 [WARNING] sofia_reg.c:1794 SIP auth challenge
> (REGISTER) on sofia profile 'internal' for [222 at Sip.mydomain.com] from ip
> 1.1.1.1
> 2021-01-19 12:19:37.540512 [WARNING] sofia_reg.c:2930 Can't find user [
> 222 at Sip.mydomain.com] from 1.1.1.1
> You must define a domain called 'Sip.mydomain.com' in your directory and
> add a user with the id="222" attribute
> and you must configure your device to use the proper domain in its
> authentication credentials.
> 2021-01-19 12:19:37.540512 [WARNING] sofia_reg.c:1739 SIP auth failure
> (REGISTER) on sofia profile 'internal' for [222 at Sip.mydomain.com] from ip
> 1.1.1.1
> _________________________________________________________________________
>
> 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
--
Regards,
David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20210122/fb0aa23f/attachment.html>
More information about the FreeSWITCH-users
mailing list