Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] users registering from IP or FQDN


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
mrjoli021 at gmail.com
Guest





PostPosted: Fri Jan 22, 2021 10:13 am    Post subject: [Freeswitch-users] users registering from IP or FQDN Reply with quote

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@Sip.mydomain.com (222@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@Sip.mydomain.com (222@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@Sip.mydomain.com (222@Sip.mydomain.com)] from ip 1.1.1.1
Back to top
david.villasmil.work a...
Guest





PostPosted: Fri Jan 22, 2021 10:49 am    Post subject: [Freeswitch-users] users registering from IP or FQDN Reply with quote

Does the user actually exists in an xml file with its domain name?

On Fri, 22 Jan 2021 at 14:52, Joli Martinez <mrjoli021@gmail.com (mrjoli021@gmail.com)> wrote:

Quote:
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@Sip.mydomain.com (222@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@Sip.mydomain.com (222@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@Sip.mydomain.com (222@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@freeswitch.com (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 (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


--
Regards,


David Villasmilemail: david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)
phone: +34669448337
Back to top
mrjoli021 at gmail.com
Guest





PostPosted: Fri Jan 22, 2021 1:43 pm    Post subject: [Freeswitch-users] users registering from IP or FQDN Reply with quote

Hello

NO.  I am not trying to have two sets of users.  All the users are already in the 1.1.1.1 domain and they are all working.  I am trying to figure out how to get the external users to register the same way the internal users are doing without having to mess with the user configs.  I was reading that if I put the domain as an alias it would work.


thanks,




On Fri, Jan 22, 2021 at 10:42 AM David Villasmil <david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)> wrote:

Quote:
Does the user actually exists in an xml file with its domain name?

On Fri, 22 Jan 2021 at 14:52, Joli Martinez <mrjoli021@gmail.com (mrjoli021@gmail.com)> wrote:

Quote:
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@Sip.mydomain.com (222@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@Sip.mydomain.com (222@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@Sip.mydomain.com (222@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@freeswitch.com (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 (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


--
Regards,


David Villasmilemail: david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)
phone: +34669448337


_________________________________________________________________________

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 (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 (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
Back to top
marcb at voicemeup.com
Guest





PostPosted: Mon Feb 01, 2021 3:43 pm    Post subject: [Freeswitch-users] users registering from IP or FQDN Reply with quote

Did you set “force-register-domain” in your sofia profile ?

https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files#SofiaConfigurationFiles-force-register-domain


Sent: Friday, January 22, 2021 13:32
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] users registering from IP or FQDN


Hello


NO. I am not trying to have two sets of users. All the users are already in the 1.1.1.1 domain and they are all working. I am trying to figure out how to get the external users to register the same way the internal users are doing without having to mess with the user configs. I was reading that if I put the domain as an alias it would work.



thanks,
Back to top
brian at freeswitch.com
Guest





PostPosted: Mon Feb 01, 2021 5:29 pm    Post subject: [Freeswitch-users] users registering from IP or FQDN Reply with quote

You have to use force-register-domain, or you use DNS host names, there is no split/middle ground.

On Mon, Feb 1, 2021 at 3:06 PM Marc Bernard <marcb@voicemeup.com (marcb@voicemeup.com)> wrote:

Quote:

Did you set “force-register-domain” in your sofia profile ?
 
https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files#SofiaConfigurationFiles-force-register-domain
 
 
Sent: Friday, January 22, 2021 13:32
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Subject: Re: [Freeswitch-users] users registering from IP or FQDN

 
Hello
 

NO.  I am not trying to have two sets of users.  All the users are already in the 1.1.1.1 domain and they are all working.  I am trying to figure out how to get the external users to register the same way the internal users are doing without having to mess with the user configs.  I was reading that if I put the domain as an alias it would work.

 

thanks,



_________________________________________________________________________

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 (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 (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



--



Brian West | Co-founder and Developer
Need Commercial support? email sales@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services