[Asterisk-Users] Delayed ringing on some SIP phones
brett at websmyths.com
brett at websmyths.com
Mon Oct 17 01:01:50 MST 2005
On 10/17/2005, "Chris Bagnall" <asterisk at minotaur.cc> wrote:
> Hello all,
>
> 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)?
Bingo! You got it! Timeout the dial after X seconds - and then do a Dial
to both companies for another another X seconds.
Remember - busy does a jump to n+101 (some one is there...) and
unavailable
just goes to the next step.
Brett
More information about the asterisk-users
mailing list