Bonjour,
c'est la première fois que j'essaye asterisk,
j'ai fait un petit test :
Serveur Asterisk : PC Linux 192.168.3.50 +ekiga
PC Win7 + xlite : 192.168.3.1
J'ai "Registration error 405" sur xlite et le message d'erreur "Could not register (Method not allowed)" sur ekiga.
Ma configuration doit etre mauvaise.
J'ai laissé tout le texte par défaut dans les fichier de conf (il faut ou pas ?)
et j'ai ajouter ceci :
sip.conf
Code:
;------------------------------------------UTILISATEURS------------------------------------
;------------------------------------------------------------------------------------------
[usersip]
;------------------------------------------------------------------------------------------
username=usersip
secret=usersip
type=friend
context=default ; Where to start in the dialplan when this phone c
callerid=usersip <111> ; Full caller ID, to override the phones config
; on incoming calls to Asterisk
host=192.168.3.50 ; we have a static but private IP address
; No registration allowed
nat=no ; there is not NAT between phone and Asterisk
mailbox=111@default ; mailbox 1234 in voicemail context "default"
;----------------------------------------------------------------------------------------
[totosip]
;----------------------------------------------------------------------------------------
username=totosip
secret=usersip
type=friend
context=default ; Where to start in the dialplan when this phone c
callerid=totosip <222> ; Full caller ID, to override the phones config
; on incoming calls to Asterisk
host=192.168.3.1 ; we have a static but private IP address
; No registration allowed
nat=no ; there is not NAT between phone and Asterisk
mailbox=222@default ; mailbox 1234 in voicemail context "default"
extensions.conf
Code:
[default]
;
; By default we include the demo. In a production system, you
; probably don't want to have the demo there.
;
include => demo
;------------------ROUTAGE DES APPELS LOCAUX-------------------------------
exten => 111,1,Dial(SIP/usersip,10)
exten => 222,1,Dial(SIP/totosip,10)
Pouvez vous m'expliquer ce qu'il ne va pas SVP ?
Merci !