[asterisk-users] DND - message

Klaverstyn, David C David.Klaverstyn at intergraph.com
Wed Jan 17 22:52:05 MST 2007


Is there any reason why you could not do this?

 

exten => 123,1,Dial(SIP/123)

exten => 123,n,Goto(s-${DIALSTATUS},1)

exten => 123,n,HangUp

 

exten => s-NOANSWER,1,Voicemail(u123)

exten => s-NOANSWER,2,Hangup

 

exten => s-BUSY,1,Voicemail(b123)

exten => s-BUSY,2,Hangup

 

 

Or you could have pr-recorded messages in there before going to
Voicemail like

 

exten => s-BUSY,1,Backgroud(busy-call-back-ltr)  ; If you had this sound
file.

.

.

.

.

exten => s-BUSY,n,Voicemail(b123)

exten => s-BUSY,n,Hangup

 

 

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Andrew
Joakimsen
Sent: Thursday, 18 January 2007 3:25 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] DND - message

 

I had been wondering the same thing, I haven't really found any useful

information.

I use:

 

exten => 123,1,Dial(SIP/123)

exten => 123,2,Voicemail(u123)

exten => 123,102,Voicemail(b123)

 

If you set DND on the SIP phone usually it sends 486 busy here and

jumps to 102. If you reject the call it usually sends 603 decline. Is

there any way to get this value into the dialplan?

 

I know you can avoid the "on the phone" message when the phone is not

registered by using regexten.

_______________________________________________

--Bandwidth and Colocation provided by Easynews.com --

 

asterisk-users mailing list

To UNSUBSCRIBE or update options visit:

   http://lists.digium.com/mailman/listinfo/asterisk-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070117/99071539/attachment.htm


More information about the asterisk-users mailing list