ghostrider95
26/03/2011, 11h10
Bonjour à tous,
j'éssaye de configurer mon répondeur sur asterisk mais ça ne semble pas vouloir fonctionner correctement, mes fichiers qui rentre en comptes sont voicemail.conf, extension.conf, sip.conf et chan_dahdi.conf, voici mes fichiers:
voicemail.conf
;voicemail.conf
;################################ Messagerie Vocale ################################
[general]
format=wav49|gsm|wav
servermail=asterisk
attach=yes
skipms=3000
maxsilence=10
silencethreshold=128
maxlogins=3
emaildateformat=%A, %B, %d, %Y at %r
pagerdateformat=%A, %B, %d, %Y at %r
sendvoicemail=yes
[zonemessages]
eastern=America/New_york|'vm-received' Q 'digits/at' IMp
central=America/Chicago|'vm-received' Q 'digits/at' IMp
central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours'
military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p'
european=Europe/Copenhagen|'vm-received' a b d 'digits/at' HM
[default]
500 => 9999 ,Tom Smith, ts@email.com
501 => 9999 ,john tedeor, jt@email.com
1000 => 9999 , caca caca, jt@email.com
extension.conf
[internal]
exten => 500,1,Answer()
exten => 500,2,dial(DAHDI/1/20)
exten => 500,3,Voicemail(500@default)
exten => 501,1,Answer()
exten => 501,2,dial(DAHDI/2/20)
exten => 501,3,VoiceMail(501@default)
exten => 502,1,dial(DAHDI/3/20)
exten => 502,2,echo()
[internal]
exten => 1000,1,Answer()
exten => 1000,2,dial(SIP/1000/20)
exten => 1000,2,VoiceMail(1000@default)
[internal]
exten => 2000,1,dial(OOH323/2000,20,tr)
sip.conf
[general]
dtmfmode=rfc2833
context=default
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
[1000]
username=1000
context=internal
callerid="1000" <1000>
type=friend
host=dynamic
dtmfmode=rfc2833
secret=1000
mailbox=1000@default
chan_dahdi.conf
;
; DAHDI telephony
;
; Configuration file
[channels]
language=fr
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
callerid=asreceived
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
;echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
;FXS Modules
callerid="500" <500>
signalling=fxo_ks
context=internal
channel => 1
mailbox=500@default
;FXS Modules
callerid="501" <501>
context=internal
signalling=fxo_ks
channel => 2
mailbox=501@default
;FXS Modules
callerid="502" <502>
context=internal
signalling=fxo_ks
channel => 3
;FXO Module
signalling=fxs_ks
context=incoming
channel => 4
Je dois avouer que j'ai des doutes sur la syntaxe de mon voicemail.conf*
quelqu'un pourrait m'aider?
merci
j'éssaye de configurer mon répondeur sur asterisk mais ça ne semble pas vouloir fonctionner correctement, mes fichiers qui rentre en comptes sont voicemail.conf, extension.conf, sip.conf et chan_dahdi.conf, voici mes fichiers:
voicemail.conf
;voicemail.conf
;################################ Messagerie Vocale ################################
[general]
format=wav49|gsm|wav
servermail=asterisk
attach=yes
skipms=3000
maxsilence=10
silencethreshold=128
maxlogins=3
emaildateformat=%A, %B, %d, %Y at %r
pagerdateformat=%A, %B, %d, %Y at %r
sendvoicemail=yes
[zonemessages]
eastern=America/New_york|'vm-received' Q 'digits/at' IMp
central=America/Chicago|'vm-received' Q 'digits/at' IMp
central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours'
military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p'
european=Europe/Copenhagen|'vm-received' a b d 'digits/at' HM
[default]
500 => 9999 ,Tom Smith, ts@email.com
501 => 9999 ,john tedeor, jt@email.com
1000 => 9999 , caca caca, jt@email.com
extension.conf
[internal]
exten => 500,1,Answer()
exten => 500,2,dial(DAHDI/1/20)
exten => 500,3,Voicemail(500@default)
exten => 501,1,Answer()
exten => 501,2,dial(DAHDI/2/20)
exten => 501,3,VoiceMail(501@default)
exten => 502,1,dial(DAHDI/3/20)
exten => 502,2,echo()
[internal]
exten => 1000,1,Answer()
exten => 1000,2,dial(SIP/1000/20)
exten => 1000,2,VoiceMail(1000@default)
[internal]
exten => 2000,1,dial(OOH323/2000,20,tr)
sip.conf
[general]
dtmfmode=rfc2833
context=default
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
[1000]
username=1000
context=internal
callerid="1000" <1000>
type=friend
host=dynamic
dtmfmode=rfc2833
secret=1000
mailbox=1000@default
chan_dahdi.conf
;
; DAHDI telephony
;
; Configuration file
[channels]
language=fr
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
callerid=asreceived
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
;echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
;FXS Modules
callerid="500" <500>
signalling=fxo_ks
context=internal
channel => 1
mailbox=500@default
;FXS Modules
callerid="501" <501>
context=internal
signalling=fxo_ks
channel => 2
mailbox=501@default
;FXS Modules
callerid="502" <502>
context=internal
signalling=fxo_ks
channel => 3
;FXO Module
signalling=fxs_ks
context=incoming
channel => 4
Je dois avouer que j'ai des doutes sur la syntaxe de mon voicemail.conf*
quelqu'un pourrait m'aider?
merci