<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Perfect! Thanks<br><br>> Date: Fri, 15 Apr 2011 08:21:48 -0400<br>> From: support@drdos.info<br>> To: asterisk-users@lists.digium.com<br>> Subject: Re: [asterisk-users] If voice mail not found dialplan<br>> <br>> Satish Patel wrote:<br>> > want it say "person doest have vm setup yet." smthing like that. How <br>> > should I handle this in my dialplan ? <br>> <br>> Here is a snippet of what I do:<br>> <br>> <br>> [s-NOANSWER]<br>> <br>> exten => s,1,Gosub(mailbox_exist,s,1)<br>> <br>> <br>> [mailbox_exist]<br>> <br>> exten => s,1,Set(_direct_vm=${ARG1})<br>> exten => s,n,MailboxExists(${direct_vm}@sip)<br>> exten => s,n,Goto(s-${VMBOXEXISTSSTATUS},1)<br>> exten => s-FAILED,1,Answer()<br>> exten => s-FAILED,n,Wait(1)<br>> exten => s-FAILED,n,Playback(vm-theperson)<br>> exten => s-FAILED,n,SayDigits(${direct_vm})<br>> exten => s-FAILED,n,Playback(vm-nobox)<br>> exten => s-FAILED,n,Set(CONNECTEDLINE(all)="Operator" <4100>)<br>> exten => s-FAILED,n,Set(CALLERID(name)="No Mailbox")<br>> exten => s-FAILED,n,Playback(pbx-transfer)<br>> exten => s-FAILED,n,Goto(incoming,s,1)<br>> <br>> <br>> Doug<br>> <br>> -- <br>> <br>> Ben Franklin quote:<br>> <br>> "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."<br>> <br>> <br>> --<br>> _____________________________________________________________________<br>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> New to Asterisk? Join us for a live introductory webinar every Thurs:<br>> http://www.asterisk.org/hello<br>> <br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br>                                            </body>
</html>