Bem consegui resolver o problema.
vou postar minhas configs do asterisk, para que todos entendam integrei o asterisk com a minha central telefonica panasonic TDE 600 e o lync
[general]
context=default ; Default context for incoming calls
allowoverlap=no ; Disable overlap dialing support. (Default is yes)
udpbindaddr=0.0.0.0 ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
bindport=5060
bindaddr=0.0.0.0
tcpenable=yes ; Enable server for incoming TCP connections (default is no)
tcpbindaddr=0.0.0.0 ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
notifyhold = yes ; Notify subscriptions on HOLD state (default: no)
[Lync_Trunk]
type=friend
port=5069
qualify=yes
host=xxx.xxx.xxx.xxx
dtmfmode=rfc2833
qualify=yes
transport=tcp
[panasonic] ; A locally attached SIP extension
type=friend
callerid=1002
canreinvite=no
dtmfmode=rfc2833
mailbox=1002
disallow=all
allow=alaw
allow=ulaw
transport=udp
secret=password
host=dynamic
context=default
qualify=yes
extensions.conf
[general]
[globals]
[default]
exten => _+XX.,1,Set(CALLERID(num)=${CALLERID(num):1:11})
exten => _+XX.,n,Goto(${EXTEN:1},1)
exten => _2102XXXX,1,Dial(sip/Lync_Trunk/${EXTEN})
exten => _2102XXXX,n,Hangup
exten => _X.,1,Set(CALLERID(number)=5121011300)
exten => _X.,2,Dial(SIP/${EXTEN}@1002,,tr)
[panasonic]
exten => _2102XXXX,1,Dial(sip/Lync_Trunk/${EXTEN})
exten => _2102XXXX,n,Hangup
exten => _X.,1,Set(CALLERID(number)=5121011300)
exten => _X.,2,Dial(SIP/${EXTEN}@1002,,tr)