[Asterisk-Users] Delayed ringing on some SIP phones

Rich Adamson radamson at routers.com
Mon Oct 17 01:50:46 MST 2005


> One of the buildings I have an asterisk box deployed in is used by two small
> companies on two floors. They have an agreement between them whereby they'll
> answer each other's incoming calls and take messages if the office is empty
> / everyone is on the phone.
> 
> Each of them has an  ISDN BRI delivered to asterisk via zaphfc, then dropped
> into a context as follows:
> exten => s,1,SetCIDName(Company 1)
> exten => s,2,Dial(SIP/200&SIP/201&etc.,30)
> exten => s,3,Voicemail(su200)
> 
> Each company is able to see on the LCD on their SIP phones whether the call
> is for them or the folks up/downstairs.
> 
> What I'd like to do is implement a delayed ringing strategy - i.e. if the
> call comes in for Company 1, only their SIP phones will ring for the first
> 15 seconds, then if there's not been an answer, company 2's SIP phones will
> also start ringing.
> 
> Is there any way to do this without stopping Company 1's phones ringing
> (i.e. timing out the dial statement after 15 seconds)?

Either this is a very simple question or I'm missing something...

Wouldn't something like this work for you?

[incoming-bri-one]
exten => s,1,SetCIDName(Company 1)
exten => s,2,Dial(SIP/200&SIP/201&etc.,15) ; comapny 1's phones
exten => s,3,Dial(SIP/200&SIP/201&SIP/300&SIP/301&etc.,15) ; company 1's & 2's phones
exten => s,4,Voicemail(su200)

[incoming-bri-two]
exten => s,1,SetCIDName(Company 2)
exten => s,2,Dial(SIP/300&SIP/301&etc.,15) ; company 2's phones
exten => s,3,Dial(SIP/300&SIP/301&SIP/200&SIP/201&etc.,15) ; comapny 2's & 1's phones
exten => s,4,Voicemail(su300)





More information about the asterisk-users mailing list