registered VS unregistered

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

registered VS unregistered

Postby richardroi » Thu Mar 12, 2015 6:36 am

Hello,
Just want to ask some details how is the system considering the sip to registered and unregistered?
We are extracting logs of sip and on the data we gathered there are more registered logs vs unregistered on day to day basis.
Should the count be the same? Lets say 4010 unregistered so its 1 count and if registered again it is 1 count also. Hope i am making sense.
In the data we have there are more registered counts rather than unregistered ones.

Hoping for someone to clarify.

Thank you.
ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
64bit Single Server/ ISO Preload Install
Inbound/Blended
richardroi
 
Posts: 373
Joined: Mon Mar 21, 2011 7:20 pm

Re: registered VS unregistered

Postby richardroi » Fri Mar 13, 2015 6:19 am

Anyone? I goggled around and some are saying that hard phones doesn't have the capability to unregistered unlike soft phones?
Im totally lost.
ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
64bit Single Server/ ISO Preload Install
Inbound/Blended
richardroi
 
Posts: 373
Joined: Mon Mar 21, 2011 7:20 pm

Re: registered VS unregistered

Postby williamconley » Tue Mar 17, 2015 8:26 pm

richardroi wrote:Anyone? I goggled around and some are saying that hard phones doesn't have the capability to unregistered unlike soft phones?
Im totally lost.

Here's a funny thing. If YOU post again on your original post, it appears that someone responded to your post. Even though it was YOU.

So you no longer show under "unanswered posts". And you can get completely ignored from that moment ...

8-)>

I'm really interested in what on earth would make you decide to check how often phones register and unregister. LOL

That being said: If a phone is turned off or loses internet connectivity, it will NOT unregister. But when it restarts or regains net, it will register again.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: registered VS unregistered

Postby richardroi » Thu Mar 19, 2015 12:35 pm

Thank you Sir William as always.
Our client want to see data of phones registered and unregistered, but i believe what they want to monitor is which phones are/went "online and offline" in a particular date.
ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
64bit Single Server/ ISO Preload Install
Inbound/Blended
richardroi
 
Posts: 373
Joined: Mon Mar 21, 2011 7:20 pm

Re: registered VS unregistered

Postby williamconley » Thu Mar 19, 2015 1:55 pm

Two methods:

1) Run a check every minute and compare to the prior minute's registrations. If any disappear but do not have an unregister entry, create an "force-unregister" entry.
2) Whenever you see a register for an already registered sip account, you can modify that to "re-register" or merely notify the client that this occurred. Problem: You have no idea when the "un"register occurred with this method. If someone is trying to use this information for troubleshooting, it may only be 50% useful compared to the above.

OK: Technically, you could also consider investigating the auto-unregister functionality within asterisk and perhaps find a way to capture that event in a DEBUG log or AMI event. But that's a long shot, I'm not sure it can be done without altering the Asterisk code and recompiling. 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 42 guests