Avaya side:
remember that you need SIP trunk licenses to enable sip trunking on avaya...
STEP 1:
First of all create the SIP trunk on avaya:

ITSP Domain and IP address is the SwyxServer Ip Address
The prefix fields must be empty
Remember to change the send port to 65002.
STEP 2:

In the sip uri part, configure as follow, to let avaya accept the any kind of uri sent by Swyx.
The incoming/outgoing Group are used to configure incoming/outgoing routing in Avaya, so, please fell free to use a number u wish ;)
STEP 3:

The Voip tab is where u set the codec, and the T.38 feature. The Fax Transport Support flag enables only if Re-Invite Support option is flagged.
STEP 4:

Configure as follow for a correct fax send/receive.
The Credential Tab must be empty.
Now it's time to configure the line on Swyx. Create a customized Sip Trunk, with no registration required.
STEP 1:
Configure the profile as follow:

The usage of Dial as PBX user allows Avaya to handle correctly the redial feature for internal calls between Avaya and Swyx.
In the outbound called party number replacement table, I needed to add a +39* ---> * replacement, because Avaya put a +39 in front of the called party numer too.
STEP 2:

Proxy and realm are the Avaya IP address.
STEP 3:

Configure the route with the desired numbers that need to be forwarded to avaya.
STEP 4:

This part tells the trunk to accept all incoming uri, to easly handle incoming calls. you could also add one uri, for each internal swyxuser/public number).
In the channel tab, select g.729 and T.38.
STEP 5:

Here u configure the public number that u want to use on swyx, and that are forwarded by avaya. to have a simple handling, I've used the Canonical with plus format (the 39 in the country code), so that I will have a +390698968895 mapped on a user. U don't see any area code because in Italy we don't have that XD.
Swyx part is finished. Now back to avaya <.< :
First of all u have to create a Short Code to route the internal calls from avaya to swyx. In swyx I've used a 7* numbering plan, so the short code looks like this:

The translation of that coud would be: "All numbers starting with 7, are dialed as they are ( the . means redial oll the digits), using the line group ID, previewiously configured on the line.
After applying this configuratio you will now be able to call swyx users, presenting the name, and the internal number.
Now we have to configure the routing for incoming calls from the pstn, directly to swyx (I could use swyx, for example, to handle pstn calls with the ecr).
First, we have to create another Short Code, to send the call to the Swyx SIP trunk:

This short code says that as soon as the system receive a call to *79N (we'll use it in a second), where N is a wild card, dial the N number (u will see that this is the extension), with a +3906989688 (that would be the root of my DDI) in front , using line 20 (Swyx SIP Trunk).
After this, we configure the incoming route for avaya:

This part set a kind of filter, for incoming calls (this incoming call router are used for avaya just to handle phone calls from lines, so just from PSTN), that says something like:
"if a call to the related incoming number, coming from the line id 17 accours, go to the destination tab".

So, the destination will be *7995 that is the short code that we've previewiously created. U'll notice that the short code is *79N, that means that it will accept anything that contains, from left to right a *79.
At this point, just create as many incoming call routes as the DDIs you're willin' to forward to swyx.
Same thing can be, of course done with MSN.
Long blog, sorry, but didn't know how to put Thumbnail XD
Hope this little tutorial could help someone ^^
Have a nice day everyone =P