V20 - Forcing In/Out Office status Codes (aka *64)

Status
Not open for further replies.
Have you checked previous replies in this post for using the web client in order to Force the Office hours ?
This will not work for my client, they do not use the Web Client at all. Even if I could get them to use it which isn't possible as they don't have computers where the phone it, it would be to difficult for them. Plus the webclient only allow you to set it for so long.
 
As per previous replies this will be available with the API as per guideline here.
 
As per previous replies this will be available with the API as per guideline here.
As per previous replies, this doesn't work if it's hosted. So this doesn't help me. So whats your solutions / fix for those customers?
 
  • Like
Reactions: krieg-it
Regarding your question, the dial codes to force the system in and out of office hours are not available in v20.

This feature is now under the department level and is triggered by the web client or PWA logged in with a user who has the appropriate role to override office hours:
I don't understand why this basic feature of a phone system has been removed. My customers need to be able to switch between day/night from a phone not a PC. This has caused massive problems been forced to "upgrade" to V20 to then have a needed feature removed.
 
  • Like
Reactions: TheodorosG_3CX
As per previous replies this will be available with the API as per guideline here.
IMPORTANT: The following is meant to be run in a development environment, not on a production 3CX machine.
...
 
I tested it right now while upgrading and i confirm it works correctly.
IMPORTANT: The following is meant to be run in a development environment, not on a production 3CX machine.
...
Yes it's a almost dev function but it works fine (even on standard that theorically has no Call Flow - Aka "Call Processing Script" - functions).
P.S. Remember to update the BLF to the new non-modifiable codes #61 (IN office) or #62 (OUT of office)
 
  • Like
Reactions: TheodorosG_3CX
@erectaat Thank you for information and i'm glad this is working as expected.
Keep in mind that the Call Processing Script will keep updating with more and more capabilities.
 
  • Like
Reactions: Evolute IT
Please keep in mind that the dial code will put ALL departents to out of office. To be able to do this PER department you will still need to use the web client.
 
For self hosted you can enable the dial codes in v20. You can enable the dial codes for system mode by adding the prefix (eg. *64) as the value to the DIALCODEOUTOFFICE parameter (Admin | Advanced | Parameters). Then the dial codes can be used as before and assigned as custom speed dial entries to DSS buttons. *641 = In Office; *642 = Out of Office; *64 or *640 is system default hours.
 
  • Like
  • Love
Reactions: laser1 and MSCO
We just ran into the same issue. was able to fix it with the predefined scripts in my attachment. it pretty basic but should be easy to follow. version 20. hope this helps all. just tired of being told we removed that feature.
 

Attachments

We just ran into the same issue. was able to fix it with the predefined scripts in my attachment. it pretty basic but should be easy to follow. version 20. hope this helps all. just tired of being told we removed that feature.

We need the same functionality, but on a per-department basis.

The 'ForcePBXHours' example scripts look like what we need, however it overrides for *all* departments and not just the current department which doesn't make much sense given that office hours are per-department in v20.

Checking the scripts the "ps.GetAll<Group>().Where(x=>x.AllowCallService).Select(x=>" line seems to be what we would need to change as i'm assuming Group == Department.

In theory, we just need to modify that to limit it to whatever the current department is based on the current call in progress - i'm struggling to find any kind of documentation on how to accomplish this however?

The included HTML help in the call control API zipfile isn't really much help, it's just autogenerated class docs with some very brief descriptions but nothing on how it all hangs together.


Anyone got links to better documentation or pointers on how to accomplish this?
 
We need the same functionality, but on a per-department basis.

The 'ForcePBXHours' example scripts look like what we need, however it overrides for *all* departments and not just the current department which doesn't make much sense given that office hours are per-department in v20.

Checking the scripts the "ps.GetAll<Group>().Where(x=>x.AllowCallService).Select(x=>" line seems to be what we would need to change as i'm assuming Group == Department.

In theory, we just need to modify that to limit it to whatever the current department is based on the current call in progress - i'm struggling to find any kind of documentation on how to accomplish this however?

The included HTML help in the call control API zipfile isn't really much help, it's just autogenerated class docs with some very brief descriptions but nothing on how it all hangs together.


Anyone got links to better documentation or pointers on how to accomplish this?
DM me, I understand those scripts well.
 
We need the same functionality, but on a per-department basis.

The 'ForcePBXHours' example scripts look like what we need, however it overrides for *all* departments and not just the current department which doesn't make much sense given that office hours are per-department in v20.

Checking the scripts the "ps.GetAll<Group>().Where(x=>x.AllowCallService).Select(x=>" line seems to be what we would need to change as i'm assuming Group == Department.

In theory, we just need to modify that to limit it to whatever the current department is based on the current call in progress - i'm struggling to find any kind of documentation on how to accomplish this however?

The included HTML help in the call control API zipfile isn't really much help, it's just autogenerated class docs with some very brief descriptions but nothing on how it all hangs together.


Anyone got links to better documentation or pointers on how to accomplish this?

Hello,
I am also interested in modifying this script so that the schedule change is limited only to the user's default department who initiates the call.
 
Status
Not open for further replies.

Forum statistics

Threads
111,875
Messages
589,512
Members
164,724
Latest member
StratisFear