los archivos mas importantes son
extension.conf
[general]
static=yes
writeprotect=yes
[default]
include => interno
[interno]
;extensiones SIP
exten => 2000,1,Dial(SIP/2000,30,Ttr)
exten => 2001,1,Dial(SIP/2001,30,Ttr)
exten => 2002,1,Dial(SIP/2002,2,Ttr)
exten => 2004,1,Dial(SIP/2004,30,Ttr)
exten => 2005,1,Dial(SIP/2005,30,Ttr)
exten => 2002,2,Voicemail(u2002)
exten => 2002,3,HangUp
exten => 2002,102,Voicemail(b2002)
exten => 2002,103,HangUp
exten => 2003,1,Dial(SIP/2003,30,Ttr)
exten => 2005,3,HangUp
exten => 2005,102,Voicemail(b2002)
exten => 2005,103,HangUp
~
sip.conf
[general]
bindport=5060
context=default
Bindaddr=0.0.0.0
[2000]
type=friend
fromuser=2000
username=2000
secret=suse
mailbox=2000@interno
canreinvite=Yes
host=dynamic
dtmfmode=rfc2833
context=interno
insecure=very
nat=Yes
qualify=Yes
[2001]
type=friend
fromuser=2001
username=2001
secret=suse
mailbox=2001@interno
canreinvite=Yes
host=dynamic
dtmfmode=rfc2833
context=interno
insecure=very
nat=Yes
qualify=Yes
[2002]
type=friend
fromuser=2002
username=2002
secret=suse
mailbox=2002@interno
canreinvite=Yes
host=dynamic
dtmfmode=rfc2833
context=interno
insecure=very
nat=Yes
qualify=Yes
No hay comentarios:
Publicar un comentario