Same trunk forwarding

I have a sip trunk between FreePbx and Avaya IPOffice on same lan ( I can manage both at my needs)
FreePBX extension 5004 call the Avaya 402 extension that is forwarded to FreePBX extension 5007
Monitoring Avaya pbx I receive a 401 Unauthorized msg:

SIP Rx: UDP FreePBX_IP:5060 -> Avaya_IP:5060
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP Avaya_IP:5060;branch=z9hG4bK0951972f51a2fb5a52f5da52975977b4;received=Avaya_IP;rport=5060
From: “FedeFree” < sip:5004@FreePBX_IP>;tag=3ca5532ec1a7c2fd
To: < sip:5007@FreePBX_IP>;tag=as221c0836
Call-ID: 2cb066746995e02c145c7e9ea50f7d0b@Avaya_IP
CSeq: 2059843461 INVITE
Server: FPBX-12.0.50.1(13.2.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="0611e862"
Content-Length: 0

FreePBX trunk config :

disallow=all
allow=ulaw
host=Avaya_IP
type=friend
qualify=yes
context=from-internal

Any hint please ?