[Asterisk-Users] divert if not here

steve at daviesfam.org steve at daviesfam.org
Tue Oct 12 02:29:25 MST 2004



On Tue, 12 Oct 2004, Altus Syman wrote:

> Good day all
> We have a pbx system running sip and sipphone(Bughtone)
> My question is.If a user is not at their desk,how do I tell it if a call 
> comes in it should direct it to someone else
> Do I need a different phone for this?The only other way is that they 
> have to switch it off and in my dialplan on stem 2 I will have to say go 
> to that user?
> Please give advice on this
> Thaks
> Altus

Hi Altus,


Normally you would have your Dial() call just ring the phone for a limited 
time.  For example Dial(SIP/12345,20) would ring the phone for 20 seconds.
Asterisk will then carry on with the next step and you can do something 
else.

So:

  exten => 6001,1,Dial(SIP/6001,20)
  exten => 6001,2,Voicemail(u6001)

Will ring the phone for 20 seconds, then send the call to Voicemail, 
playing the "unavailable" message.

There are lots of other examples on http://www.voip-info.org/ I am sure.

Regards,
Steve Davies




More information about the asterisk-users mailing list