Adding time conditions to my follow-me group

So I have a follow-me extension (100) that rings all I have including my cell phone. Worked great until someone called my work line and dialed that follow-me extension at 4am in the morning.

Ok, so I need time conditions. Trouble is I have it so people direct-dial 100 from the IVR. Am I going to have to disable direct-dial from the IVR and hard code 100 to aim at the new time-condition which will in turn dial my 100 follow me extension when appropriate? If so, as I add more employees, I’ll have to hard-code them too right?

Is there an easier way then hard-coding?

Add a misc Application to the time condition, then add the misc app to your follow me.

Thank you. That seems to have worked!

1 Like

Is there a way to have a destination match action but do nothing in the non-match side? It’s forcing me to choose but I simply want this to block access to my cellphone extension sometimes but let all the other extensions in my follow-me group continue to ring in case I’m still at work so I can answer it.

Right now I have the destination match set to voicemail which doesn’t let the other extensions at work ring.

set non-match to terminate call?

Not sure if that would be want I want. The whole point of this is to have my follow-me group only call my cell during business hours but always ring the other extensions in the follow-me group. If I had my time-condition terminate the call when it’s outside business hours, wouldn’t that keep the other extensions from ringing?

I don’t have a machine I can look at handy, but you need to set up an “extension” using (I think) a Miscellaneous Destination. This destination points at a special Time Condition that, when set (or clear), sends the call to your cell phone.

Another option - set up the MiscDest with a time condition that (when set) sends the calls to a ring group with your phone in it, and when not set, sends to call to a ring group without. Another possible variation on this: Set up a ring group with your cell phone and the other ring group. That way, when you modify the ring group, you don’t have to update the “cell phone” group.

In addition to all of this jumping around, you could set up a “Destination” that does some other processing (like Setting the Caller ID) and then routes the call to a time condition.

The problem with just hanging up the phone in this regard is that it terminates the call for the entire ring group - which is kind of the opposite of what you’re looking for.

The only other option I can think of would be to set the ring-group up as a queue and add/remove your cell phone extension from the group using a dial code. You can do this through Cron (for “normal” processing) and then override the group membership through dialcodes or a special function on the dialplan.

I think I’m doing pretty much what you suggest. My followme group (100 in this case) no longer has my cell phone extension in it anymore. Instead, in addition to my office desk extension which I want to always ring no matter the time of day, I have a miscellaneous application extension which has a new extension number (515 in this case).

515 simply points at the time condition. The time condition, in turn, points at my cell phone extension during business hours. The only catch is what do I point it to when it’s outside business hours. I went so far as to make a dummy extension and point it at that but even so it still goes directly to voicemail anyway when I call 100 after business hours. I just want the time condition to not go anywhere outside of business hours and let the rest of the follow-me group ring.

Very strange.

I’m pretty sure it’s just a language barrier, but you can’t have a time condition go “nowhere”. It must have a destination.

You can set a destination of Terminate call (as I noted above) which is the same thing.

Ok. I set it to terminate call as directed. Now it just hangs up on you when you try to reach me after business hours. I don’t want that, I want all my office extensions to ring no matter the time until my voicemail is triggered. I guess I’m not able to communicate what I want. Let me try one more time:

I have a follow-me group with three extensions in it. Two of those extensions are in my office and one is my cell phone. I don’t want my cell phone to ring outside business hours. I do want my office extensions to ring for a little bit and then go to voicemail if I’m not working late and not around to pick them up.

This does not seem possible. Thanks for any help.

It is absolutely possible. Replace the mobile number (and only the mobile number) in the FM group with a feature code that goes to a time condition.

That’s exactly what I’m doing.

Well you forced me to try it for myself and I can confirm it works as I have explained. In the process I was reminded that there are a number of Terminate Call options, some of which answer the channel. I am using the “Hangup Call” option which terminates the call without answering.

A sanitized call trace might give a clue as to what’s going on.

I really do appreciate your help but please understand… I do not want it to terminate the call. That’s not the mission. I am able to get it to terminate the call as well as mentioned above.

Deep breath. Ok. All I want is my cell phone (which is a SIP extension running on Android) to ring during business hours only. My cell phone is extension 502. My work desk phone is extension 501. I have a ring group called 100. 501 and 502 are in ring group 100. Everything in Asterisk that aims at me points at 100. People know to dial 100 at the IVR to reach me as well. My mission is that when someone dials 100, both extensions are rung during business hours but when it’s outside business hours only ring 501 since I may still be at work and I’ll answer it. I don’t want the call to terminate outside business hours, I just want 502 to not ring outside business hours. That’s the key.

Thanks again for your help and sorry for any confusion in describing my scenario.

@lgaetz - My turn.

Set up this way, there is no way to do what you want to do.

Think about the word “context”. Those are the little programs that run to make your phones do stuff in the system. Once you are in a context, you can to follow the rules of the context. You are in a specific set of steps (which is the context part) and you will just to another set of steps (a different context) to do other things.

In a ring-group, for example, when the phones start to ring and one of them answers and hangs up the call, the call is terminated. If, in this context, you terminate the call, it is terminated.

You can’t think of it in the old “per phone” sort of way - the PBX is the only thing that is controlling the call. You’re trying to do this as if the phone was something more than a dumb terminal. It’s not - it is just a destination, and once a destination for a call has been chosen, you’re out of options.

SO, instead of trying to keep doing this the way you are (which isn’t working for you, right?) try changing the perspective:

Try these in the following order:

  1. Set up a time-condition to which you route the calls that includes calling your phone during business hours and sends the call to your office line’s voicemail during non-business hours. (Goal)
  2. Since you are using an extension, change it to some other extension that is outside the normal scope of your phone system (5021, for example).
  3. Set up a Miscellaneous Destination so that extension 502 goes to that time condition. (next step back from goal).

Another method:

  1. Set up two Ring Groups (1000 and 1001). Both have your office phone, only one has your cell extension.
  2. Set up a time-condition. The “day mode” goes to the ring group with your cell, the other goes to the ring group without.
  3. Route these through the Miscellaneous Destination for a time group (on “extension” 100).

So now, if you get a call