by ANisus » Tue Jun 28, 2011 7:41 am
Thanks for the reply Matt!
Yes, currently manDiaLlookCaLL monitors it when the client requests it.
But in order to reduce the number of server requests, I'd like to move this controll over to conf_exten_check.php (or the equivalance), which already is called every second.
In conf_exten_check.php I'd like to check the user's current state by quering the database instead of relying on information about user state passed from the client.
In manDiaLlookCaLL, a connection is detected by vicidial_manager status being 'UPDATED' or 'DEAD'. Would it be safe to assume that any other status means that the user is not connected yet?
Or better yet! (Just found it):
A better place to look is perhaps vicidial_auto_calls status..?
I feel my knowledge about vicidial_manager and vicidial_auto_calls is very limited as they are modified by the dialer scripts, an area which I haven't explored yet.
Mvh,
Samuel Jirénius
EDIT: Added my discovery of vicidial_auto_calls