Some Login/Logout Problems

voxter
Posts: 50
Member Since:
2007-11-20

Ive run into a situation on a very large site where we're having some log in / log out problems.

For example, a user will go to log out, and it will go through all the motions, except when it should clear the userid off the phone and go back to a login screen, it simply returns to a "logged in" state - Im sure this has something to do with permissions or something with modifying files on the filesystem, but im not sure exactly how the process works to properly debug it. Can someone shed some light?

We've also got some other issues that seem to be intermittent where a phone will boot up into a login screen, and when a user goes to log in it will say 'You are already logged in on this extension' - presumably this is because the tftp config file is missing, but the extension is listed in startup_asterisk.cfg, presumably what should happen is that startup.php should be called, and the config should be generated - and its not happening. Is this true? Again not knowing the whole process im having a hard time isolating the problem.

/var/cache/aastra is world writable (for testing)
/tftpboot is world writable for testing.

im not sure what else to check?

voxter



aastra1
Posts: 287
Member Since:
2006-11-06
RE: login/logout problems

Hello voxter,

Can you please tell us more about your installation? Are you running the latest XML 2.3.0 scripts as we fixed some timing issue in the login/logout process when we had to perform a "forced logout".
Also during the logout process, do you have any "Cannot display" message? You are right when the user logs out, the "empty" configuration is sent to the phone, MAC.cfg is updated and startup_asterisk is updated as well, then startup.php is executed.

So somewhere the process fails to update startup_asterisk.cfg, maybe we have a race condition because of the large number of users.

Also have you heavily modified demo-user.prf? We have recently fixed a bug caused by a wrong order of the configuration parameters in the template file.

That's all I can think of right now.

Regards

--

---
aastra1
Aastra XML scripts 2.3.0 now available



linuxgurugamer
Posts: 6
Member Since:
2011-03-14
I'm having this exact same problem on 9143i

New installation, Elastix, using the FreePBX mode. Installed the aastra xml scripts, but having this same problem.

Logging out appears to go through the motions, but the phone returns to a logged in state. Also, when logging in, it doesn't seem to work, the phone just returns to the same state as before.

This is in device-user mode. The only changes I've made to the demo-device-user.prf file is to change the $$AA_XML_SERVER_AA$$ to a dns name such as: elastix.co.net:80, which does resolve properly.

JBB



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.