[asterisk-users] how to create voicemail
cool dude
cool_dudeoflko at yahoo.co.in
Sat Feb 13 14:59:54 CST 2010
hi i have to create voicemail for exten 2000. below is dial plan which i made.
1 - exten 2000 should receives incoming call from channel
2 - if exten 2000 dosent receives call in 15 secs message should be stored in voicemail
here r the voicemail,sip, extension.conf
###########################################################################################
voicemail.conf
[general]
format = wav
attach = yes
[default]
; Syntax for new entries looks like this:
; MailboxNumber => password,name,e-mail,pager,options
; (usually, the MailboxNumber is the same as the Extension)
2000 => 1234,ABC
2001 => 1234,DEF
##########################################################################################
vi /etc/asterisk/sip.conf
[general]
port = 5060
bindaddr = 0.0.0.0
context = others
[200]
type=friend
context=voicemail
secret=1234
host=dynamic
[201]
type=friend
context=voicemail
secret=1234
host=dynamic
#########################################################################################################################
vi /etc/asterisk/extensions.conf
[from-zaptel]; plz check zapata.conf
exten => s,1,wait(2)
exten => s,n,dial(sip/2000,15)
exten => 1,1,goto(voicemail,200,1)
[voicemail]
exten => 2000,1,Dial(SIP/200,20)
exten => 2000,2,VoiceMail(200,u)
exten => 2001,1,Dial(SIP/201,20)
exten => 2001,2,VoiceMail(201,u)
exten => 2999,1,VoiceMailMain(${CALLERID(num)},s) ; by 2999 voicemail can be heard.
###########################################################################################
vi /etc/asterisk/zaptel.conf
[root at localhost ~]# vi /etc/zaptel.conf
#autogenerated by /usr/sbin/wancfg_zaptel do not hand edit
#autogenrated on 2010-02-09
#Zaptel Channels Configurations
#For detailed Zaptel options, view /etc/zaptel.conf.bak
loadzone=us
defaultzone=us
#Sangoma USB U100 [bus:2-3 span:1] <wanpipe1>
fxsks=1
fxsks=2
~
#############################################################################################################################
vi /etc/asterisk/zapata.conf
;autogenerated by /usr/sbin/wancfg_zaptel do not hand edit
;autogenrated on 2010-02-09
;Zaptel Channels Configurations
;For detailed Zaptel options, view /etc/asterisk/zapata.conf.bak
[trunkgroups]
[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
;Sangoma AU100 [slot:0 bus: span:1] <wanpipe1>
context=from-zaptel
group=0
signalling = fxs_ks
channel => 1
context=from-zaptel
group=0
signalling = fxs_ks
channel => 2
##########################################################################################################################
by this dial plan its not working.
Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100214/1492ab0b/attachment.htm
More information about the asterisk-users
mailing list