Work Number always in the same Time Conditions

Hi,

I had created this time condition:

image

and I want that a number just can be called in Tuesday or Thursday between this hours (14h-17h) and than forward to a external mobile phone number.

If someone call to this number out of this condition, they would listen a record sound.

How can I do it?

I see this option “Time Conditions”, but I don’t want toggle. I want that the condition “Time Group” stay allways without changes.

image

This is my code in Asterisk that I’m migrate to VitalPBX.

image

I’m open to listen all possible suggestion.

Thanks

The picture you show is a time group, not a time condition.

Create a time condition and tie it to the above time group.

Match destination send to a custom destination or an extension with followme that calls the cellphone. Non-match send to an announcement or IVR.

1 Like

Hi @PitzKey ,

I created a time condition as you suggested:

image

image

with this inbound route:

image

But the call don’t reach the destination.

image

image

from other extension 7500X have the same issue:

image

It is mandatory to have an extension registered with the number assigned with this inbound group …90?

image

I have a IVR with a number that have no assigned to any extension and it works without any issues

We will need a full call trace.

From the command line

grep C-00000065 /var/log/asterisk/full >> /tmp/C-00000065

Upload the content from /tmp/C-00000065 to pastebin.com and share the link here.

https://pastebin.com/HsaxR6zd

What is 28890? It seems like it is either nothing, or it is in a different COS than 75005

It is a number that is assigned to a call service that I’m migrate from my old Asterisk to my VitalPBX.

I have this IVR with number 75099 that hasn’t any extension associated and works without problem.

image

I have my VitalPBX connected to my old Asterisk but I don’t have any Outbound route pattern that mach this 28890

First you need to dial something that calls this Time Condition. You can use a Custom Application if you calling from internal.

1 Like

Hi @PitzKey,

I did it and I listen the announcement when time no matches, Thanks!

If I change the day condition to ring in the phone and answer the call, I carry on linsten the a announcement.

It is necessary any reboot of service or other change?

Show us a screenshot of the configuration and please provide a call trace via pastebin.

Hi

I had change the destination in Custom Application to Time Condition instead of announcement and works

image

Issue of beginner :sweat_smile:

After change the port number from 5060 to 5061 my extension is registered

image

image

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.