I started to write the code to fix it, but didn’t have the time to finish it yet.

 

Sent from Mail for Windows

 

From: Mike Jerris
Sent: April 8, 2022 3:05 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] user registration

 

Interesting.  Can someone get some PR’s up to correct this?



On Apr 6, 2022, at 7:32 PM, Ahron Greenberg <ahrongreenberg@gmail.com> wrote:

 

I checked in the source code, flush_inbound_reg doesn’t remove the registrations from the core db registrations table. I’ve found multiple places where sofia doesn’t update the core db registration table, so you cannot rely on it.

 

Sent from Mail for Windows

 

From: Kakiman Expert
Sent: April 6, 2022 12:03 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] user registration

 

Hello,

 

thanks for your explanatio, it is more clear.

 

What I do not understand is that for example, if I kill a user with "sofia flush", it is no more present in the sofia profile reg, but still present in "show registration"

 

Or sometimes, some users are still present in "show registration" whereas they appear unregistered in "sofia profile reg"

 

Is there any cache or buffer in "show registration" command ?

 

thanks

 

 



---------- Forwarded message ----------
From: Mike Jerris <mike@freeswitch.org>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc: 
Bcc: 
Date: Tue, 5 Apr 2022 14:48:29 -0600
Subject: Re: [Freeswitch-users] user registration

Show registrations was added as a core concept to support different endpoints than just sofia but we haven’t implemented it in other places yet.  Im a bit surprised you see different values, maybe timing?

 

 

On Apr 5, 2022, at 2:36 PM, Bote Man <botelist@gmail.com> wrote:

 

I believe that “show registrations” shows ALL endpoints on every profile, while “sofia status profile internal reg” shows a formatted list of endpoints registered with the profile named “internal”. Profiles can take any name that you wish to assign them. The developers chose “internal” and “external” for the Vanilla configuration files to make it easier to understand.

 

FreeSWITCH can have many sip_profiles to provide multi-tenant identities. Each profile can have many endpoints registered to it. The Vanilla configuration files only use one tenant or identity to provide a simple starting point for new administrators who are unfamiliar with FreeSWITCH.

 

Choose the command the provides the information that is most helpful to you. There is no right or wrong way in this matter.

 

Hope this helps.

 

 

John Boteler

Bote Communications

 

Le mar. 5 avr. 2022 à 14:37, Kakiman Expert <jolexpert@gmail.com> a écrit :

Hello

I am using freeSWITCH 10.06 and i am wondering about the difference between 2 commands :

- show registration

- sofia status profile internal reg

 

both commands list the users registered, but sometimes, I am still seing users in show registrations whereas they are not present in sofia status.

 

which is the command to have the right registration status ?

what is the difference between these commands ?

 

thanks

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@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
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com