[QUOTE=therebel23;12302]Pas trop de questions à la fois stp ..

SSH : oui c'est plus simple pour bosser à distance
DNS : pas d'interet
DHCP : pas d'interet dans un premier temps

Ensuite, fais et tape extactement ça (en SSH ou pas comme tu veux) :

1)
Code:
asterisk -r -vvvvvvvvvv
2) Ferme X-Lite

3) Ré-ouvre X-Lite

4) Copie-colle l'affichage que tu vois dans la CLI[/QUO

voici ce que le CLI m affiche

ir@ir-ThinkPad-T61:~$ sudo su
[sudo] password for ir:
root@ir-ThinkPad-T61:/home/ir# cd
root@ir-ThinkPad-T61:~# asterisk -r
Asterisk 1.8.11-cert7, Copyright (C) 1999 - 2012 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
================================================== =======================
Connected to Asterisk 1.8.11-cert7 currently running on ir-ThinkPad-T61 (pid = 2688)
Verbosity is at least 10
ir-ThinkPad-T61*CLI>

et mo fichier extensions.conf est

[general]
static=yes
writeprotect=yes
autofallthrough=yes
clearglobalvars=yes
externpatternmatchnew=yes
;userscontext=default; extensions.conf - the Asterisk dial plan

[global]
srv_mysql=127.0.0.1
srv_usr=root
svr_password=celestin
srv_base=uvt

[default]
extern=>_X.,1,Goto(i,i)
extern=>_X.,1,NoOp|id}
extern= 1,n,Congestion()
extern=>_1,n,Hangup()
extern=> n,1,NoOp|Hanging up)

[context-local-uvt]
extern=>_4xx,1,set(TIMEOUT[absolute]=60)
extern=>_4xx,n,DIAL(SIP/${EXTRN})
extern=>_5xx,1,DIAL(IAX2/GO/$(EXTERN)

et SIP.CONF est

[general]
context=default
port=5060
bindaddr=0.0.0.0
srvlookup=yes

[400]
secret=100
type=friend
nat=no
host=dynamic
callerid="standard UVT" <400>
context=contest-local-uvt

[401]
secret=100
type=friend
nat=no
host=dynamic
callerid="standard UVT" <400>
context=contest-local-uvt