Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

Installation de Asterisk

apt-get install asterisk

installation des packets en francais


apt-get install asterisk-prompt-fr-armelle

configuration du SIP.conf pour la declaration de nos users

nano /etc/asterisk/sip.conf

declaration du MENU principal de SIP.CONF


[general]
context=local
bindport=5060
binaddr=0.0.0.0
language=fr

declaration de Users
[John]
secret=1234
callerid='John' <200>
context=local
mailbox=200@default
type=friend
host=dynamic

[Fred]
secret=1234
callerid='fred' <201>
context=local
mailbox=201@default
type=friend
host=dynamic

[mike]
secret=1234
callerid='mike' <202>
context=local
mailbox=202@default
type=friend
host=dynamic

[Nicole]

secret=1234
callerid='Nicole' <203>
context=local
mailbox=202@default
type=friend
host=dynamic

configuration de Extension.con ou plan de numerotation

nano /etc/asterisk/extension.conf
[local]
exten => 200,1,Dial(SIP/John,10)
exten => 200,2,voiceMail(200)
exten => 201,1,Dial(SIP/Fred,10)
exten => 201,2,voiceMail(201)

exten => 202,1,Dial(SIP/Mike,10)


exten => 202,2,voiceMail(202)

exten => 203,1,Dial(SIP/Nicole,10)


exten => 203,2,voiceMail(203)

extern => 205,1 Dial(SIP/John,10)


extern => 205,2 Dial(SIP/Fred,10)
extern => 205,3 Goto(local,205,1)

extern => 206,1 Dial(SIP/Mike&SIP/Nicole,10)

extern => 210,1 Goto(Memu,s,1)

extern => 211,1 Answer


extern => 211,2,SayUnixTime(CET,AdbY\'digits/at\'kM)
extern => 211,3,Wait(3)
extern => 211,4,Goto(local,211,2)

extern => 212,1,Answer


extern => 212,2,Playback(demo-echotest)
extern => 212,3,Echo()

extern => 300,1,VoiceMailMain()

configuration de la messagerie Vocale

nano /etc/asterisk/voicemail.conf

[general]
format=gsm
attach=yes

[defaut]
200 => 1234
201 => 1234
202 => 1234
203 => 1234

You might also like