Aastra XML scripts and "deviceanduser" mode

TheWarden
Posts: 3
Member Since:
2009-04-08

Hi,

We are thinking of using FreePBX's "deviceanduser" mode but using "fixed" user assignments such that really a user and device are always tied together. This simplifies management of the system but allows us to give every user a "softphone" device too.

Now Aastra supports the deviceanduser mode so that you can loging to a device and then login a user but this does not seem to work very well when the device is fixed. Firstly when the device is logged in and the Aastra phone reboots the user is logged in automatically (fixed?). Also when the user logs out the phone instantly logs the user back in again. The only way to logout and start again is to reset the phone and delete the tftpboot config for the phone.

What we would really like to happen in deviceanduser mode with a fixed user is to have almost the same functionality as "extensions" mode where a user logs in and out of the phone. I was thinking of modifying the extensions mode Aastra XML code so that when a user logs in with their extension (e.g. 500) the phone actually preprends a digit to match the associated fixed device (e.g. 1500). And the logout would be like in extensions mode whereby the device is rebooted and the MAC address config removed.

I though I'd mention this in case it is something that would be useful "upstream".

Daire



aastra1
Posts: 287
Member Since:
2006-11-06
Here is another option

Hi Daire,

You are right the scripts have been designed for ad-hoc devices but this is what can do. Why don't you make all the devices ad-hoc and remove the logout key from the '.prf' files?
The next version of the scripts is almost ready, we will have a look at supporting the 'fixed' mode with a default user. Will keep you posted.

Regards

aastra1

--

---
aastra1
Aastra XML scripts 2.3.0 now available



aastra1
Posts: 287
Member Since:
2006-11-06
Hello again Daire, We did

Hello again Daire,

We did some extra tests in 'deviceanduser' mode using a 'fixed' device with a default user and besides a small bug in the logout.php script (which should not allow the user to logout) we did not see any behavior issue. Could you be more specific about the problems you encountered with this configuration. We may have time to fix it with the next release of the scripts.

Regards

--

---
aastra1
Aastra XML scripts 2.3.0 now available



TheWarden
Posts: 3
Member Since:
2009-04-08
Apologies for the late reply

Apologies for the late reply - holidays. I believe the original problem I posted occurs when the device ID and user ID are the same. I have since decided that although this simplifies matters somewhat it is not a good idea. However now I can't log out as I always get an authentication error. Is this the bug you found in logout.php?

When in deviceanduser mode I would think the phone should logout and reset to factory so that another device (and hence fixed user) can login. Basically we want it to perform like in extensions mode so that a user (i.e. fixed device) can log in and out.

Daire



aastra1
Posts: 287
Member Since:
2006-11-06
No logout for devices

Hi Daire,

The bug we found in logout.php was that you were able to logout even if the device is fixed which in a way is exactly what you are looking for. Right now, the devices are configured once and for all, you have no way to logout. After all this is the purpose of the device and user mode, static devices for dynamic users.
If I understand correctly, you would like to be able to logout both user and device when you logout but the phone would ask for a device ID not for a user and I am not sure you want to share the device ID credentials with all your users so I suppose that you would like to login with the user credentials. Everything is doable but I still think that it is a stretch for the deviceanduser mode.

You should really have a look at the new version of the scripts (2.2.1), we are currently in beta2 and the plan is to go GA by the end of this week. With 2.2.1 the 'extension' mode is dynamic as well, you can login/logout a user without reboot and if a user was logged in somewhere else, it is automatically logged out. Honestly with 2.2.1 I don't see why you would still want to go a 'deviceanduser' to use fixed devices.

Let us know what you plan to do, we could develop the special mode for you (but not in 2.2.1) but again I don't see what you would want to do that.

Regards

--

---
aastra1
Aastra XML scripts 2.3.0 now available



TheWarden
Posts: 3
Member Since:
2009-04-08
The main reason we are

The main reason we are interested in deviceanduser mode is that we want to give everyone a desk phone and softphone without having to manage ring groups for each pair. You can be logged in to both devices simultaneously and pickup calls with either. However we would still like users to be able to login and logout of their desk phones easily as they move around the company. This is not required for the softphone as the prefs follow their network home account around.

I'll check out the latest scripts (we are using 2.2.0).

Thanks,

Daire



aastra1
Posts: 287
Member Since:
2006-11-06
I forgot about the call forking

Hi Daire,

Sorry I forgot why you needed 'deviceanduser' in the first place, you want a parallel softphone, the extensions mode in 2.2.1 will definitely not help you. So if I understand correctly you want each user to be able to login/logout from any device but you would like to apply the same control as we do in 'extensions' mode where we limit the number of devices with the same user to 1, right?

This is not that easy as on top of that you will have the softphone with the same identity, everything is doable though. As it is a very specific request I don't think we will implement it in the generic scripts unless we get more requests like yours. If you want I can guide you on how to modify the code to do it.

Regards

aastra1

--

---
aastra1
Aastra XML scripts 2.3.0 now available



syadnom
Posts: 52
Member Since:
2009-03-21
multi-devices per user hard/soft phone

Aastra, I still dont think you are seeing the same vision though I think I am and I want a similar thing.

The idea is that a user would have both a hard phone and a soft phone and they would both be able to register simultaneously and would both ring at the same time. In extention mode, only the most recent device to register gets the rings. in device/user mode you can register a number of times with the same user on different devices and all of those devices would ring.

This is somewhat like the key-system emulation hack where a single login is created in device/user mode and then logged in to each device. now all devices will share the same line appearance and ring together as well as be able to be put a line on hold on one device and pick it up on another. Same concept here, just for a single person so that they may have a soft phone on their wifi mobile phone, a softphone on their laptop, and an aastra phone on their desk. all phone would ring together and all line appearances would be shared among all the phones.

I am interested in this and have seen a few posts around the net wanting the same thing.



Comment viewing options

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