<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">hi i have to create voicemail for exten 2000. below is dial plan which i made.<BR><BR>1 - exten 2000 should receives incoming call from channel<BR><BR>2 - if exten 2000 dosent receives call in 15 secs message should be stored in voicemail<BR><BR>here r the voicemail,sip, extension.conf<BR><BR>##########################<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>#####<BR><BR>voicemail.conf<BR>[general]<BR>format = wav<BR>attach = yes<BR><BR>[default]<BR>; Syntax for new entries looks like this:<BR>; MailboxNumber => password,name,e-mail,pager<WBR>,options<BR>; (usually, the MailboxNumber is the same as the Extension)<BR>2000 => 1234,ABC <BR>2001 =>
1234,DEF<BR><BR><BR>##########################<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>####<BR><BR>vi /etc/asterisk/sip.conf<BR><BR>[general]<BR>port = 5060<BR>bindaddr = 0.0.0.0<BR>context = others<BR><BR>[200]<BR>type=friend<BR>context=voicemail<BR>secret=1234<BR>host=dynamic<BR><BR>[201]<BR>type=friend<BR>context=voicemail<BR>secret=1234<BR>host=dynamic<BR><BR>##########################<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>#####<BR><BR><BR>vi /etc/asterisk/extensions.c<WBR>onf<BR><BR><BR>[from-zaptel]; plz check zapata.conf<BR><BR>exten => s,1,wait(2)<BR>exten => s,n,dial(sip/2000,15)<BR> <BR>exten => 1,1,goto(voicemail,200,1)<BR><BR><BR>[voicemail]<BR>exten => 2000,1,Dial(SIP/200,20)<BR>exten => 2000,2,VoiceMail(200,u)<BR><BR>exten => 2001,1,Dial(SIP/201,20)<BR>exten =>
2001,2,VoiceMail(201,u)<BR><BR>exten => 2999,1,VoiceMailMain(${CAL<WBR>LERID(num)<WBR>},s) ; by 2999 voicemail can be heard.<BR><BR>##########################<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>#####<BR><BR>vi /etc/asterisk/zaptel.conf<BR><BR>[root@localhost ~]# vi /etc/zaptel.conf<BR>#autogenerated by /usr/sbin/wancfg_zaptel do not hand edit<BR>#autogenrated on 2010-02-09<BR>#Zaptel Channels Configurations<BR>#For detailed Zaptel options, view /etc/zaptel.conf.bak<BR>loadzone=us<BR>defaultzone=us<BR><BR><BR>#Sangoma USB U100 [bus:2-3 span:1] <wanpipe1><BR>fxsks=1<BR>fxsks=2<BR>~<BR><BR>##########################<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>#########<BR><BR><BR>vi /etc/asterisk/zapata.conf<BR><BR>;autogenerated by /usr/sbin/wancfg_zaptel do not hand edit<BR>;autogenrated
on 2010-02-09<BR>;Zaptel Channels Configurations<BR>;For detailed Zaptel options, view /etc/asterisk/zapata.conf.<WBR>bak<BR><BR>[trunkgroups]<BR><BR>[channels]<BR>context=default<BR>usecallerid=yes<BR>hidecallerid=no<BR>callwaiting=yes<BR>usecallingpres=yes<BR>callwaitingcallerid=yes<BR>threewaycalling=yes<BR>transfer=yes<BR>canpark=yes<BR>cancallforward=yes<BR>callreturn=yes<BR>echocancel=yes<BR>echocancelwhenbridged=yes<BR>relaxdtmf=yes<BR>rxgain=0.0<BR>txgain=0.0<BR>group=1<BR>callgroup=1<BR>pickupgroup=1<BR>immediate=no<BR><BR><BR>;Sangoma AU100 [slot:0 bus: span:1] <wanpipe1><BR>context=from-zaptel<BR>group=0<BR>signalling = fxs_ks<BR>channel => 1<BR><BR>context=from-zaptel<BR>group=0<BR>signalling = fxs_ks<BR>channel => 2<BR><BR><BR>##########################<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>##########<WBR>######<BR><BR><BR>by this dial
plan its not working.</td></tr></table><br>
<!--1--><hr size=1></hr>
Your Mail works best with the New Yahoo Optimized IE8. <a href="http://in.rd.yahoo.com/tagline_ie8_new/*http://downloads.yahoo.com/in/internetexplorer/" target="_blank">Get it NOW!</a>.