[Asterisk-Users] How to handle one incoming call on multiple lines?

Greg Oliver goliver at cistera.com
Wed Jun 8 13:26:55 MST 2005


We use it like this if that is what you are looking for:

exten => s,4,GotoIfTime(8:30-17:00|mon-fri|*|*?open,s,1)

-Greg

On Wed, 2005-06-08 at 11:24 -0400, Henry Coleman wrote:
> This feature is called  "attendant - night answer position". Is it not 
> possible to switch the incoming call to an alternate extension based on 
> time of day ?
> 
> Henry
> 
> Florian Overkamp wrote:
> 
> >Hi, 
> >
> >  
> >
> >>-----Original Message-----
> >>Thanks, but it isn't an option because the Telco is actually 
> >>connected to
> >>a PBX which is connected to Asterisk which should act as a intelligent
> >>answering device during non-office hours. The PBX isn't 
> >>capable of doing
> >>this. Any other option?
> >>    
> >>
> >
> >Hmm, this is a bit of a hack, but it might suit your needs:
> >
> >- Make sure each of those lines goes into a different extension or context
> >- Add a delay on each line, like this:
> >
> >exten = line1,1,Do stuff
> >
> >exten = line2,1,Wait(2)
> >exten = line2,1,Do stuff
> >
> >exten = line3,1,Wait(4)
> >exten = line3,1,Do stuff
> >
> >exten = line4,1,Wait(6)
> >exten = line4,1,Do stuff
> >
> >Could this help your case ?
> >
> >Florian
> >
> >
> >_______________________________________________
> >Asterisk-Users mailing list
> >Asterisk-Users at lists.digium.com
> >http://lists.digium.com/mailman/listinfo/asterisk-users
> >To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> >  
> >
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list