[asterisk-users] DND - message

Andrew Joakimsen joakimsen at gmail.com
Thu Jan 18 15:52:16 MST 2007


Well now that I look into it, if you disable the call waiting the
response is 486 busy here. If you use the DND it is the same response,
so there's no way to do phone-side DND and correctly report the
voicemail state.

But the Aastra phones do support the selection, which IMO should be
603 decline when the phone is in DND. I suppose the RFC isnt exactly
clear but I don't think Asterisk's internal call handeling should be
considered "another endpoint"


On 1/18/07, Klaverstyn, David C <David.Klaverstyn at intergraph.com> wrote:
>
>
>
>
> 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
> _______________________________________________
> --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
>
>
>


More information about the asterisk-users mailing list