Ci joint le fichier users.conf (je travaille à partir d'ASTERISK-GUI).
Code:
[general]
fullname = New User
userbase = 6000
hasvoicemail = yes
vmsecret = 1234
hassip = yes
hasiax = yes
hasmanager = no
callwaiting = yes
threewaycalling = yes
callwaitingcallerid = yes
transfer = yes
canpark = yes
cancallforward = yes
callreturn = yes
callgroup = 1
pickupgroup = 1
language = fr
[span_1]
group = 1
hasexten = no
signalling = bri_cpe
trunkname = Span 1
trunkstyle = digital ; GUI metadata
hassip = no
hasiax = no
pridialplan = undefined
prilocaldialplan = undefined
context = DID_span_1
dahdichan = 1-2
[6000]----> poste analogique à travers un boîtiet ATA
username = 6000
transfer = yes
mailbox = 6000
call-limit = 100
type = peer
fullname = Accueil
registersip = no
host = dynamic
callgroup = 1
type = peer
context = DLPN_PlandeNum1
cid_number = 6000
hasvoicemail = no
vmsecret =
email =
threewaycalling = no
hasdirectory = no
callwaiting = no
hasmanager = no
hasagent = no
hassip = yes
hasiax = no
secret =
nat = no
canreinvite = no
dtmfmode = rfc2833
insecure = no
pickupgroup = 1
macaddress = 6000
autoprov = yes
label = 6000
linenumber = 1
LINEKEYS = 1
callcounter = yes
disallow = all
allow = ulaw,gsm
[6002]----> poste analogique direct sur fxs
username = 6002
transfer = yes
mailbox = 6002
call-limit = 100
type = peer
fullname = Secretaire
registersip = no
host = dynamic
callgroup = 1
type = peer
context = DLPN_PlandeNum1
cid_number = 6002
hasvoicemail = no
vmsecret =
email =
threewaycalling = no
hasdirectory = no
callwaiting = no
hasmanager = no
hasagent = no
hassip = no
hasiax = no
secret =
nat = yes
canreinvite = no
dtmfmode = rfc2833
insecure = no
pickupgroup = 1
signalling = fxo_ks
flash = 750
rxflash = 1250
autoprov = no
label =
macaddress =
linenumber = 1
LINEKEYS = 1
callcounter = yes
dahdichan = 17
disallow = all
allow = ulaw,gsm
[span_2]
group = 3
hasexten = no
signalling = bri_cpe
trunkname = Span 2
trunkstyle = digital ; GUI metadata
hassip = no
hasiax = no
pridialplan = national
prilocaldialplan = national
context = DID_span_2
dahdichan = 4-5
[6003]-------> poste AASTRA 6755i
username = 6003
transfer = yes
mailbox = 6003
call-limit = 100
type = peer
fullname = Mario
registersip = no
host = dynamic
callgroup = 1
type = peer
context = DLPN_PlandeNum1
cid_number = 6003
hasvoicemail = no
vmsecret =
email =
threewaycalling = no
hasdirectory = no
callwaiting = no
hasmanager = no
hasagent = no
hassip = yes
hasiax = no
secret = 1234
nat = no
canreinvite = no
dtmfmode = rfc2833
insecure = no
pickupgroup = 1
macaddress = 6003
autoprov = yes
label = 6003
linenumber = 1
LINEKEYS = 1
disallow = all
allow = ulaw,gsm
[6004]-------> poste AASTRA 6755i
username = 6004
transfer = yes
mailbox = 6004
call-limit = 100
type = peer
fullname = Polo
registersip = no
host = dynamic
callgroup = 1
type = peer
context = DLPN_PlandeNum1
cid_number = 6004
hasvoicemail = no
vmsecret =
email =
threewaycalling = no
hasdirectory = no
callwaiting = no
hasmanager = no
hasagent = no
hassip = yes
hasiax = no
secret = 1234
nat = no
canreinvite = no
dtmfmode = rfc2833
insecure = no
pickupgroup = 1
macaddress = 6004
autoprov = yes
label = 6004
linenumber = 1
LINEKEYS = 1
disallow = all
allow = ulaw,gsm
Message cli:
Code:
chan_sip.c:11794 transmit_register: Probably a DNS error for registration to 6004@dynamic, trying REGISTER again (after 20 seconds)
Concernant le tph physique qu'est ce que tu veux exactement ???