PDA

View Full Version : After Hours AA (Night Watch)


Franz
04-12-2007, 01:59 AM
I've checked the forums for a simple solution to this problem using the call routing table, but there seem to be none forthcoming (there are solutions to upload custom scripts but my concern is that it's bound to break something else in our office hours call routing so I don't want to go there).


Here's what I'd like to do:

After hours (from 17:30 - 08:30 Mon-Fri and all day Sat, Sun)
All inbound calls get passed to AH AA (currently set to "30")


Unbelieveably simple I think but I'm not smart enough to get it to work using just the routing tables (not for a lack of trying I might add)


Help please. If you need to see my current office hours routing table, please advise and I'll publish it.


Thx

davrays
04-12-2007, 07:52 AM
Hello Franz,


here you have two options:


a) set date/time filtering on other routing rules too, so they don't affect during non-working hours. And then setup one rule, which directs all calls (pattern="*") to ext. 30, and set this rule for non-working hours only. You'll also need to check the "Route all incoming calls to call routing" checkbox;


b) publish your routing table, so we could see what is the main sourse of the incoming calls at your device: is it ITSP, PSTN or external users are dialing to the SIP numbers directly?


Best regards,


DVR

Franz
04-12-2007, 09:48 AM
Hi davrays


Thanks for your feedback. I did what you suggested in point 1 with a time restriction to setting it to a/hours but failed to set all the other rules to operate only during office hours.


Below is my current routing table. If I understand you correctly:


1.I need to edit all the below rules (although 1,2 and 5 are default rules and cannot be edited, is that a problem?) to operate during office hours only


2. I need to create one new rule that operates during afterhours only. I need to set the pattern to *, NDS to nothing, Prefix = 30 and CAll Type = PBX?


Does that sound about right?










ID
State
Pattern
Pattern Modification
Call Settings
Fail Reason
Local Authentication
Inbound Pattern/
Modification
Inbound Settings
DT
UES / URP
Metric
Description


1
Enabled
10111

ISDN
trunk: Any Port(User)@Any
None




No
*
PBX


10
Emergency Call


2
Enabled
0?*
NDS: 1
ISDN
trunk: Any Port(User)
Any




No
*
PBX


10
Make PSTN Call

< = name=Smart_2>< =" if(this.){.7487.Smart_2.value=this.value;}else{.74 87.Smart_2.value='';}" = value=3 name=Smart_2real>
< =text/>



3
Enabled
8*
NDS: 1
SIP
sip.epygi.com
None




No




URP: No
10
Make SIP call

< = name=Smart_3>< =" if(this.){.7487.Smart_3.value=this.value;}else{.74 87.Smart_3.value='';}" = value=4 name=Smart_3real>
< =text/>



4
Enabled
??

PBX
None




No





10
Call to Extensions


5
Enabled
0?*
NDS: 1
ISDN
trunk: Any Port(User)@192.168.17.8:5060
Any




No
*
PBX


10


< = name=Smart_5>< =" if(this.){.7487.Smart_5.value=this.value;}else{.74 87.Smart_5.value='';}" = value=6 name=Smart_5real>
< =text/>



6
Enabled
00*
NDS: 1
ISDN
trunk: Any Port(User)@192.168.17.8:5060
Any




No
*




10
Call forwarding

< = name=Smart_6>< =" if(this.){.7487.Smart_6.value=this.value;}else{.74 87.Smart_6.value='';}" = value=7 name=Smart_6real>
< =text/>



7
Enabled
1
NDS: 1
Prefix: 13
PBX
Any




No





10
iBurst sales

< = name=Smart_7>< =" if(this.){.7487.Smart_7.value=this.value;}else{.74 87.Smart_7.value='';}" = value=8 name=Smart_7real>
< =text/>



8
Enabled
2
NDS: 1
Prefix: 14
PBX
Any




No





10
Bizcall sales

< = name=Smart_8>< =" if(this.){.7487.Smart_8.value=this.value;}else{.74 87.Smart_8.value='';}" = value=9 name=Smart_8real>
< =text/>



9
Enabled
3
NDS: 1
Prefix: 14
PBX
Any




No





10
Other sales

< = name=Smart_9>< =" if(this.){.7487.Smart_9.value=this.value;}else{.74 87.Smart_9.value='';}" = value=10 name=Smart_9real>
< =text/>



10
Enabled
4
NDS: 1
Prefix: 14
PBX
Any




No





10
Tech supp

< = name=Smart_10>< =" if(this.){.7487.Smart_10.value=this.value;}else{.7 487.Smart_10.value='';}" = value=11 name=Smart_10real>
< =text/>



11
Enabled
5
NDS: 1
Prefix: 13
PBX
Any




No





10
Protea

< = name=Smart_11>< =" if(this.){.7487.Smart_11.value=this.value;}else{.7 487.Smart_11.value='';}" = value=12 name=Smart_11real>
< =text/>



12
Enabled
6
NDS: 1
Prefix: 15
PBX
Any




No

Franz
04-12-2007, 09:50 AM
Sorry, forgot to mention that we have a Quadro 2xi connecting to a Gateway attached to 2 BRI ISDN lines...I know the call routing works differently for the analogue units (there are other posts on this forum pertaining to those).

davrays
04-13-2007, 03:08 AM
Hi Franz,


Yes, you understood perfectly right.


The rules 1,2 and 5 are no problem, as they are for oputgoing calls only and are limited to "PBX" callers only.


But, I really don't see special rules for incoming calls in your table. The rules 1-6 are for outgoing calls and calls betweewn extensions.


Rules 7-12 are probably used for calling from Autoattendant.


I don't see from table, how you recieve incoming calls.


From what you have written, I can suppose your incoming calls are recieved from ISDN GW. If you use default configuration of ISDN GW, all incoming calls are routed from ISDN GW to your 2x "00" extension, which is the autoattendant. So, please, try to just add a routing rule with pattern "00", NDS = 2, Prefix = 30 and CAll Type = PBX, and of course, set this rule to work during a/hours only. This should route all calls done to "00" during that hours to ext 30. If it doesn't work by some reason, please try to set "Route all incoming calls to routing" checkbox.


And please post here on results :)


Thanks,


DVR

becike
05-12-2007, 08:17 AM
Hi,

I am also trying to set the PBX to work with out of office hours.
So, we have incoming calls coming in on two ISDN2 BRI lines (4 channels), and a few SIP PSTN accounts.
I also use MSN on the ISDN as we have 10 phone numbers.
Currently, if someone rings our main ISDN line (ending in 90), the MSN is set to ring extension 32.
What I would like to do, is that this only happens in office hours, and out of office hours the incoming calls go to either 00 (attendant) or the voicemail for extension 32.
I tried to play around with call routing based on the above post, but was unuccesful.
Any ideas?

Regards,

Bela