[asterisk-dev] CLI manager logout
Matt Riddell
lists at venturevoip.com
Mon Nov 10 16:19:58 CST 2008
On 11/11/2008 11:08 a.m., Clod Patry wrote:
> hi guys,
>
> I faced the problem where a customer called me and reported some
> "weird" connection that he was not sure.
> example:
> deer*CLI> manager show connected
> Username IP Address
> pv 64.34.139.75
> abc 64.34.139.75
> deer*CLI>
>
>
> Right now, there's no way to logout a connected manager user.
>
> So I realized there was no quick way for a CLI user to logout
> connected session. The only way that is possible is via a restart now.
>
> What I've in mind is something like a CLI command: manager logout<session_id>.
>
> But, since sessions doesnt have an id, this makes the logout
> "impossible", since N username could connect from M IP addresses.
> In case 1 username are connected from 3 differents IP, which one will
> we logout? We can't.
>
> What do you think about having something like an id in the struct
> mansession, so we could identify the session.
> That will leads to a possible manager logout<session_id>, which will
> be much more simpler for the CLI users.
Alternatively you could do
manager logout y from x.x.x.x
--
Kind Regards,
Matt Riddell
Director
_______________________________________________
http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
More information about the asterisk-dev
mailing list